zig/deps/lld/test/ELF/Inputs/arm-exidx-cantunwind.s
Andrew Kelley 4794281d64 embed LLD 5.0.0
This is 48aaa9f66120f72b5d7e4a90b32fee40a3386ce9 from the
git monorepo.
2017-08-27 17:46:59 -04:00

41 lines
595 B
ArmAsm

// Functions that will generate a .ARM.exidx section with SHF_LINK_ORDER
// dependency on the progbits section containing the .cantunwind directive
.syntax unified
.section .func1, "ax",%progbits
.globl func1
func1:
.fnstart
bx lr
.cantunwind
.fnend
.section .func2, "ax", %progbits
.globl func2
func2:
.fnstart
bx lr
.cantunwind
.fnend
.section .func3, "ax",%progbits
.globl func3
func3:
.fnstart
bx lr
.cantunwind
.fnend
.section .text, "ax",%progbits
.globl func4
func4:
.fnstart
bx lr
.cantunwind
.fnend
.globl func5
func5:
.fnstart
bx lr
.cantunwind
.fnend