1// Functions that will generate a .ARM.exidx section with SHF_LINK_ORDER 2// dependency on the progbits section containing the .cantunwind directive 3 .syntax unified 4 .section .func1, "ax",%progbits 5 .globl func1 6func1: 7 .fnstart 8 bx lr 9 .cantunwind 10 .fnend 11 12 .section .func2, "ax", %progbits 13 .globl func2 14func2: 15 .fnstart 16 bx lr 17 .cantunwind 18 .fnend 19 20 .section .func3, "ax",%progbits 21 .globl func3 22func3: 23 .fnstart 24 bx lr 25 .cantunwind 26 .fnend 27 28 .section .text, "ax",%progbits 29 .globl func4 30func4: 31 .fnstart 32 bx lr 33 .cantunwind 34 .fnend 35 .globl func5 36func5: 37 .fnstart 38 bx lr 39 .cantunwind 40 .fnend 41