https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88302
Alexander Monakov <amonakov at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amonakov at gcc dot gnu.org
--- Comment #2 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
The way GCC exports internal API for plugins, all functions are externally
visible. Unless plugins are disabled, the linker receives -rdynamic and so all
non-static functions appear in the ELF dynamic table.
It's possible but complicated to solve this anyway by having two entrypoints
for direct and indirect calls.