MIPS/GAS: Handle resolved R6 PC-relative relocations (ChangeLog)
authorMaciej W. Rozycki <macro@imgtec.com>
Tue, 21 Jun 2016 20:22:39 +0000 (21:22 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Wed, 22 Jun 2016 23:33:07 +0000 (00:33 +0100)
Add missing ChangeLog entry for commit 41947d9e38c4 ("MIPS/GAS: Handle
resolved R6 PC-relative relocations").

gas/ChangeLog

index 4725869c4de5ed6dd7ea0b0a3f4f2dedca1a2f5e..ec4ad6869b71383a73f073fed23ff5cf98db205a 100644 (file)
@@ -9,6 +9,25 @@
 
        * config/tc-xtensa.c: Include elf/xtensa.h.
 
+2016-06-21  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
+       <BFD_RELOC_LO16_PCREL>: New switch cases.
+       (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
+       Move switch cases along `BFD_RELOC_MIPS_JMP'.
+       <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
+       <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
+       the resolved case.
+       * testsuite/gas/mips/pcrel-reloc-4.d: New test.
+       * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
+       * testsuite/gas/mips/pcrel-reloc-5.d: New test.
+       * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
+       * testsuite/gas/mips/pcrel-reloc-6.d: New test.
+       * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
+       * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
+       * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
+       * testsuite/gas/mips/mips.exp: Run the new tests.
+
 2016-06-21  Maciej W. Rozycki  <macro@imgtec.com>
 
        * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>