https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71922 --- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- More to the point GCC just outputs: .globl FUNC .type FUNC, @gnu_indirect_function .set FUNC, __resolve_FUNC How did you configure GCC?