]> 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>
Wed, 30 Aug 2000 23:39:17 +0000 (23:39 +0000)
committerDavid O'Brien <obrien@FreeBSD.org>
Wed, 30 Aug 2000 23:39:17 +0000 (23:39 +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:  Philip Blundell <pb@tazenda.demon.co.uk>
              Message-Id: <E13KpFp-0000sK-00@kings-cross.london.uk.eu.org>

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

index e11a3f52275252d741398dd82c5cc3e72a74339d..9c9b1948f1dc3ad3bebe55dcf47a65b906f860ae 100644 (file)
@@ -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.
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];