[Bug tree-optimization/86435] -fsemantic-interposition does not appear to have any effect
fw at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jul 8 16:05:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86435
--- Comment #4 from Florian Weimer <fw at gcc dot gnu.org> ---
(In reply to Andreas Schwab from comment #3)
> But the assembler is allowed to resolve the reference directly without the
> possibility for interposition.
Hmm. The assembler would still produce a relocation even if there was a direct
call to a locally defined function. However, the link editor does not appear
to preserve a PLT call in the main program, preventing interposition at link
time.
More information about the Gcc-bugs
mailing list