aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-ppc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-07-29 07:48:43 +0000
committerAlan Modra <amodra@gmail.com>2010-07-29 07:48:43 +0000
commitcc9edbf3536dd8dbde8a3745b4665f6ef50ac663 (patch)
tree841bb6d45e72421319bd092bb3d8fa4172530902 /gas/config/tc-ppc.c
parentd62b368413a6f5831aa2dc4a9795702e2889084b (diff)
downloadgdb-cc9edbf3536dd8dbde8a3745b4665f6ef50ac663.zip
gdb-cc9edbf3536dd8dbde8a3745b4665f6ef50ac663.tar.gz
gdb-cc9edbf3536dd8dbde8a3745b4665f6ef50ac663.tar.bz2
* config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types used
in large toc code.
Diffstat (limited to 'gas/config/tc-ppc.c')
-rw-r--r--gas/config/tc-ppc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index 8d64349..f8c5d35 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -5724,6 +5724,8 @@ ppc_fix_adjustable (fixS *fix)
&& fix->fx_r_type != BFD_RELOC_LO16_GOTOFF
&& fix->fx_r_type != BFD_RELOC_HI16_GOTOFF
&& fix->fx_r_type != BFD_RELOC_HI16_S_GOTOFF
+ && fix->fx_r_type != BFD_RELOC_PPC64_GOT16_DS
+ && fix->fx_r_type != BFD_RELOC_PPC64_GOT16_LO_DS
&& fix->fx_r_type != BFD_RELOC_GPREL16
&& fix->fx_r_type != BFD_RELOC_VTABLE_INHERIT
&& fix->fx_r_type != BFD_RELOC_VTABLE_ENTRY