forked from Imagelibrary/binutils-gdb
2002-02-04 Elena Zannoni <ezannoni@redhat.com>
* gdbarch.sh: Add definitions for COFF_MAKE_MSYMBOL_SPECIAL and
ELF_MAKE_MSYMBOL_SPECIAL.
* gdbarch.c, gdbarch.h: Regenerate.
* arch-utils.c (default_elf_make_msymbol_special,
default_coff_make_msymbol_special): New functions.
* arch-utils.h (default_elf_make_msymbol_special,
default_coff_make_msymbol_special): Export.
* elfread.c (elf_symtab_read): Compile use of
ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
multiarched.
* coffread.c (coff_symtab_read): Ditto, for
COFF_MAKE_MSYMBOL_SPECIAL.
This commit is contained in:
@@ -975,10 +975,8 @@ coff_symtab_read (long symtab_offset, unsigned int nsyms,
|
||||
msym = prim_record_minimal_symbol_and_info
|
||||
(cs->c_name, tmpaddr, ms_type, (void *) (long) cs->c_sclass,
|
||||
sec, NULL, objfile);
|
||||
#ifdef COFF_MAKE_MSYMBOL_SPECIAL
|
||||
if (msym)
|
||||
COFF_MAKE_MSYMBOL_SPECIAL (cs->c_sclass, msym);
|
||||
#endif
|
||||
}
|
||||
if (SDB_TYPE (cs->c_type))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user