aboutsummaryrefslogtreecommitdiff
path: root/gas/config
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/config
parent4c1dce79e2020b1c8fda1828fd2c34e1f0a87558 (diff)
downloadgdb-482fd9f9bf92649feed3a8f3cedad8b6ed6cffe9.zip
gdb-482fd9f9bf92649feed3a8f3cedad8b6ed6cffe9.tar.gz
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/config')
-rw-r--r--gas/config/tc-xtensa.c3
1 files changed, 2 insertions, 1 deletions
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))