Retro68/binutils/ld/testsuite/ld-i386/pr19031b.S
2017-04-10 13:32:00 +02:00

24 lines
319 B
ArmAsm

.text
.globl g
.type g, @function
g:
calll .Lfoo
.Lfoo:
popl %eax
.Lbar:
addl $_GLOBAL_OFFSET_TABLE_+(.Lbar-.Lfoo), %eax
movl f@GOT(%eax), %eax
ret
.globl h
.type h, @function
h:
leal zed, %eax
movl zed, %ebx
addl %ebx, %eax
ret
.data
zed:
.long f - .