binutils-gdb/ld/testsuite/ld-i386/protected5.s

13 lines
186 B
ArmAsm

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