summaryrefslogtreecommitdiff
path: root/gas/config/tc-alpha.c
diff options
context:
space:
mode:
authorDavid O'Brien <obrien@FreeBSD.org>2000-06-08 18:34:06 +0000
committerDavid O'Brien <obrien@FreeBSD.org>2000-06-08 18:34:06 +0000
commite8a7eb83e94aa497cc4105131ac0314a1a33fd3e (patch)
treeea1c8f568388013d4b4e11af8c71b8d3e70f07b8 /gas/config/tc-alpha.c
parentda82a60d68ada63861834a179cf35fa0cce419f6 (diff)
downloadbinutils-redhat-e8a7eb83e94aa497cc4105131ac0314a1a33fd3e.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: Nick Clifton <nickc@cygnus.com> Message-Id: <200006081749.KAA12558@elmo.cygnus.com>
Diffstat (limited to 'gas/config/tc-alpha.c')
-rw-r--r--gas/config/tc-alpha.c2
1 files changed, 1 insertions, 1 deletions
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];