aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-ia64.c
diff options
context:
space:
mode:
authorJim Wilson <wilson@tuliptree.org>2006-03-03 01:10:42 +0000
committerJim Wilson <wilson@tuliptree.org>2006-03-03 01:10:42 +0000
commit53022e4a53d0f3c2408b598f25662efe713db8c3 (patch)
tree122e0364fd6a1291ff3e4af91dc3222f6ac04c69 /gas/config/tc-ia64.c
parent67e054eddf1860916abf2ae7a52c1ef3900c75f0 (diff)
downloadgdb-53022e4a53d0f3c2408b598f25662efe713db8c3.zip
gdb-53022e4a53d0f3c2408b598f25662efe713db8c3.tar.gz
gdb-53022e4a53d0f3c2408b598f25662efe713db8c3.tar.bz2
Fix problem with double-stop-bit after itc.i instruction.
* config/tc-ia64.c (emit_one_bundle): For IA64_OPCODE_LAST, if we change the template, then clear md.slot[curr].end_of_insn_group.
Diffstat (limited to 'gas/config/tc-ia64.c')
-rw-r--r--gas/config/tc-ia64.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c
index ec6bd61..426b60f 100644
--- a/gas/config/tc-ia64.c
+++ b/gas/config/tc-ia64.c
@@ -6855,6 +6855,10 @@ emit_one_bundle ()
changing NOPs in front of this slot. */
for (j = i; j < 3; ++j)
insn[j] = nop[ia64_templ_desc[required_template].exec_unit[j]];
+
+ /* We just picked a template that includes the stop bit in the
+ middle, so we don't need another one emitted later. */
+ md.slot[curr].end_of_insn_group = 0;
}
template = required_template;
}