R_X86_64_COPY bug

Suresh Siddha sbsiddha@gmail.com
Sat Apr 6 09:00:00 GMT 2013


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.

Thanks,
-Suresh Siddha



More information about the Binutils mailing list