https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119386
Alexander Monakov <amonakov at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #10 from Alexander Monakov <amonakov at gcc dot gnu.org> --- (In reply to Richard Biener from comment #8) > > ld --version > GNU ld (GNU Binutils; SUSE Linux Enterprise 15) 2.43.1.20241209-150100.7.52 > > Relocation section '.rela.text' at offset 0x128 contains 1 entry: > Offset Info Type Sym. Value Sym. Name + > Addend > 000000000009 000400000002 R_X86_64_PC32 0000000000000000 mcount - 4 > > I'll note that 'mcount' is simply called directly. I have no idea why > that behavior should be distro-specific. Note that gas from binutils-2.42 produces PLT32 reloc for plain 'call mcount'.