aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2011-08-10 22:55:57 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2011-08-10 22:55:57 +0000
commit87333bb72b8d896ddb77c9d1fdf3f35fb166534d (patch)
treeb20eb9f3bdccfd19899742627b4777e1b68847b8 /gas
parent85bb418f5ea3ed7e6eed54c45d2e85ee3ba2f1d4 (diff)
downloadfsf-binutils-gdb-87333bb72b8d896ddb77c9d1fdf3f35fb166534d.zip
fsf-binutils-gdb-87333bb72b8d896ddb77c9d1fdf3f35fb166534d.tar.gz
fsf-binutils-gdb-87333bb72b8d896ddb77c9d1fdf3f35fb166534d.tar.bz2
* config/tc-mips.c (can_swap_branch_p): Update the comment on
MIPS16 fixups.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-mips.c5
2 files changed, 7 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 92e77c0..3ae1eaf 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2011-08-10 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * config/tc-mips.c (can_swap_branch_p): Update the comment on
+ MIPS16 fixups.
+
2011-08-09 Chao-ying Fu <fu@mips.com>
Daniel Jacobowitz <dan@codesourcery.com>
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index c6fd5c7..57111d2 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -3715,9 +3715,8 @@ can_swap_branch_p (struct mips_cl_insn *ip)
if (history[1].noreorder_p)
return FALSE;
- /* If the previous instruction had a fixup in mips16 mode, we can not
- swap. This normally means that the previous instruction was a 4
- byte branch anyhow. */
+ /* If the previous instruction had a fixup in mips16 mode, we can not swap.
+ This means that the previous instruction was a 4-byte one anyhow. */
if (mips_opts.mips16 && history[0].fixp[0])
return FALSE;