https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119386
--- Comment #29 from Alexander Monakov <amonakov at gcc dot gnu.org> --- (In reply to Alexander Monakov from comment #21) > GOT indirection for mcount has been there from the very beginning: > https://gcc.gnu.org/cgit/gcc/tree/gcc/config/i386/i386. > h?id=c98f874233428d7e6ba83def7842fd703ac0ddf1#n623 Heh — as this pre-dates introduction of ELF, it refers to GOT in the a.out format! Maybe it was necessary for a.out and was never changed for ELF?