aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-01-11 19:18:45 +0000
committerIan Lance Taylor <ian@airs.com>1994-01-11 19:18:45 +0000
commit8197b58995daa7e84204c0565a303f4ecf4183cd (patch)
treea3c6718dc7b24d07bf5676a70405951da15c2cf5 /gas/config
parentc598654a5ba9fbb678025c8c87b912a9c0045799 (diff)
downloadgdb-8197b58995daa7e84204c0565a303f4ecf4183cd.zip
gdb-8197b58995daa7e84204c0565a303f4ecf4183cd.tar.gz
gdb-8197b58995daa7e84204c0565a303f4ecf4183cd.tar.bz2
* config/tc-mips.c (macro): Corrected $at warnings in a couple of
spots.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-mips.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 68c9c39..c3e821c 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -2690,9 +2690,11 @@ macro (ip)
treg, (int) BFD_RELOC_MIPS_GPREL, GP);
p = frag_var (rs_machine_dependent, 8, 0,
RELAX_ENCODE (4, 8, 0, 4, 0,
- mips_warn_about_macros),
+ (mips_warn_about_macros
+ || (used_at && mips_noat))),
offset_expr.X_add_symbol, (long) 0,
(char *) NULL);
+ used_at = 0;
}
macro_build_lui (p, &icnt, &offset_expr, tempreg);
if (p != NULL)
@@ -3012,7 +3014,7 @@ macro (ip)
(int) BFD_RELOC_MIPS_GPREL, tempreg);
p = frag_var (rs_machine_dependent, 12 + off, 0,
RELAX_ENCODE (8 + off, 12 + off, 0, 4 + off, 1,
- ! used_at && mips_noat),
+ used_at && mips_noat),
offset_expr.X_add_symbol, (long) 0,
(char *) NULL);