forked from Imagelibrary/binutils-gdb
2004-10-30 Andrew Cagney <cagney@gnu.org>
* config/alpha/tm-alpha.h (MDEBUG_EFI_SYMBOL_NAME): Rename MIPS_EFI_SYMBOL_NAME. (mips_extra_func_info_t, mips_extra_func_info): Delete. (struct mdebug_extra_func_info): Replace struct alpha_extra_func_info and alpha_extra_func_info_t. * config/mips/tm-mips.h (MDEBUG_EFI_SYMBOL_NAME): Rename MIPS_EFI_SYMBOL_NAME. (struct mdebug_extra_func_info): Replace struct alpha_extra_func_info and alpha_extra_func_info_t. * objfiles.c, mips-tdep.c, mips-mdebug-tdep.c: Update. * mdebugread.c, alpha-mdebug-tdep.c:
This commit is contained in:
@@ -555,12 +555,13 @@ objfile_relocate (struct objfile *objfile, struct section_offsets *new_offsets)
|
||||
SYMBOL_VALUE_ADDRESS (sym) +=
|
||||
ANOFFSET (delta, SYMBOL_SECTION (sym));
|
||||
}
|
||||
#ifdef MIPS_EFI_SYMBOL_NAME
|
||||
#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), MIPS_EFI_SYMBOL_NAME) == 0)
|
||||
&& strcmp (DEPRECATED_SYMBOL_NAME (sym),
|
||||
MDEBUG_EFI_SYMBOL_NAME) == 0)
|
||||
ecoff_relocate_efi (sym, ANOFFSET (delta,
|
||||
s->block_line_section));
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user