1 #define NT_GNU_PROPERTY_TYPE_0 5
3 #define GNU_PROPERTY_STACK_SIZE 1
4 #define GNU_PROPERTY_X86_ISA_1_USED 0xc0000000
5 #define GNU_PROPERTY_X86_ISA_1_NEEDED 0xc0000001
6 #define GNU_PROPERTY_X86_FEATURE_1_AND 0xc0000002
8 #if __SIZEOF_PTRDIFF_T__ == 8
10 #elif __SIZEOF_PTRDIFF_T__ == 4
19 .section ".note.gnu.property", "a"
22 .long 1f - 0f /* name length */
23 .long 5f - 2f /* data length */
24 .long NT_GNU_PROPERTY_TYPE_0 /* note type */
25 0: .asciz "GNU" /* vendor name */
28 2: .long GNU_PROPERTY_STACK_SIZE /* pr_type. */
29 .long 4f - 3f /* pr_datasz. */
31 .dc.a 0x800 /* Stack size. */
34 .long GNU_PROPERTY_X86_ISA_1_USED
36 .byte 0x01,0x10,0x00,0x00
38 .long GNU_PROPERTY_X86_ISA_1_NEEDED
40 .byte 0x01,0x10,0x00,0x00
42 .long GNU_PROPERTY_X86_FEATURE_1_AND
44 .byte 0x01,0x00,0x00,0x00