* config/tc-sparc.c (sparc_ip): Allow assembly of %lo()+%reg.
authorRichard Henderson <rth@redhat.com>
Sun, 8 Aug 1999 17:27:23 +0000 (17:27 +0000)
committerRichard Henderson <rth@redhat.com>
Sun, 8 Aug 1999 17:27:23 +0000 (17:27 +0000)
gas/ChangeLog
gas/config/tc-sparc.c

index 0537124194529c452cd1a9112871124ce4cbf048..9c06105874cd4e90f74e60f1817d73c5c7873360 100644 (file)
@@ -1,3 +1,7 @@
+1999-08-08  Jakub Jelinek  <jj@ultra.linux.cz>
+
+       * config/tc-sparc.c (sparc_ip): Allow assembly of %lo()+%reg.
+
 1999-08-08  Ian Lance Taylor  <ian@zembu.com>
 
        * Makefile.am: Change all uses of itbl-test-ops to itbl-tops to
index a7bcae6d2981e70c456d6e71d6be8828cb38bf30..d9d7b5c2c4a73c9c41ea054e5245c08f445ddaed 100644 (file)
@@ -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 = ')';