https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119386
--- Comment #25 from Alexander Monakov <amonakov at gcc dot gnu.org> --- (In reply to Ard Biesheuvel from comment #24) > - never emit 'call mcount' > - emit 'call *mcount@GOTPCREL(%rip)' if -fno-plt > - emit 'call mcount@PLT' otherwise As discussed, gcc was always using GOT indirection for mcount since the beginning, so the above would be a substantial change.