https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116470
--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> --- They are in different sections: [hjl@gnu-cfl-3 tmp]$ cat foo.s .text .align 2 .p2align 4 .LM19367: pushl %ebp .section .text.unlikely .LM19368: nop .section .debug_line,"",@progbits .dc.a .LM19368-.LM19367 [hjl@gnu-cfl-3 tmp]$ gcc -c foo.s -m32 foo.s: Assembler messages: foo.s:10: Error: can't resolve .text.unlikely - .LM19367 [hjl@gnu-cfl-3 tmp]$