Commit | Line | Data |
---|---|---|
fbd9ad90 PB |
1 | .cfi_sections .c6xabi.exidx |
2 | .text | |
3 | # out of line table entry | |
4 | .global _start | |
5 | .type _start, %function | |
6 | _start: | |
7 | .cfi_startproc | |
8 | .cfi_offset B3, 0 | |
9 | .cfi_def_cfa_offset 8 | |
10 | nop | |
11 | .p2align 6 | |
12 | .cfi_endproc | |
13 | .personalityindex 3 | |
14 | .handlerdata | |
15 | .word 0 | |
16 | .endp | |
17 | ||
18 | # entry that can be merged | |
19 | .cfi_startproc | |
20 | .cfi_offset B3, 0 | |
21 | .cfi_def_cfa_offset 8 | |
22 | nop | |
23 | .p2align 6 | |
24 | .cfi_endproc | |
25 | .personalityindex 3 | |
26 | .endp | |
27 | ||
28 | # Section that will be placed first | |
29 | .section .before, "xa" | |
30 | .type _before, %function | |
31 | _before: | |
32 | .cfi_startproc | |
33 | .cfi_offset B3, 0 | |
34 | .cfi_def_cfa_offset 8 | |
35 | nop | |
36 | .p2align 6 | |
37 | .cfi_endproc | |
38 | .personalityindex 3 | |
39 | .endp | |
40 | ||
41 | # section that will be placed last | |
42 | .section .after, "xa" | |
43 | .global __c6xabi_unwind_cpp_pr3 | |
44 | .type __c6xabi_unwind_cpp_pr3, %function | |
45 | __c6xabi_unwind_cpp_pr3: | |
46 | # entry that can be merged | |
47 | .cfi_startproc | |
48 | .cfi_offset B3, 0 | |
49 | .cfi_def_cfa_offset 8 | |
50 | nop | |
51 | .cfi_endproc | |
52 | .personalityindex 3 | |
53 | .endp | |
54 | ||
55 | # final function is cantunwind, so output table size is smaller | |
56 | # than sum of input sections | |
57 | .global foo | |
58 | .type foo, %function | |
59 | foo: | |
60 | .cfi_startproc | |
61 | nop | |
62 | .p2align 6 | |
63 | .cfi_endproc | |
64 | .cantunwind | |
65 | .endp | |
66 | ||
67 | .section .far | |
68 | .word 0 |