diff options
author | Alan Modra <amodra@gmail.com> | 2008-02-23 05:50:28 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2008-02-23 05:50:28 +0000 |
commit | 1cd81501f406fd8c488574d3130c61ab4c492315 (patch) | |
tree | 9a4cdf646eec0e5902e74937747ec1b6dbab068b /bfd/elf32-ppc.c | |
parent | * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Copy (diff) | |
download | binutils-gdb-1cd81501f406fd8c488574d3130c61ab4c492315.tar.gz binutils-gdb-1cd81501f406fd8c488574d3130c61ab4c492315.tar.bz2 binutils-gdb-1cd81501f406fd8c488574d3130c61ab4c492315.zip |
* 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.c | 3 |
1 files changed, 3 insertions, 0 deletions
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: |