aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-ppc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-02-23 05:50:28 +0000
committerAlan Modra <amodra@gmail.com>2008-02-23 05:50:28 +0000
commit1cd81501f406fd8c488574d3130c61ab4c492315 (patch)
tree9a4cdf646eec0e5902e74937747ec1b6dbab068b /bfd/elf32-ppc.c
parent0eb4a168d474b103ece58f499e34ae7e99962f2a (diff)
downloadgdb-1cd81501f406fd8c488574d3130c61ab4c492315.zip
gdb-1cd81501f406fd8c488574d3130c61ab4c492315.tar.gz
gdb-1cd81501f406fd8c488574d3130c61ab4c492315.tar.bz2
* elf32-ppc.c (ppc_elf_check_relocs): Revert non_got_ref change.
Diffstat (limited to 'bfd/elf32-ppc.c')
-rw-r--r--bfd/elf32-ppc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c
index a859adf..147efe2 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: