https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90289
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |MOVED --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- GCC produces: call f So it is up to the assembler to decide if there is a relocation or not to the "global" symbol f. The assembler comes from the binutils project. NOTE this is most likely not a bug really and done on purpose.