summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid O'Brien <obrien@FreeBSD.org>2000-08-30 23:39:17 +0000
committerDavid O'Brien <obrien@FreeBSD.org>2000-08-30 23:39:17 +0000
commit3f8b0ae384423c9d205c93ff9505311da71c4e78 (patch)
tree54b3ead5beb9afa9035e96daa9dc422b19b090ab
parent00228d8fb667acdc538f2a001f7510e357ebe383 (diff)
downloadbinutils-redhat-3f8b0ae384423c9d205c93ff9505311da71c4e78.tar.gz
* config/tc-alpha.c (md_undefined_symbol): Properly understand that $at
is the integer register $r28, vs. both $r28 and the floating point register $f28. This quiets a bogus warning about needing ".set noat". Approved by: Philip Blundell <pb@tazenda.demon.co.uk> Message-Id: <E13KpFp-0000sK-00@kings-cross.london.uk.eu.org>
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-alpha.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index e11a3f5227..9c9b1948f1 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2000-08-30 Matthew Jacob <mjacob@feral.com>
+
+ * config/tc-alpha.c (md_undefined_symbol): Properly understand that
+ $at is the integer register $r28, vs. both $r28 and the floating
+ point register $f28.
+
2000-04-14 Matthew Green <mrg@cygnus.com>
* configure.in: Add NetBSD/sparc ELF and NetBSD/sparc64 support.
diff --git a/gas/config/tc-alpha.c b/gas/config/tc-alpha.c
index 61dba4b8a4..0eed2e2a6d 100644
--- a/gas/config/tc-alpha.c
+++ b/gas/config/tc-alpha.c
@@ -1372,7 +1372,7 @@ md_undefined_symbol(name)
else
break;
- if (!alpha_noat_on && num == AXP_REG_AT)
+ if (!alpha_noat_on && (num + is_float) == AXP_REG_AT)
as_warn(_("Used $at without \".set noat\""));
return alpha_register_table[num + is_float];