diff options
author | Alan Modra <amodra@gmail.com> | 2013-04-06 06:44:45 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2013-04-06 06:44:45 +0000 |
commit | 198f1157c95708c10f213c3b5146a25d542b9775 (patch) | |
tree | 88b9e671c6b052ed5928890bcf4e26a959df2d79 /bfd/elf32-ppc.c | |
parent | 524d4a957a98e63e3ac08f9d2f6d450daaf75af0 (diff) | |
download | gdb-198f1157c95708c10f213c3b5146a25d542b9775.zip gdb-198f1157c95708c10f213c3b5146a25d542b9775.tar.gz gdb-198f1157c95708c10f213c3b5146a25d542b9775.tar.bz2 |
* elf32-ppc.c (ppc_elf_check_relocs): Use SYMBOLIC_BIND.
* elf64-ppc.c (ppc64_elf_check_relocs, dec_dynrel_count): Likewise.
Diffstat (limited to 'bfd/elf32-ppc.c')
-rw-r--r-- | bfd/elf32-ppc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index f356c95..d6aae81 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -4424,7 +4424,7 @@ ppc_elf_check_relocs (bfd *abfd, if ((info->shared && (must_be_dyn_reloc (info, r_type) || (h != NULL - && (! info->symbolic + && (!SYMBOLIC_BIND (info, h) || h->root.type == bfd_link_hash_defweak || !h->def_regular)))) || (ELIMINATE_COPY_RELOCS |