From 1cd81501f406fd8c488574d3130c61ab4c492315 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 23 Feb 2008 05:50:28 +0000 Subject: [PATCH] * elf32-ppc.c (ppc_elf_check_relocs): Revert non_got_ref change. --- bfd/ChangeLog | 4 ++++ bfd/elf32-ppc.c | 3 +++ 2 files changed, 7 insertions(+) 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: -- 2.30.2