This is the mail archive of the
mailing list for the binutils project.
Re: R_X86_64_COPY bug
- From: Suresh Siddha <sbsiddha at gmail dot com>
- To: Alexander Ivchenko <aivchenk at gmail dot com>
- Cc: Fredrick Prashanth John Berchmans <fredrickprashanth at gmail dot com>, binutils at sourceware dot org, hjl dot tools at gmail dot com, nasuku at yahoo dot com
- Date: Sat, 6 Apr 2013 01:59:57 -0700
- Subject: Re: R_X86_64_COPY bug
- References: <CACwgvgW5SNsXL2vND_qhgqO7RRsHwKyk+N-q5sTakeC9vwV0BA at mail dot gmail dot com> <20130406071305 dot GD3208 at bubble dot grove dot modra dot org> <CALmL7E92MjbsXbou8T3w895G9ahtd1tvC2JwREwV9EzT4Px20Q at mail dot gmail dot com> <CACysShj5aH4pWZHjxj74-B7z8a8d_NTKUyEcN8DFJXxaCa5=6g at mail dot gmail dot com>
On Sat, Apr 6, 2013 at 1:49 AM, Alexander Ivchenko <firstname.lastname@example.org> 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