Home | History | Annotate | Download | only in ld-elf
      1 	.section	.gnu.linkonce.t.foo, "a", %progbits
      2 1:
      3 	.globl	symfoo
      4 symfoo:
      5 	.long	0
      6 
      7 	.section	.gnu.linkonce.t.bar, "a", %progbits
      8 2:
      9 	.globl	symbar
     10 symbar:
     11 	.long	0
     12 
     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
     20    */
     21 	.long	2b
     22 	.long	symbar
     23