* config/rx-parse.y (SUB): Correct subtraction of immediate
authorDJ Delorie <dj@redhat.com>
Sat, 18 Dec 2010 05:40:46 +0000 (05:40 +0000)
committerDJ Delorie <dj@redhat.com>
Sat, 18 Dec 2010 05:40:46 +0000 (05:40 +0000)
pattern.

gas/ChangeLog
gas/config/rx-parse.y

index 507c046eab0791a08ec4f6cbde1d6e3735a0a572..ca9b61dc2bfcf0d3bb75a83ab9b149431137b03d 100644 (file)
@@ -1,3 +1,8 @@
+2010-12-18  DJ Delorie  <dj@redhat.com>
+
+       * config/rx-parse.y (SUB): Correct subtraction of immediate
+       pattern.
+
 2010-12-16  DJ Delorie  <dj@redhat.com>
 
        * config/tc-rx.c (rx_validate_fix_sub): Permit subtraction in more
index 0e1093a9d1c29964d619df87ea9a6b0880154ab6..2d1f85e9f4cc09e8552cbae042715e639dd20240 100644 (file)
@@ -331,7 +331,7 @@ statement :
              { B2 (0x60, 0); FE ($3, 8, 4); F ($5, 12, 4); }
            else
              /* This is really an add, but we negate the immediate.  */
-             { B2 (0x38, 0); F ($5, 8, 4); F ($5, 12, 4); NIMM ($3, 6); } } /* ? */
+             { B2 (0x70, 0); F ($5, 8, 4); F ($5, 12, 4); NIMM ($3, 6); } }
 
        | CMP '#' EXPR ',' REG
          { if (rx_uintop ($3, 4))
This page took 0.027361 seconds and 4 git commands to generate.