* elfcode.h (elf_slurp_reloc_table_from_section): Don't canonicalize
authorDaniel Jacobowitz <drow@false.org>
Thu, 9 Dec 2004 16:17:42 +0000 (16:17 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 9 Dec 2004 16:17:42 +0000 (16:17 +0000)
ELF section symbols.

bfd/ChangeLog
bfd/elfcode.h

index 666927742f19981cd9e7a00280d0af878589fe93..d488fbb30b7e9ef8b95ac25c55386df825ec47cd 100644 (file)
@@ -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>
 
        * elfxx-mips.c (mips_elf_calculate_relocation): For R_MIPS_JALR,
index 303e46c7ba4615595489f79feb00d1b3e8eda634..a06b839e9a7f59725f113e6ecde5c58908b7dd82 100644 (file)
@@ -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;