]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gas/
authorRoland McGrath <roland@gnu.org>
Mon, 24 Jun 2013 23:35:22 +0000 (23:35 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 24 Jun 2013 23:35:22 +0000 (23:35 +0000)
PR gas/14987
* config/tc-arm.c (parse_address_main): Skip whitespace before a
closing bracket.

gas/testsuite/
PR gas/14987
* gas/arm/neon-ldst-es.s: Add whitespace test.
* gas/arm/neon-ldst-es.d: Update expected disassembly.

gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/neon-ldst-es.d
gas/testsuite/gas/arm/neon-ldst-es.s

index 63fcd9feba831ffe999a4a32ba017cc4ccf51151..4e8cf7380efb3b013f6390f608820456c1960fd8 100644 (file)
@@ -1,3 +1,9 @@
+2013-01-02  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/14987
+       * config/tc-arm.c (parse_address_main): Skip whitespace before a
+       closing bracket.
+
 2013-06-24  Roland McGrath  <mcgrathr@google.com>
 
        * config/tc-arm.c (arm_symbol_chars): Include '{' and '}'.
index 4225e1edf4dac998d0186d283db6bdb42dfd597f..7ec4f4c981a99e60c5ec36b90ab4e8f269508758 100644 (file)
@@ -5296,6 +5296,9 @@ parse_address_main (char **str, int i, int group_relocations,
        return result;
     }
 
+  /* PR gas/14987: Allow for whitespace before the closing bracket.  */
+  skip_whitespace (p);
+
   if (skip_past_char (&p, ']') == FAIL)
     {
       inst.error = _("']' expected");
index 424db409f78b14cd89627288e855f57eee6d1c22..1fbf0d9d19002f5b8f2014a547e5e03e8c3fa3b1 100644 (file)
@@ -1,3 +1,9 @@
+2013-01-02  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/14987
+       * gas/arm/neon-ldst-es.s: Add whitespace test.
+       * gas/arm/neon-ldst-es.d: Update expected disassembly.
+
 2013-06-24  Roland McGrath  <mcgrathr@google.com>
 
        * gas/arm/macro-pld.s: Add a 'push {r0}' case.
index 82bbab3e536c816252beb44e5fd05850e29b2e23..6c22c6907ee780d93c749dee0ba2871b8f7cb78d 100644 (file)
@@ -55,3 +55,4 @@ Disassembly of section \.text:
 0[0-9a-f]+ <[^>]+> f427288f    vld2\.32        {d2-d3}, \[r7\]
 0[0-9a-f]+ <[^>]+> f427208f    vld4\.32        {d2-d5}, \[r7\]
 0[0-9a-f]+ <[^>]+> f467c08f    vld4\.32        {d28-d31}, \[r7\]
+0[0-9a-f]+ <[^>]+> f4a21c83    vld1\.32        {d1\[\]}, \[r2\], r3
index c97794c34cbbc502dd5ca38dce35168c98796dc5..ea7de078ee8b4de804ec8ad5457c311a49e87e2f 100644 (file)
@@ -57,3 +57,6 @@
        vld2.32 {q1},[r7]
        vld4.32 {q1-q2},[r7]
        vld4.32 {q14-q15},[r7]
+
+       @ PR 14987: Allow for whitespace before the closing bracket.
+       vld1.32 {d1[]}, [r2 ], r3