From: Alan Modra Date: Sat, 23 Feb 2008 05:50:28 +0000 (+0000) Subject: * elf32-ppc.c (ppc_elf_check_relocs): Revert non_got_ref change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1cd81501f406fd8c488574d3130c61ab4c492315;p=binutils-gdb.git * elf32-ppc.c (ppc_elf_check_relocs): Revert non_got_ref change. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b47d1331928..9a182a4eb9f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2008-02-23 Alan Modra + + * elf32-ppc.c (ppc_elf_check_relocs): Revert non_got_ref change. + 2008-02-23 Alan Modra * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Copy diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index a859adfa361..147efe2fc92 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -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: