1 #source: discard1.s 2 #source: discard2.s 3 #ld: -r -T discard.ld 4 #readelf: -r 5 #target: x86_64-*-linux-gnu* i?86-*-linux-gnu i?86-*-gnu* 6 7 Relocation section '.rel.*.debug_info' at offset 0x[0-9a-z]+ contains 2 entries: 8 [ \t]+Offset[ \t]+Info[ \t]+Type[ \t]+Sym.* 9 [0-9a-f]+[ \t]+[0-9a-f]+[ \t]+R_.*[ \t]+[0-9a-f]+[ \t]+bar.* 10 [0-9a-f]+[ \t]+[0-9a-f]+[ \t]+R_.*[ \t]+[0-9a-f]+[ \t]+here.* 11 #pass 12