Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-i386/protected1.s
2023-03-06 14:48:14 +01:00

13 lines
174 B
ArmAsm

.text
.globl foo
.protected foo
.type foo, @function
foo:
ret
.size foo, .-foo
.globl bar
.type bar, @function
bar:
leal foo@GOTOFF(%ecx), %eax
ret
.size bar, .-bar