mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-01 22:34:22 +08:00
* elfcode.h (elf_slurp_reloc_table_from_section): Don't canonicalize
ELF section symbols.
This commit is contained in:
parent
dd22970fb5
commit
f9cfae629f
@ -1,3 +1,8 @@
|
|||||||
|
2004-12-09 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
|
* elfcode.h (elf_slurp_reloc_table_from_section): Don't canonicalize
|
||||||
|
ELF section symbols.
|
||||||
|
|
||||||
2004-12-09 Ian Lance Taylor <ian@wasabisystems.com>
|
2004-12-09 Ian Lance Taylor <ian@wasabisystems.com>
|
||||||
|
|
||||||
* elfxx-mips.c (mips_elf_calculate_relocation): For R_MIPS_JALR,
|
* elfxx-mips.c (mips_elf_calculate_relocation): For R_MIPS_JALR,
|
||||||
|
@ -1293,11 +1293,7 @@ elf_slurp_reloc_table_from_section (bfd *abfd,
|
|||||||
ps = symbols + ELF_R_SYM (rela.r_info) - 1;
|
ps = symbols + ELF_R_SYM (rela.r_info) - 1;
|
||||||
s = *ps;
|
s = *ps;
|
||||||
|
|
||||||
/* Canonicalize ELF section symbols. FIXME: Why? */
|
relent->sym_ptr_ptr = ps;
|
||||||
if ((s->flags & BSF_SECTION_SYM) == 0)
|
|
||||||
relent->sym_ptr_ptr = ps;
|
|
||||||
else
|
|
||||||
relent->sym_ptr_ptr = s->section->symbol_ptr_ptr;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
relent->addend = rela.r_addend;
|
relent->addend = rela.r_addend;
|
||||||
|
Loading…
Reference in New Issue
Block a user