* 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>
This commit is contained in:
David O'Brien 2000-06-08 18:34:06 +00:00
parent 10850f29fe
commit 6480b79a19
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2000-06-08 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-06-08 James E. Wilson <wilson@cygnus.com>
* config/tc-ia64.c (generate_unwind_image): Call ia64_flush_insns.

View File

@ -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];