1 #define NT_GNU_PROPERTY_TYPE_0 5
3 #define GNU_PROPERTY_STACK_SIZE 1
4 #define GNU_PROPERTY_NO_COPY_ON_PROTECTED 2
5 #define GNU_PROPERTY_X86_ISA_1_USED 0xc0010002
6 #define GNU_PROPERTY_X86_ISA_1_NEEDED 0xc0008002
7 #define GNU_PROPERTY_X86_FEATURE_1_AND 0xc0000002
9 #if __SIZEOF_PTRDIFF_T__ == 8
11 #elif __SIZEOF_PTRDIFF_T__ == 4
15 .section ".note.gnu.property", "a"
17 .long 1f - 0f /* name length */
18 .long 5f - 2f /* data length */
19 .long NT_GNU_PROPERTY_TYPE_0 /* note type */
20 0: .asciz "GNU" /* vendor name */
23 2: .long GNU_PROPERTY_STACK_SIZE /* pr_type. */
24 .long 4f - 3f /* pr_datasz. */
26 .dc.a 0x111100 /* Stack size. */
29 .long GNU_PROPERTY_NO_COPY_ON_PROTECTED /* pr_type. */
30 .long 0 /* pr_datasz. */
32 .long GNU_PROPERTY_X86_ISA_1_USED
34 .byte 0x11,0x10,0x00,0x00
36 .long GNU_PROPERTY_X86_ISA_1_NEEDED
38 .byte 0x11,0x10,0x00,0x00
40 .long GNU_PROPERTY_X86_FEATURE_1_AND
42 .byte 0x01,0x00,0x00,0x00