This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: R_X86_64_COPY bug


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]