From 1eb7027ca25021316b1501928e74854c7551d913 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sun, 8 Aug 1999 17:27:23 +0000 Subject: * config/tc-sparc.c (sparc_ip): Allow assembly of %lo()+%reg. --- gas/ChangeLog | 4 ++++ gas/config/tc-sparc.c | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'gas') diff --git a/gas/ChangeLog b/gas/ChangeLog index 0537124..9c06105 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +1999-08-08 Jakub Jelinek + + * config/tc-sparc.c (sparc_ip): Allow assembly of %lo()+%reg. + 1999-08-08 Ian Lance Taylor * Makefile.am: Change all uses of itbl-test-ops to itbl-tops to 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 = ')'; -- cgit v1.1