* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / ld / testsuite / ld-elf / linkoncerdiff2.s
blob1e8c2baefd088e9c5879deb0cf31bf4ca83574a4
1 .section .gnu.linkonce.t.foo, "a", %progbits
2 1:
3 .globl symfoo
4 symfoo:
5 .long 0
7 .section .gnu.linkonce.t.bar, "a", %progbits
8 2:
9 .globl symbar
10 symbar:
11 .long 0
13 .section .gnu.linkonce.r.foo, "a", %progbits
14 .long 1b
15 .long symfoo
16 /* ld currently incorrectly silently discards this relocation. Just such
17 relocations are never produced by g++-3.4 so this suppressed error message
18 is not a problem:
19 #error: `.gnu.linkonce.t.bar' referenced in section `.gnu.linkonce.r.foo' of tmpdir/dump1.o: defined in discarded section `.gnu.linkonce.t.bar' of tmpdir/dump1.o
21 .long 2b
22 .long symbar