i386: Issue an error on non-PIC call to IFUNC in PIC object
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / pr18801.s
CommitLineData
8efa2874
L
1 .text
2 .type selector, %function
3foo:
4 movl $0, %eax
5 ret
6selector:
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
This page took 0.065504 seconds and 4 git commands to generate.