Retro68/binutils/ld/testsuite/ld-powerpc/aix-neg-reloc.s
Wolfgang Thaller f485e125c4 binutils 2.39
2022-10-27 20:45:45 +02:00

31 lines
467 B
ArmAsm

.toc
.csect .text[PR]
.globl foo
.globl .foo
.csect foo[DS],3
foo:
.if size == 32
.long .foo, TOC[tc0], 0
.else
.llong .foo, TOC[tc0], 0
.endif
.csect .text[PR]
.foo:
LFB..0:
blr
.csect _foo.ro_[RO],4
.globl _GLOBAL__F_foo
_GLOBAL__F_foo:
.if size == 32
.vbyte 4,LFB..0-$
.else
.vbyte 8,LFB..0-$
.endif
# Make sure that .ref is also enough to keep _GLOBAL__F_foo
# when exporting foo.
.csect .text[PR]
.ref _GLOBAL__F_foo