diff options
author | Maciej W. Rozycki <macro@imgtec.com> | 2016-06-21 21:22:39 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@imgtec.com> | 2016-06-23 00:33:07 +0100 |
commit | 8cec2cfe27b40a2d61bae931d1dc17046d7e108d (patch) | |
tree | 1cdb1bd5788fcbfe05e9e52ea71a71186d35fc37 /gas | |
parent | 6fd3a02da5548c71ff469f978444ef6c3af18783 (diff) | |
download | gdb-8cec2cfe27b40a2d61bae931d1dc17046d7e108d.zip gdb-8cec2cfe27b40a2d61bae931d1dc17046d7e108d.tar.gz gdb-8cec2cfe27b40a2d61bae931d1dc17046d7e108d.tar.bz2 |
MIPS/GAS: Handle resolved R6 PC-relative relocations (ChangeLog)
Add missing ChangeLog entry for commit 41947d9e38c4 ("MIPS/GAS: Handle
resolved R6 PC-relative relocations").
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 19 |
1 files changed, 19 insertions, 0 deletions
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'. |