Retro68/binutils/ld/testsuite/ld-i386/protected6.s

15 lines
186 B
ArmAsm
Raw Normal View History

2017-04-10 11:32:00 +00:00
.data
.protected foo
.globl foo
.align 4
.type foo, @object
.size foo, 4
foo:
.long 1
.text
.globl bar
.type bar, @function
bar:
movl foo@GOTOFF(%ecx), %eax
.size bar, .-bar