aboutsummaryrefslogtreecommitdiff
path: root/gas/ChangeLog
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@imgtec.com>2016-06-30 12:46:47 +0100
committerMaciej W. Rozycki <macro@imgtec.com>2016-06-30 15:11:23 +0100
commit5e35670ba76690524dc69cc7a2bc8d7df8eb4249 (patch)
tree8a11d2a765cc5ef22e797cbdc133c753bc27f24b /gas/ChangeLog
parent93a24ba79b59ec343611c16cd0024a116a705274 (diff)
downloadgdb-5e35670ba76690524dc69cc7a2bc8d7df8eb4249.zip
gdb-5e35670ba76690524dc69cc7a2bc8d7df8eb4249.tar.gz
gdb-5e35670ba76690524dc69cc7a2bc8d7df8eb4249.tar.bz2
MIPS/GAS: Simplify non-MIPS16 branch swapping sequence
Simplify non-MIPS16 branch swapping by copying the MIPS16 variant, which sets the new position for the current instruction first and reduces the calculation of the new position of the previous instruction. Also refer to previous instruction's frag and position via `delay' for consistency. Reintroduce an explanatory comment, updated, previously removed with: commit 1e91584932efd70020c8c98037d0cb93a0552a20 Author: Richard Sandiford <rdsandiford@googlemail.com> Date: Wed Mar 9 09:17:02 2005 +0000 <https://sourceware.org/ml/binutils/2005-03/msg00217.html>, ("Rework MIPS nop-insertion code, add -mfix-vr4130 [5/11]"). gas/ * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch swapping sequence.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r--gas/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 300d5ca..4459273 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
+ * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
+ swapping sequence.
+
+2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
+
PR gas/20312
* write.c (subsegs_finish_section): Force no section padding to
alignment on failed assembly, always set last frag's alignment