aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2000-09-03 09:36:57 +0000
committerRichard Henderson <rth@redhat.com>2000-09-03 09:36:57 +0000
commit032efc8517e702d705622009037a58d1457efc58 (patch)
tree3caa79183c2c40cef4b98d5407b376da6083ab1f /gas
parent3d96075c0c800bdf44c57a02bbe3d434caf4c97f (diff)
downloadgdb-032efc8517e702d705622009037a58d1457efc58.zip
gdb-032efc8517e702d705622009037a58d1457efc58.tar.gz
gdb-032efc8517e702d705622009037a58d1457efc58.tar.bz2
* config/tc-ia64.c (emit_one_bundle): Stop collecting insns
for template selection when a label is needed.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-ia64.c4
2 files changed, 8 insertions, 1 deletions
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 <rth@cygnus.com>
+
+ * config/tc-ia64.c (emit_one_bundle): Stop collecting insns
+ for template selection when a label is needed.
+
2000-09-02 Kazu Hirata <kazu@hxi.com>
* 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;
}