PowerPC addpcis fix
[deliverable/binutils-gdb.git] / gas / ChangeLog
index ec6dbf7d66813d42d2bdc835693854fe9aaf1403..30d07a877cecbc9b81122b8aaf865da4bf22c3dd 100644 (file)
@@ -1,3 +1,13 @@
+2017-02-28  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
+       (md_apply_fix): Remove fx_subsy check.  Move code converting to
+       pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA.  Remove code
+       emiiting errors on seeing fx_pcrel set on unexpected relocs, as
+       that is done now by the generic code via..
+       * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
+       (TC_VALIDATE_FIX_SUB): Define.
+
 2017-02-28  Maciej W. Rozycki  <macro@imgtec.com>
 
        * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
This page took 0.053067 seconds and 4 git commands to generate.