aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-ppc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-07-20 10:33:14 +0930
committerAlan Modra <amodra@gmail.com>2016-07-20 10:55:04 +0930
commit3ce512885ba76da53fae84cd1a555bc721fdd25e (patch)
tree643c740686220061fa2f789c579951ee30004153 /bfd/elf64-ppc.c
parent0806868fa0e7c4aa58859c1d6ec273a38787ab12 (diff)
downloadgdb-3ce512885ba76da53fae84cd1a555bc721fdd25e.zip
gdb-3ce512885ba76da53fae84cd1a555bc721fdd25e.tar.gz
gdb-3ce512885ba76da53fae84cd1a555bc721fdd25e.tar.bz2
Mark some more powerpc relocs as not handled by generic linker
* elf64-ppc.c (ppc64_elf_howto_raw <R_PPC64_PLTREL32>): Put ppc64_elf_unhandled_reloc for special_function. * elf32-ppc.c (ppc_elf_howto_raw): Similarly for lots of relocs.
Diffstat (limited to 'bfd/elf64-ppc.c')
-rw-r--r--bfd/elf64-ppc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index e06b576..34d4635 100644
--- a/bfd/elf64-ppc.c
+++ b/bfd/elf64-ppc.c
@@ -687,7 +687,7 @@ static reloc_howto_type ppc64_elf_howto_raw[] = {
TRUE, /* pc_relative */
0, /* bitpos */
complain_overflow_signed, /* complain_on_overflow */
- bfd_elf_generic_reloc, /* special_function */
+ ppc64_elf_unhandled_reloc, /* special_function */
"R_PPC64_PLTREL32", /* name */
FALSE, /* partial_inplace */
0, /* src_mask */