aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1996-02-21 17:25:13 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1996-02-21 17:25:13 +0000
commit2cb1807e1369032ea73b6924d041db6d561b236b (patch)
tree71039af322dc72ed75fb444bba052b3e4f0e62bb /gas
parent5c59ec4318b48c46eebf2fdeee8c22ff6436e3d4 (diff)
downloadgdb-2cb1807e1369032ea73b6924d041db6d561b236b.zip
gdb-2cb1807e1369032ea73b6924d041db6d561b236b.tar.gz
gdb-2cb1807e1369032ea73b6924d041db6d561b236b.tar.bz2
(sparc_ip): Recognize %asr0.
Yes, matra really wants this.
Diffstat (limited to 'gas')
-rw-r--r--gas/config/tc-sparc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-sparc.c b/gas/config/tc-sparc.c
index d06d3b3..ad8248b 100644
--- a/gas/config/tc-sparc.c
+++ b/gas/config/tc-sparc.c
@@ -1018,9 +1018,9 @@ sparc_ip (str)
}
else
{
- if (num < 1 || 31 < num)
+ if (num < 0 || 31 < num)
{
- error_message = ": asr number must be between 1 and 31";
+ error_message = ": asr number must be between 0 and 31";
goto error;
}
}