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

14 lines
167 B
ArmAsm

.text
.globl foo
.protected foo
.type foo, @function
foo:
ret
.size foo, .-foo
.globl bar
.type bar, @function
bar:
leaq foo(%rip), %rax
ret
.size bar, .-bar