* config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types used
authorAlan Modra <amodra@gmail.com>
Thu, 29 Jul 2010 07:48:43 +0000 (07:48 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 29 Jul 2010 07:48:43 +0000 (07:48 +0000)
in large toc code.

gas/ChangeLog
gas/config/tc-ppc.c

index aa663c4..a70aeae 100644 (file)
@@ -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
index 8d64349..f8c5d35 100644 (file)
@@ -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