From c82e52d55bd31eea943c616ad780f27e5ab9dc7a Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Tue, 28 Jun 2016 15:11:06 +0200 Subject: tccasm: Implement .pushsection and .popsection --- tests/asmtest.S | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/asmtest.S') 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 -- cgit v1.3.1