aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2012-04-03 19:06:40 +0000
committerDJ Delorie <dj@redhat.com>2012-04-03 19:06:40 +0000
commite91a22cece444e61eab00e823c36fb9736e788ec (patch)
tree2b0afecbda8cc81d1de317754fd1f7c26d61c101
parent5a68afcf73212d0fec1268c362dbea9f66b272a1 (diff)
downloadgdb-e91a22cece444e61eab00e823c36fb9736e788ec.zip
gdb-e91a22cece444e61eab00e823c36fb9736e788ec.tar.gz
gdb-e91a22cece444e61eab00e823c36fb9736e788ec.tar.bz2
* config/rx-parse.y: Make the .L optional for ADC and SBB.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/rx-parse.y2
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 98a0f32..ebe0cfb 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2012-04-03 DJ Delorie <dj@redhat.com>
+
+ * config/rx-parse.y: Make the .L optional for ADC and SBB.
+
2012-04-02 DJ Delorie <dj@redhat.com>
* config/rx-parse.y: IMM->IMM_, take an extra parameter for the
diff --git a/gas/config/rx-parse.y b/gas/config/rx-parse.y
index da4969a..f223dc7 100644
--- a/gas/config/rx-parse.y
+++ b/gas/config/rx-parse.y
@@ -816,7 +816,7 @@ op_subadd
op_dp20_rm_l
: REG ',' REG
{ id24 (1, 0x03 + (sub_op<<2), 0x00); F ($1, 16, 4); F ($3, 20, 4); }
- | disp '[' REG ']' DOT_L ',' REG
+ | disp '[' REG ']' opt_l ',' REG
{ B4 (MEMEX, 0xa0, 0x00 + sub_op, 0x00);
F ($3, 24, 4); F ($7, 28, 4); DSP ($1, 14, LSIZE); }
;