aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-sparc.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1999-08-08 17:27:23 +0000
committerRichard Henderson <rth@redhat.com>1999-08-08 17:27:23 +0000
commit1eb7027ca25021316b1501928e74854c7551d913 (patch)
treef1004e88b78a12718cbe29ef489471a3e24c69c9 /gas/config/tc-sparc.c
parent74eeebeafb03e8c78cdccfd93342f37fad429b10 (diff)
downloadgdb-1eb7027ca25021316b1501928e74854c7551d913.zip
gdb-1eb7027ca25021316b1501928e74854c7551d913.tar.gz
gdb-1eb7027ca25021316b1501928e74854c7551d913.tar.bz2
* config/tc-sparc.c (sparc_ip): Allow assembly of %lo()+%reg.
Diffstat (limited to 'gas/config/tc-sparc.c')
-rw-r--r--gas/config/tc-sparc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/config/tc-sparc.c b/gas/config/tc-sparc.c
index a7bcae6..d9d7b5c 100644
--- a/gas/config/tc-sparc.c
+++ b/gas/config/tc-sparc.c
@@ -2159,7 +2159,10 @@ sparc_ip (str, pinsn)
if (s1)
{
*s1 = '\0';
- (void) get_expression (s);
+ if (op_arg && s1 == s + 1)
+ the_insn.exp.X_op = O_absent;
+ else
+ (void) get_expression (s);
*s1 = '+';
if (op_arg)
*s = ')';