From e91a22cece444e61eab00e823c36fb9736e788ec Mon Sep 17 00:00:00 2001
From: DJ Delorie <dj@redhat.com>
Date: Tue, 3 Apr 2012 19:06:40 +0000
Subject: [PATCH] * config/rx-parse.y: Make the .L optional for ADC and SBB.

---
 gas/ChangeLog         | 4 ++++
 gas/config/rx-parse.y | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index 98a0f329157..ebe0cfb0a74 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 da4969a1e22..f223dc7e4fe 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); }
 	;