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

15 lines
233 B
ArmAsm
Raw Normal View History

.text
.globl foo
.type foo, @function
foo:
ret
.size foo, .-foo
.globl _start
.type _start, @function
_start:
movq foo@GOTPCREL(%rip), %rax
movq bar@GOTPCREL(%rip), %rax
.size _start, .-_start
.comm pad,4,4
.comm bar,4,4