https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99618
--- Comment #16 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Richard Biener from comment #15) > So as expected all of the linkers are happy with > > .section .gnu.debuglto_.debug_macro,"e",@progbits > .Ldebug_macro0: > .long debug_macro2 > .section .gnu.debuglto_.debug_macro,"eG",@progbits,wm4,comdat > .globl debug_macro2 > debug_macro2: > .value 0x4 You can put the first .gnu.debuglto_.debug_macro in a comdat group section.