aboutsummaryrefslogtreecommitdiff
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
commit893fbe3e4cce6eb61b076e744fa5189f1c21acb9 (patch)
tree53ae9d234ef0e7044524ffb1022f84b516ffb114
parent70e33626f5224fef73de3d3f5560fb8d40e324b5 (diff)
downloadgdb-893fbe3e4cce6eb61b076e744fa5189f1c21acb9.zip
gdb-893fbe3e4cce6eb61b076e744fa5189f1c21acb9.tar.gz
gdb-893fbe3e4cce6eb61b076e744fa5189f1c21acb9.tar.bz2
* 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 e11a3f5..9c9b194 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 61dba4b..0eed2e2 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];