summaryrefslogtreecommitdiff
path: root/gdb/coffread.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-02-06 01:20:23 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-02-06 01:20:23 +0000
commit283899efa89904188926930f0383922e91cc49fd (patch)
tree27d7e4c1ad04caeb7e026febbf859679ff8f5d02 /gdb/coffread.c
parentac63e8606c012ce1148b9b5e83afb46204714a9b (diff)
downloadgdb-283899efa89904188926930f0383922e91cc49fd.tar.gz
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.
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r--gdb/coffread.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c
index d8c5527a4c9..97ca2e942c7 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -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))
{