]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* config/tc-alpha.c (md_undefined_symbol): Properly understand that $at
authorDavid O'Brien <obrien@FreeBSD.org>
Thu, 8 Jun 2000 18:34:06 +0000 (18:34 +0000)
committerDavid O'Brien <obrien@FreeBSD.org>
Thu, 8 Jun 2000 18:34:06 +0000 (18:34 +0000)
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>

gas/ChangeLog
gas/config/tc-alpha.c

index 1d4519d70264f4cb8ab82b6f2001ade5cf54b104..1c107a43d058c1cd4d4adc2b28863535bfdf991a 100644 (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.
index 61dba4b8a4f50466ff58654ef8404a736310232d..0eed2e2a6d5681d86d6eac6b594364fdce9ae274 100644 (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];