https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119386
--- Comment #19 from Alexander Monakov <amonakov at gcc dot gnu.org> --- The question is why prior to your patch GCC emitted mcount@GOT (i.e. avoiding the PLT trampoline for mcount on purpose), going all the way back to gcc-3.4 (and probably further).