summaryrefslogtreecommitdiff
path: root/gas/config/rx-parse.y
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2010-12-18 05:40:45 +0000
committerDJ Delorie <dj@delorie.com>2010-12-18 05:40:45 +0000
commit020202cc3ec9b630d27e9389412576893e40e7e7 (patch)
tree750355ad2530dc2debf3c8ff3dc8b9dea4dd6b50 /gas/config/rx-parse.y
parent30716617a4e97a620b687de0172e33e26c8b54d9 (diff)
downloadbinutils-redhat-020202cc3ec9b630d27e9389412576893e40e7e7.tar.gz
* config/rx-parse.y (SUB): Correct subtraction of immediate
pattern.
Diffstat (limited to 'gas/config/rx-parse.y')
-rw-r--r--gas/config/rx-parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/rx-parse.y b/gas/config/rx-parse.y
index 0e1093a9d1..2d1f85e9f4 100644
--- a/gas/config/rx-parse.y
+++ b/gas/config/rx-parse.y
@@ -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))