tccasm: Implement .pushsection and .popsection

This commit is contained in:
Michael Matz
2016-06-28 15:11:06 +02:00
parent 6763b02abc
commit c82e52d55b
4 changed files with 40 additions and 3 deletions

View File

@ -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