aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2006-04-15 00:04:15 +0000
committerBob Wilson <bob.wilson@acm.org>2006-04-15 00:04:15 +0000
commit482fd9f9bf92649feed3a8f3cedad8b6ed6cffe9 (patch)
tree89d93da0949cd7318214d0b87fd19c1e08b96e7a /gas
parent4c1dce79e2020b1c8fda1828fd2c34e1f0a87558 (diff)
downloadfsf-binutils-gdb-482fd9f9bf92649feed3a8f3cedad8b6ed6cffe9.zip
fsf-binutils-gdb-482fd9f9bf92649feed3a8f3cedad8b6ed6cffe9.tar.gz
fsf-binutils-gdb-482fd9f9bf92649feed3a8f3cedad8b6ed6cffe9.tar.bz2
* config/tc-xtensa.c (emit_single_op): Do not relax MOVI
instructions when such transformations have been disabled.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-xtensa.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 6bc2da9..e742536 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2006-04-14 Sterling Augustine <sterling@tensilica.com>
+
+ * config/tc-xtensa.c (emit_single_op): Do not relax MOVI
+ instructions when such transformations have been disabled.
+
2006-04-10 Sterling Augustine <sterling@tensilica.com>
* config/tc-xtensa.c (xg_assemble_vliw_tokens): Record loop target
diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c
index 56902e1..6cbecef 100644
--- a/gas/config/tc-xtensa.c
+++ b/gas/config/tc-xtensa.c
@@ -6573,7 +6573,8 @@ emit_single_op (TInsn *orig_insn)
|| orig_insn->opcode == xtensa_movi_n_opcode)
&& !cur_vinsn.inside_bundle
&& (orig_insn->tok[1].X_op == O_symbol
- || orig_insn->tok[1].X_op == O_pltrel))
+ || orig_insn->tok[1].X_op == O_pltrel)
+ && !orig_insn->is_specific_opcode && use_transform ())
xg_assembly_relax (&istack, orig_insn, now_seg, frag_now, 0, 1, 0);
else
if (xg_expand_assembly_insn (&istack, orig_insn))