Silence nds32 pic warnings
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elf / linkoncerdiff2.s
1 .section .gnu.linkonce.t.foo, "a", %progbits
2 .L1:
3 .globl symfoo
4 symfoo:
5 .long 0
6
7 .section .gnu.linkonce.t.bar, "a", %progbits
8 .L2:
9 .globl symbar
10 symbar:
11 .long 0
12
13 .section .gnu.linkonce.r.foo, "a", %progbits
14 .long .L1
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
20 */
21 .long .L2
22 .long symbar
This page took 0.029155 seconds and 4 git commands to generate.