aboutsummaryrefslogtreecommitdiff
path: root/gas
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
parentd62b368413a6f5831aa2dc4a9795702e2889084b (diff)
downloadbinutils-cc9edbf3536dd8dbde8a3745b4665f6ef50ac663.zip
binutils-cc9edbf3536dd8dbde8a3745b4665f6ef50ac663.tar.gz
binutils-cc9edbf3536dd8dbde8a3745b4665f6ef50ac663.tar.bz2
* config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types used
in large toc code.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-ppc.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index aa663c4..a70aeae 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-29 Alan Modra <amodra@gmail.com>
+
+ * config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types used
+ in large toc code.
+
2010-07-28 Alan Modra <amodra@gmail.com>
PR gas/11841
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