* mdebugread.h (ecoff_relocate_efi): Delete declaration.
* mdebugread.c (ecoff_relocate_efi): Delete function.
* objfiles.c (objfile_relocate): Delete #ifdef
MDEBUG_EFI_SYMBOL_NAME code.
+2004-10-31 Andrew Cagney <cagney@gnu.org>
+
+ * mdebugread.h (ecoff_relocate_efi): Delete declaration.
+ * mdebugread.c (ecoff_relocate_efi): Delete function.
+ * objfiles.c (objfile_relocate): Delete #ifdef
+ MDEBUG_EFI_SYMBOL_NAME code.
+
2004-10-31 Orjan Friberg <organ.friberg@axis.com>
Andrew Cagney <cagney@gnu.org>
SYMBOL_TYPE (s) = nodebug_func_symbol_type;
}
-/* Relocate the extra function info pointed to by the symbol table. */
-
-void
-ecoff_relocate_efi (struct symbol *sym, CORE_ADDR delta)
-{
- struct mdebug_extra_func_info *e;
-
- e = (struct mdebug_extra_func_info *) SYMBOL_VALUE (sym);
-
- e->pdr.adr += delta;
-}
-
/* Parse the external symbol ES. Just call parse_symbol() after
making sure we know where the aux are for it.
BIGEND says whether aux entries are big-endian or little-endian.
#include "coff/sym.h" /* Needed for PDR below. */
#include "coff/symconst.h"
-extern void ecoff_relocate_efi (struct symbol *, CORE_ADDR);
-
/* Specific information about a procedure. Architectures (ab)uses
this to save memory. */
SYMBOL_VALUE_ADDRESS (sym) +=
ANOFFSET (delta, SYMBOL_SECTION (sym));
}
-#ifdef MDEBUG_EFI_SYMBOL_NAME
- /* Relocate Extra Function Info for ecoff. */
-
- else if (SYMBOL_CLASS (sym) == LOC_CONST
- && SYMBOL_DOMAIN (sym) == LABEL_DOMAIN
- && strcmp (DEPRECATED_SYMBOL_NAME (sym),
- MDEBUG_EFI_SYMBOL_NAME) == 0)
- ecoff_relocate_efi (sym, ANOFFSET (delta,
- s->block_line_section));
-#endif
}
}
}