Commit | Line | Data |
---|---|---|
80c29487 | 1 | .section .gnu.linkonce.t.foo, "a", %progbits |
dd803a24 | 2 | .L1: |
80c29487 JK |
3 | .globl symfoo |
4 | symfoo: | |
5 | .long 0 | |
6 | ||
7 | .section .gnu.linkonce.t.bar, "a", %progbits | |
dd803a24 | 8 | .L2: |
80c29487 JK |
9 | .globl symbar |
10 | symbar: | |
11 | .long 0 | |
12 | ||
13 | .section .gnu.linkonce.r.foo, "a", %progbits | |
dd803a24 | 14 | .long .L1 |
80c29487 JK |
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 | */ | |
dd803a24 | 21 | .long .L2 |
80c29487 | 22 | .long symbar |