summaryrefslogtreecommitdiff
path: root/bfd/elfcode.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2004-12-09 16:17:42 +0000
committerDaniel Jacobowitz <dan@debian.org>2004-12-09 16:17:42 +0000
commit12c5e7d0a332332f45b52bba2fee53f35f98f503 (patch)
treeab414bfdb6247320f7fa7d10d09b906cb42b1337 /bfd/elfcode.h
parent07c585e25676d6dd8b2647b1a63efc8930fc76f8 (diff)
downloadbinutils-redhat-12c5e7d0a332332f45b52bba2fee53f35f98f503.tar.gz
* elfcode.h (elf_slurp_reloc_table_from_section): Don't canonicalize
ELF section symbols.
Diffstat (limited to 'bfd/elfcode.h')
-rw-r--r--bfd/elfcode.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/bfd/elfcode.h b/bfd/elfcode.h
index 303e46c7ba..a06b839e9a 100644
--- a/bfd/elfcode.h
+++ b/bfd/elfcode.h
@@ -1293,11 +1293,7 @@ elf_slurp_reloc_table_from_section (bfd *abfd,
ps = symbols + ELF_R_SYM (rela.r_info) - 1;
s = *ps;
- /* Canonicalize ELF section symbols. FIXME: Why? */
- if ((s->flags & BSF_SECTION_SYM) == 0)
- relent->sym_ptr_ptr = ps;
- else
- relent->sym_ptr_ptr = s->section->symbol_ptr_ptr;
+ relent->sym_ptr_ptr = ps;
}
relent->addend = rela.r_addend;