https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88302

--- Comment #3 from Jan Hubicka <hubicka at ucw dot cz> ---
> 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.

Yep, good point.
It would be good to get plugin api sorted out, but it is kind of
orthogonal issue.  For now I am testing with --disable-plugin.
Implementing this would speed up other programs too.

Honza

Reply via email to