This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] MIPS/GAS: Handle resolved R6 PC-relative relocations (ChangeLog)
- From: Maciej W.Rozycki <macro at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 22 Jun 2016 23:47:21 -0000
- Subject: [binutils-gdb] MIPS/GAS: Handle resolved R6 PC-relative relocations (ChangeLog)
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8cec2cfe27b40a2d61bae931d1dc17046d7e108d
commit 8cec2cfe27b40a2d61bae931d1dc17046d7e108d
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Tue Jun 21 21:22:39 2016 +0100
MIPS/GAS: Handle resolved R6 PC-relative relocations (ChangeLog)
Add missing ChangeLog entry for commit 41947d9e38c4 ("MIPS/GAS: Handle
resolved R6 PC-relative relocations").
Diff:
---
gas/ChangeLog | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 4725869..ec4ad68 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -11,6 +11,25 @@
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>
<BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
via `fixP->fx_addsy'.