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?

Reply via email to