* elf32-ppc.c (ppc_elf_check_relocs): Revert non_got_ref change.
authorAlan Modra <amodra@gmail.com>
Sat, 23 Feb 2008 05:50:28 +0000 (05:50 +0000)
committerAlan Modra <amodra@gmail.com>
Sat, 23 Feb 2008 05:50:28 +0000 (05:50 +0000)
bfd/ChangeLog
bfd/elf32-ppc.c

index b47d1331928706eddfa6b8149e2af327edf3f140..9a182a4eb9f84d20bdc44abe1a360700efa20b58 100644 (file)
@@ -1,3 +1,7 @@
+2008-02-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (ppc_elf_check_relocs): Revert non_got_ref change.
+
 2008-02-23  Alan Modra  <amodra@bigpond.net.au>
 
        * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Copy
index a859adfa3614538b09149de2b79052e6757b6fb3..147efe2fc92621b5d102f688fa00352e6c2f33f3 100644 (file)
@@ -3464,6 +3464,9 @@ ppc_elf_check_relocs (bfd *abfd,
                 a function defined in a dynamic object.  */
              if (!update_plt_info (abfd, h, NULL, 0))
                return FALSE;
+
+             /* We may need a copy reloc too.  */
+             h->non_got_ref = 1;
            }
 
        dodyn:
This page took 0.030142 seconds and 4 git commands to generate.