aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-04-21 19:53:25 +0000
committerIan Lance Taylor <ian@airs.com>1994-04-21 19:53:25 +0000
commit6fdc26e663d9aeadd149ebbbccc3f85806ebf683 (patch)
tree975747e7b017eae20f80a0a7ef90f01d55cc3f60
parent0cb7d54f3c32e7308008787d23f41ebde8ca0304 (diff)
downloadgdb-6fdc26e663d9aeadd149ebbbccc3f85806ebf683.zip
gdb-6fdc26e663d9aeadd149ebbbccc3f85806ebf683.tar.gz
gdb-6fdc26e663d9aeadd149ebbbccc3f85806ebf683.tar.bz2
* config/tc-mips.c (append_insn): Permit branches to be switched
with the preceding instruction even if .set nobopt has been seen. .set nobopt actually controls whether to bring up an instruction from the branch target, which gas does not currently support.
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/config/tc-mips.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index a204c82..165aae1 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,10 @@
+Thu Apr 21 15:50:04 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
+
+ * config/tc-mips.c (append_insn): Permit branches to be switched
+ with the preceding instruction even if .set nobopt has been seen.
+ .set nobopt actually controls whether to bring up an instruction
+ from the branch target, which gas does not currently support.
+
Wed Apr 20 18:46:14 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
* config/obj-coff.h, config/obj-coff.c: Deleted all code used only
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 72b6dc1..ed67fe8 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -955,8 +955,6 @@ append_insn (place, ip, address_expr, reloc_type)
|| (pinfo & INSN_COND_BRANCH_DELAY))
{
if (mips_optimize < 2
- /* If we have seen .set nobopt, don't optimize. */
- || mips_nobopt != 0
/* If we have seen .set volatile or .set nomove, don't
optimize. */
|| mips_nomove != 0