For test for PR 29072 when the linker is configured with --enable-default-execstack=no.
[binutils-gdb.git] / ld / testsuite / ld-x86-64 / pr18801.s
1 .text
2 .type selector, %function
3 foo:
4 movl $0, %eax
5 ret
6 selector:
7 movabs $foo, %rax
8 ret
9 .type selector, %gnu_indirect_function
10 .globl _start
11 _start:
12 movabs $selector, %rax
13 call *%rax
14 ret
15 .section .note.GNU-stack,"",@progbits