Fix failure in x86_64 linker tests when compiling with a PIE enabled compiler.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / pr20253-1.s
CommitLineData
233cc9c1
L
1 .text
2 .globl foo
3 .type foo, @gnu_indirect_function
4foo:
5 ret
6 .text
7 .type bar, @gnu_indirect_function
8bar:
9 ret
10 .globl _start
11 .type _start, @function
12_start:
13 call *foo@GOTPCREL(%rip)
14 jmp *bar@GOTPCREL(%rip)
15 movq $0, bar@GOTPCREL(%rip)
16 cmpq $0, foo@GOTPCREL(%rip)
17 cmpq foo@GOTPCREL(%rip), %rcx
18 cmpq bar@GOTPCREL(%rip), %rcx
This page took 0.059145 seconds and 4 git commands to generate.