]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gas/
authorRoland McGrath <roland@gnu.org>
Mon, 24 Jun 2013 23:37:04 +0000 (23:37 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 24 Jun 2013 23:37:04 +0000 (23:37 +0000)
* config/tc-arm.c (parse_reg_list): Use skip_past_char for '}',
so it skips whitespace before it.
(s_arm_unwind_save_mmxwr, s_arm_unwind_save_mmxwcg): Likewise.

gas/testsuite/
* gas/arm/macro-vld1.s: Add a case with whitespace before '}'.
* gas/arm/macro-vld1.d: Update.

gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/macro-vld1.d
gas/testsuite/gas/arm/macro-vld1.s

index 0538db8948a82f2e41394fe2c39479b3ad58a1ff..5f37a766269733dd77a2ecfdcb2db5a732c03b09 100644 (file)
@@ -1,3 +1,9 @@
+2013-06-24  Roland McGrath  <mcgrathr@google.com>
+
+       * config/tc-arm.c (parse_reg_list): Use skip_past_char for '}',
+       so it skips whitespace before it.
+       (s_arm_unwind_save_mmxwr, s_arm_unwind_save_mmxwcg): Likewise.
+
 2013-01-07  Nick Clifton  <nickc@redhat.com>
 
        PR gas/14887
index ef38e445dd104d55d3ef947a69e4f3e4a7d4a9ea..516cc9a1a6df7a79976a70a7735932cc01703433 100644 (file)
@@ -1640,7 +1640,7 @@ parse_reg_list (char ** strp)
                 || (in_range = 1, *str++ == '-'));
          str--;
 
-         if (*str++ != '}')
+         if (skip_past_char (&str, '}') == FAIL)
            {
              first_error (_("missing `}'"));
              return FAIL;
@@ -3934,8 +3934,7 @@ s_arm_unwind_save_mmxwr (void)
     }
   while (skip_past_comma (&input_line_pointer) != FAIL);
 
-  if (*input_line_pointer == '}')
-    input_line_pointer++;
+  skip_past_char (&input_line_pointer, '}');
 
   demand_empty_rest_of_line ();
 
@@ -4069,8 +4068,7 @@ s_arm_unwind_save_mmxwcg (void)
     }
   while (skip_past_comma (&input_line_pointer) != FAIL);
 
-  if (*input_line_pointer == '}')
-    input_line_pointer++;
+  skip_past_char (&input_line_pointer, '}');
 
   demand_empty_rest_of_line ();
 
index 0bd0ac9bf3813d9655fe67bcc63e906ef87b4178..806fabd645372f0dac2b3123d71f2395bc20a70a 100644 (file)
@@ -1,3 +1,8 @@
+2013-06-24  Roland McGrath  <mcgrathr@google.com>
+
+       * gas/arm/macro-vld1.s: Add a case with whitespace before '}'.
+       * gas/arm/macro-vld1.d: Update.
+
 2013-01-07  Nick Clifton  <nickc@redhat.com>
 
        PR gas/14887
index 4a5e2f545ed915a9fb2057d09ac3de7642151af7..b4f6721560b6a01aaea477fb2c167aa54da5ec7a 100644 (file)
@@ -6,3 +6,4 @@ Disassembly of section \.text:
 
 0+ <.*>:
 \s*0:\s+f420070f\s+vld1.8\s+{d0},\s*\[r0\]
+\s*4:\s+f420070f\s+vld1.8\s+{d0},\s*\[r0\]
index 530c5c35b93e626746af2ff51842ef5260025e02..614724b867c787da21106347a27c17897dceee3d 100644 (file)
@@ -7,3 +7,4 @@
                 .purgem _sfi_breg_doit
         .endm
        sfi_breg r0, vld1.8 {d0}, [\B]
+       sfi_breg r0, vld1.8 { d0 }, [\B]