[PATCH] Introduce new gold plugin option "relocation-pic"
rafael.espindola at gmail.com
Tue Feb 17 08:05:11 PST 2015
On 13 February 2015 at 19:57, Dan Albert <danalbert at google.com> wrote:
> What happened to guarding this to only be enabled with LTO?
We should not do that. There is nothing pie specific about LTO.
> Enabling it for all Android targets isn't correct, as anything before Jelly Bean (~15% of devices) doesn't even support PIE. It currently is not possible to build an Android executable with clang that works on ICS or earlier.
> Since there is no way to override this behavior, I'd much prefer to just require that build tools supply -pie on their own.
I am perfectly fine with this.
More information about the llvm-commits