aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2013-06-24 23:13:00 +0000
committerRoland McGrath <roland@gnu.org>2013-06-24 23:13:00 +0000
commitd996d9708adb868b6af3f9aa8511749061d178a4 (patch)
tree8b33ca968f1028431cbb9eb13b068064235c7eb1 /gas/testsuite
parent3e5d3a5aaf64994809c15f0af12dd9260cf456e3 (diff)
downloadbinutils-d996d9708adb868b6af3f9aa8511749061d178a4.zip
binutils-d996d9708adb868b6af3f9aa8511749061d178a4.tar.gz
binutils-d996d9708adb868b6af3f9aa8511749061d178a4.tar.bz2
gas/
* 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.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog3
-rw-r--r--gas/testsuite/gas/arm/macro-vld1.d1
-rw-r--r--gas/testsuite/gas/arm/macro-vld1.s1
3 files changed, 5 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 5fb0d66..45a790c 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,5 +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.
+
* gas/arm/macro-pld.s: Add a 'push {r0}' case.
* gas/arm/macro-pld.d: Update expected output.
* gas/arm/macro-vld1.s: New file.
diff --git a/gas/testsuite/gas/arm/macro-vld1.d b/gas/testsuite/gas/arm/macro-vld1.d
index 4a5e2f5..b4f6721 100644
--- a/gas/testsuite/gas/arm/macro-vld1.d
+++ b/gas/testsuite/gas/arm/macro-vld1.d
@@ -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\]
diff --git a/gas/testsuite/gas/arm/macro-vld1.s b/gas/testsuite/gas/arm/macro-vld1.s
index 530c5c3..614724b 100644
--- a/gas/testsuite/gas/arm/macro-vld1.s
+++ b/gas/testsuite/gas/arm/macro-vld1.s
@@ -7,3 +7,4 @@
.purgem _sfi_breg_doit
.endm
sfi_breg r0, vld1.8 {d0}, [\B]
+ sfi_breg r0, vld1.8 { d0 }, [\B]