Commit | Line | Data |
---|---|---|
37c18eed SD |
1 | .text |
2 | .globl _start | |
3 | .type _start,@function | |
4 | _start: | |
5 | bl foo | |
6 | bl bar | |
1dbade74 | 7 | .ifndef __guard_property_bti__ |
37c18eed SD |
8 | .section ".note.gnu.property", "a" |
9 | .p2align 3 | |
10 | .long 1f - 0f /* name length */ | |
11 | .long 5f - 2f /* data length */ | |
12 | .long 5 /* note type */ | |
13 | 0: .asciz "GNU" /* vendor name */ | |
14 | 1: | |
15 | .p2align 3 | |
16 | 2: .long 0xc0000000 /* pr_type. */ | |
17 | .long 4f - 3f /* pr_datasz. */ | |
18 | 3: | |
19 | .long 0x1 /* BTI. */ | |
20 | 4: | |
21 | .p2align 3 | |
22 | 5: | |
1dbade74 | 23 | .endif |