]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
This commit was manufactured by cvs2svn to create branch 'binutils-
authornobody <>
Tue, 20 Nov 2012 17:53:47 +0000 (17:53 +0000)
committernobody <>
Tue, 20 Nov 2012 17:53:47 +0000 (17:53 +0000)
2_23-branch'.

Cherrypick from master 2012-11-20 17:53:46 UTC Roland McGrath <roland@gnu.org> 'gas/':
    gas/testsuite/gas/arm/macro-pld.d
    gas/testsuite/gas/arm/macro-pld.s

gas/testsuite/gas/arm/macro-pld.d [new file with mode: 0644]
gas/testsuite/gas/arm/macro-pld.s [new file with mode: 0644]

diff --git a/gas/testsuite/gas/arm/macro-pld.d b/gas/testsuite/gas/arm/macro-pld.d
new file mode 100644 (file)
index 0000000..8f9d86c
--- /dev/null
@@ -0,0 +1,8 @@
+#objdump: -dr
+
+.*:     file format .*
+
+Disassembly of section \.text:
+
+0+ <.*>:
+\s*0:\s+f5d0f000\s+pld\s+\[r0\]
diff --git a/gas/testsuite/gas/arm/macro-pld.s b/gas/testsuite/gas/arm/macro-pld.s
new file mode 100644 (file)
index 0000000..cf4df8b
--- /dev/null
@@ -0,0 +1,4 @@
+.macro foo arg, rest:vararg
+       \rest
+.endm
+       foo r0, pld [r0]