summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/testsuite/gas/arm/macro1.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/gas/testsuite/gas/arm/macro1.s')
-rw-r--r--binutils-2.25/gas/testsuite/gas/arm/macro1.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/binutils-2.25/gas/testsuite/gas/arm/macro1.s b/binutils-2.25/gas/testsuite/gas/arm/macro1.s
new file mode 100644
index 00000000..e2880e7b
--- /dev/null
+++ b/binutils-2.25/gas/testsuite/gas/arm/macro1.s
@@ -0,0 +1,12 @@
+ @ Test that macro expansions are properly scrubbed.
+ .macro popret regs
+ ldmia sp!, {\regs, pc}
+ .endm
+ .text
+l:
+ popret "r4, r5"
+
+ @ section padding for a.out's sake
+ nop
+ nop
+ nop