[Bug target/119386] [14/15 Regression][x64] Shared libraries can no longer be compiled with profiling
ardb at kernel dot org
gcc-bugzilla@gcc.gnu.org
Thu Mar 20 15:54:58 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119386
--- Comment #16 from Ard Biesheuvel <ardb at kernel dot org> ---
OK, so in summary, the fallthrough for CM_SMALL_PIC/CM_MEDIUM_PIC should be
removed, and instead, a 'call mcount@PLT' should be emitted.
I suppose this should check for -fno-plt as well, and revert to 'call
*mcount@GOTPCREL(%rip)' in that case?
More information about the Gcc-bugs
mailing list