aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2016-06-28 15:11:06 +0200
committerMichael Matz <matz@suse.de>2016-12-15 17:47:06 +0100
commitc82e52d55bd31eea943c616ad780f27e5ab9dc7a (patch)
treed4be595e9a770393e69a54a4a9233e64894eb088 /tests
parent6763b02abc5e0076b6f5bc0e116205250ef9fbd6 (diff)
downloadtinycc-c82e52d55bd31eea943c616ad780f27e5ab9dc7a.tar.gz
tinycc-c82e52d55bd31eea943c616ad780f27e5ab9dc7a.tar.bz2
tccasm: Implement .pushsection and .popsection
Diffstat (limited to 'tests')
-rw-r--r--tests/asmtest.S10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/asmtest.S b/tests/asmtest.S
index 2e634af..2518510 100644
--- a/tests/asmtest.S
+++ b/tests/asmtest.S
@@ -717,6 +717,16 @@ ft1: ft2: ft3: ft4: ft5: ft6: ft7: ft8: ft9:
.endr
.fill 4,1,0x90
+.section .text.one,"ax"
+nop
+.previous
+.pushsection .text.one,"ax"
+nop
+.pushsection .text.two,"ax"
+nop
+.popsection
+.popsection
+
movd %esi, %mm1
movd %edi, %xmm2
movd (%ebx), %mm3