binutils-gdb/ld/testsuite/ld-x86-64/pr19719.s

17 lines
237 B
ArmAsm

.text
.globl _start
.type _start, @function
_start:
movl foo_p(%rip), %eax
movq foo@GOTPCREL(%rip), %rax
ret
.size _start, .-_start
.globl foo_p
.data
.align 4
.type foo_p, @object
.weak foo
.size foo_p, 4
foo_p:
.long foo