From: Richard Henderson Date: Sun, 3 Sep 2000 09:36:57 +0000 (+0000) Subject: * config/tc-ia64.c (emit_one_bundle): Stop collecting insns X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=032efc8517e702d705622009037a58d1457efc58;p=binutils-gdb.git * config/tc-ia64.c (emit_one_bundle): Stop collecting insns for template selection when a label is needed. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 4d8e05ad8a9..92e835c096a 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 05e37dbbd17..2fb2541fc6b 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; }