[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/14887] Error: ARM register expected -- `str r1,[ r0 ]'

From: mikpe at it dot uu.se
Subject: [Bug gas/14887] Error: ARM register expected -- `str r1,[ r0 ]'
Date: Sat, 05 Jan 2013 15:53:13 +0000


Mikael Pettersson <mikpe at it dot uu.se> changed:

           What    |Removed                     |Added
                 CC|                            |mikpe at it dot uu.se

--- Comment #1 from Mikael Pettersson <mikpe at it dot uu.se> 2013-01-05 
15:53:13 UTC ---
The problem of whitespace before the closing bracket is PR14987, fixed on head
but not on 2.23 branch where it is a regression from the 2.23.1 release.

The problem of whitespace after the opening bracket is not fixed on head, but a
patch similar to PR14987's fixes it on both head and 2.23 branch:

diff -u -p -r1.550 tc-arm.c
--- binutils-2.24-2013-01-05/gas/config/tc-arm.c        2 Jan 2013 13:38:55
-0000       1.550
+++ binutils-2.24-2013-01-05/gas/config/tc-arm.c        5 Jan 2013 15:23:42
@@ -5168,6 +5168,9 @@ parse_address_main (char **str, int i, i

+  /* PR gas/14887: Allow for whitespace after the opening bracket.  */
+  skip_whitespace (p);
   if ((reg = arm_reg_parse (&p, REG_TYPE_RN)) == FAIL)
       inst.error = _(reg_expected_msgs[REG_TYPE_RN]);

Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]