]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ld-x86-64/property-x86-1.S
Add linker warning for when it creates an executable stack.
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-x86-64 / property-x86-1.S
CommitLineData
46bed679
L
1#ifdef __LP64__
2# define ALIGN 3
3#else
4# define ALIGN 2
5#endif
6 .section ".note.gnu.property", "a"
7 .p2align ALIGN
8 .long 1f - 0f /* name length. */
9 .long 3f - 1f /* data length. */
10 /* NT_GNU_PROPERTY_TYPE_0 */
11 .long 5 /* note type. */
120:
13 .asciz "GNU" /* vendor name. */
141:
15 .p2align ALIGN
16 /* GNU_PROPERTY_STACK_SIZE */
17 .long 1 /* pr_type. */
18 .long 5f - 4f /* pr_datasz. */
194:
20 .dc.a 0x600000 /* Stack size. */
215:
22 .p2align ALIGN
23 /* GNU_PROPERTY_X86_ISA_1_USED */
32930e4e 24 .long 0xc0010002 /* pr_type. */
46bed679
L
25 .long 5f - 4f /* pr_datasz. */
264:
27 .long 0xa
285:
29 .p2align ALIGN
30 /* GNU_PROPERTY_X86_ISA_1_NEEDED */
32930e4e 31 .long 0xc0008002 /* pr_type. */
46bed679
L
32 .long 5f - 4f /* pr_datasz. */
334:
34 .long 0x3
355:
36 .p2align ALIGN
373:
65daf5be 38 .section .note.GNU-stack