gdb: Convert language la_compute_program field to a method
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / ifunc-textrel-1.s
CommitLineData
cebd6b8a
L
1 .text
2 .type selector, %function
3foo:
4 movl $0, %eax
5 ret
6selector:
7.ifdef __x86_64__
8 leaq foo(%rip), %rax
9.else
10 leal foo@GOTOFF(%eax), %eax
11.endif
12 ret
13 .type selector, %gnu_indirect_function
14 .globl _start
15_start:
16.ifdef __x86_64__
17 movabs ptr, %rax
18 call *%rax
19.else
20 mov ptr, %eax
21 call *%eax
22.endif
23 ret
24 .data
25 .type ptr, @object
26ptr:
27 .dc.a selector
28 .section .note.GNU-stack,"",@progbits
This page took 0.023453 seconds and 4 git commands to generate.