For test for PR 29072 when the linker is configured with --enable-default-execstack=no.
[binutils-gdb.git] / ld / testsuite / ld-x86-64 / pr26711.s
1 .section ".note.gnu.property", "a"
2 .ifdef __64_bit__
3 .p2align 3
4 .else
5 .p2align 2
6 .endif
7 .long 1f - 0f /* name length */
8 .long 5f - 2f /* data length */
9 .long 5 /* note type */
10 0: .asciz "GNU" /* vendor name */
11 1:
12 .ifdef __64_bit__
13 .p2align 3
14 .else
15 .p2align 2
16 .endif
17 2: .long 0xc0001002 /* pr_type. */
18 .long 4f - 3f /* pr_datasz. */
19 3:
20 .long 0x30
21 4:
22 .ifdef __64_bit__
23 .p2align 3
24 .else
25 .p2align 2
26 .endif
27 5:
28
29 .text
30 .globl foo
31 .type foo, @function
32 foo:
33 ret
34 .section .note.GNU-stack