[PATCH i386] Allow sibcalls in no-PLT PIC
Michael Matz
matz@suse.de
Tue May 19 14:48:00 GMT 2015
Hi,
On Fri, 15 May 2015, Rich Felker wrote:
> Forget lazy binding. It's dead anyway because serious distros want
> PIE+relro+bindnow+...
You keep saying this, but I can't help the feeling it's mostly because
musl doesn't support it ;-)
No, you don't have to use bindnow to get the effects of relro. Sure
there's more parts of the GOT protected with it, but if that's really that
much more hardened is up for debate.
> If people really want lazy binding, they can use options which support
> it, but I don't want to keep suffering the codegen cost of lazy binding
> despite never using it.
> There should be an option to generate optimal code equivalent to what
> you get with Alexander Monakov's patches for those of us who aren't
> trying to support this legacy feature that precludes good performance
> and precludes hardening.
H.J.'s branch is for _improving_ code on top of the no-plt code, it's not
replacing it or an alternative for it.
Ciao,
Michael.
More information about the Gcc-patches
mailing list