aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@codesourcery.com>2000-10-31 10:30:11 +0000
committerBernd Schmidt <bernds@codesourcery.com>2000-10-31 10:30:11 +0000
commitebeeafe61cc1f31bae03052de4c11daf2641c112 (patch)
treef8108a7e7bd466b7a4e299971069cc8921aa81f7 /gas
parent10689f25cd4c3fc7bae2211eb7cc6324326b9519 (diff)
downloadgdb-ebeeafe61cc1f31bae03052de4c11daf2641c112.zip
gdb-ebeeafe61cc1f31bae03052de4c11daf2641c112.tar.gz
gdb-ebeeafe61cc1f31bae03052de4c11daf2641c112.tar.bz2
Better bundle template selection
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-ia64.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index b4bbaae..cfefa36 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2000-10-31 Bernd Schmidt <bernds@redhat.co.uk>
+
+ * tc-ia64.c (extra_goodness): Only prefer F in slot 1 and B in slot 2.
+
2000-10-30 Kazu Hirata <kazu@hxi.com>
* expr.c: Fix formatting.
diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c
index 065a0ee..1c0508e 100644
--- a/gas/config/tc-ia64.c
+++ b/gas/config/tc-ia64.c
@@ -5711,9 +5711,9 @@ match (int templ, int type, int slot)
static inline int
extra_goodness (int templ, int slot)
{
- if (match (templ, IA64_TYPE_F, slot))
+ if (slot == 1 && match (templ, IA64_TYPE_F, slot))
return 2;
- if (match (templ, IA64_TYPE_B, slot))
+ if (slot == 2 && match (templ, IA64_TYPE_B, slot))
return 1;
return 0;
}