* elflink.c (elf_link_input_bfd): Correct *pindex change in last
authorAlan Modra <amodra@gmail.com>
Thu, 21 May 2009 14:32:29 +0000 (14:32 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 21 May 2009 14:32:29 +0000 (14:32 +0000)
commit.

bfd/ChangeLog
bfd/elflink.c

index 68443df72106f2aefc25397a6dde3346e46f05c1..8bbd37db29ca2db04409b914f7224e8ddfeceec2 100644 (file)
@@ -1,3 +1,8 @@
+2009-05-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.c (elf_link_input_bfd): Correct *pindex change in last
+       commit.
+
 2009-05-21  Alan Modra  <amodra@bigpond.net.au>
 
        * elf-bfd.h (struct elf_backend_data
index 61c510f184c491917968152afed6935180fecdf9..5e36d125fa811c01c7e2bd9823e4929806c37d6b 100644 (file)
@@ -9065,8 +9065,6 @@ elf_link_input_bfd (struct elf_final_link_info *finfo, bfd *input_bfd)
       if (osym.st_shndx == SHN_BAD)
        return FALSE;
 
-      *pindex = bfd_get_symcount (output_bfd);
-
       /* ELF symbols in relocatable files are section relative, but
         in executable files they are virtual addresses.  Note that
         this code assumes that all ELF sections have an associated