Deprecate a.out support for NetBSD targets.
[binutils-gdb.git] / ld / testsuite / ld-powerpc / aix-neg-reloc.s
1 .toc
2 .csect .text[PR]
3 .globl foo
4 .globl .foo
5 .csect foo[DS],3
6 foo:
7 .if size == 32
8 .long .foo, TOC[tc0], 0
9 .else
10 .llong .foo, TOC[tc0], 0
11 .endif
12
13 .csect .text[PR]
14 .foo:
15 LFB..0:
16 blr
17
18 .csect _foo.ro_[RO],4
19 .globl _GLOBAL__F_foo
20 _GLOBAL__F_foo:
21 .if size == 32
22 .vbyte 4,LFB..0-$
23 .else
24 .vbyte 8,LFB..0-$
25 .endif
26
27 # Make sure that .ref is also enough to keep _GLOBAL__F_foo
28 # when exporting foo.
29 .csect .text[PR]
30 .ref _GLOBAL__F_foo