From 032efc8517e702d705622009037a58d1457efc58 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sun, 3 Sep 2000 09:36:57 +0000 Subject: * config/tc-ia64.c (emit_one_bundle): Stop collecting insns for template selection when a label is needed. --- gas/ChangeLog | 5 +++++ gas/config/tc-ia64.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 4d8e05a..92e835c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2000-08-03 Richard Henderson + + * config/tc-ia64.c (emit_one_bundle): Stop collecting insns + for template selection when a label is needed. + 2000-09-02 Kazu Hirata * config/tc-ia64.c: Fix formatting. diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c index 05e37db..2fb2541 100644 --- a/gas/config/tc-ia64.c +++ b/gas/config/tc-ia64.c @@ -5233,11 +5233,13 @@ emit_one_bundle () user_template = template = md.slot[first].user_template; else { - /* auto select appropriate template */ + /* Auto select appropriate template. */ memset (type, 0, sizeof (type)); curr = first; for (i = 0; i < n; ++i) { + if (md.slot[curr].label_fixups && i != 0) + break; type[i] = md.slot[curr].idesc->type; curr = (curr + 1) % NUM_SLOTS; } -- cgit v1.1