On Thu, Apr 04, 2013 at 09:39:18AM +0200, Paolo Bonzini wrote:
> > I'm willing to agree that PIE on x86 is going to be very slow due to
> > register pressure.
>
> Yes, but not on x86-64 which has %rip-relative addressing. It is
> probably a wash there.
It isn't, while the register pressure doesn't increase on x86-64 due to
PIC/PIE and PIC register setup doesn't require any code, whenever you access
data that aren't known at compile time to be in the binary/shared library
(i.e. static or hidden mostly), then for PIC/PIE it means an extra indirection
through GOT.
Jakub
--
devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/devel