R_X86_64_COPY bug
H.J. Lu
hjl.tools@gmail.com
Mon Apr 8 15:55:00 GMT 2013
On Sat, Apr 6, 2013 at 1:59 AM, Suresh Siddha <sbsiddha@gmail.com> wrote:
> On Sat, Apr 6, 2013 at 1:49 AM, Alexander Ivchenko <aivchenk@gmail.com> wrote:
>> Have you tried '-z nocopyrelocs' option for linker which tries to
>> avoid COPY relocations?
>
> yes, that didn't help both on x86_64 and arm.
>
>> And also, as far as I understand, you can make
>> your binary 'pie'
>
> Combination of pie options that help seem to vary from arch to arch.
> Only "-fpie -pie" seems to help on arm, whereas on x86_64 any of
> fpie/fPIE option's seem to help. But I guess these options come with a
> performance cost.
-pie -fPIE works on x86-64.
--
H.J.
More information about the Binutils
mailing list