diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/rx-parse.y | 2 |
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); } ; |