Commit | Line | Data |
---|---|---|
90c745dc L |
1 | .text |
2 | .globl _start | |
3 | _start: | |
4 | .byte 0 | |
5 | ||
6 | .section ".note.gnu.property", "a" | |
7 | .ifdef __64_bit__ | |
8 | .p2align 3 | |
9 | .else | |
10 | .p2align 2 | |
11 | .endif | |
12 | .long 1f - 0f /* name length. */ | |
13 | .long 3f - 1f /* data length. */ | |
14 | /* NT_GNU_PROPERTY_TYPE_0 */ | |
15 | .long 5 /* note type. */ | |
16 | 0: | |
17 | .asciz "GNU" /* vendor name. */ | |
18 | 1: | |
19 | .ifdef __64_bit__ | |
20 | .p2align 3 | |
21 | .else | |
22 | .p2align 2 | |
23 | .endif | |
24 | /* GNU_PROPERTY_X86_ISA_1_NEEDED */ | |
25 | .long 0xc0008000 /* pr_type. */ | |
26 | .long 5f - 4f /* pr_datasz. */ | |
27 | 4: | |
28 | .long 0x1 | |
29 | 5: | |
30 | .ifdef __64_bit__ | |
31 | .p2align 3 | |
32 | .else | |
33 | .p2align 2 | |
34 | .endif | |
35 | .ifdef __64_bit__ | |
36 | .p2align 3 | |
37 | .else | |
38 | .p2align 2 | |
39 | .endif | |
40 | /* GNU_PROPERTY_X86_ISA_1_USED */ | |
41 | .long 0xc0010000 /* pr_type. */ | |
42 | .long 5f - 4f /* pr_datasz. */ | |
43 | 4: | |
44 | /* GNU_PROPERTY_X86_UINT32_VALID */ | |
45 | .long 0x80000000 | |
46 | 5: | |
47 | .ifdef __64_bit__ | |
48 | .p2align 3 | |
49 | .else | |
50 | .p2align 2 | |
51 | .endif | |
52 | 3: |