This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/86435] -fsemantic-interposition does not appear to have any effect


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]