[PATCH] Introduce new gold plugin option "relocation-pic"
Rafael EspĂndola
rafael.espindola at gmail.com
Thu Apr 3 09:26:21 PDT 2014
>> If you have to work around this, my suggestion would be to pass -pie
>> to the linker even when that is the default.
>
> I agree with your suggestion regarding original problem.
> Passing -pie seems to me the only solution/workaround for now.
> Possible problems with options -Wl could be easily fixed by passing -shared
> option to compiler.
> Can I proceed further with this solution? It's already implemented in my
> last patch.
llvm-reviews.chandlerc.com/D2668 is fine by me.
Just check with Alexey Samsonov if the interaction between -static and
Sanitize.hasZeroBaseShadow() is correct.
Cheers,
Rafael
More information about the llvm-commits
mailing list