https://sourceware.org/bugzilla/show_bug.cgi?id=27590
--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> --- I think this is a GCC bug: [hjl@gnu-cfl-2 pr27590]$ cat bad.s .section .gnu.debuglto_.debug_macro,"e",@progbits .Ldebug_macro0: .long .Ldebug_macro2 .section .gnu.debuglto_.debug_macro,"eG",@progbits,wm4,comdat .Ldebug_macro2: .value 0x4 [hjl@gnu-cfl-2 pr27590]$ gcc -c bad.s [hjl@gnu-cfl-2 pr27590]$ ld -r bad.o bad.o `.gnu.debuglto_.debug_macro' referenced in section `.gnu.debuglto_.debug_macro' of bad.o: defined in discarded section `.gnu.debuglto_.debug_macro[wm4]' of bad.o [hjl@gnu-cfl-2 pr27590]$ ld.gold -r bad.o bad.o [hjl@gnu-cfl-2 pr27590]$ readelf -r a.out Relocation section '.rela.gnu.debuglto_.debug_macro' at offset 0x78 contains 1 entry: Offset Info Type Sym. Value Sym. Name + Addend 000000000000 00020000000a R_X86_64_32 0000000000000000 .gnu.debuglto_.de[...] + 0 [hjl@gnu-cfl-2 pr27590]$ readelf -x .gnu.debuglto_.debug_macro a.out Hex dump of section '.gnu.debuglto_.debug_macro': NOTE: This section has relocations against it, but these have NOT been applied to this dump. 0x00000000 00000000 00000000 ........ Hex dump of section '.gnu.debuglto_.debug_macro': 0x00000000 0400 .. [hjl@gnu-cfl-2 pr27590]$ -- You are receiving this mail because: You are on the CC list for the bug.