This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [AArch64/bfd/2.24] relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against
- From: Richard Henderson <rth at redhat dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>, David Abdurachmanov <david dot abdurachmanov at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Wed, 16 Jul 2014 08:50:22 -0700
- Subject: Re: [AArch64/bfd/2.24] relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against
- Authentication-results: sourceware.org; auth=none
- References: <B98BFD30-327B-47F6-94F3-CAD15DD20917 at gmail dot com> <87r41r4oso dot fsf at igel dot home> <8AFB5299-E8E3-4878-BA28-9329022A533D at gmail dot com> <m2wqbhzpxz dot fsf at linux-m68k dot org>
On 07/13/2014 12:19 AM, Andreas Schwab wrote:
> David Abdurachmanov <david.abdurachmanov@gmail.com> writes:
>
>> 000000000007e20c <Curl_FormReader>:
>
> This is misaligned. R_AARCH64_LD64_GOT_LO12_NC requires 8 byte
> alignment.
No, that's a GOT relocation. A GOT entry should always be 8-byte aligned.
You're thinking of R_AARCH64_LDST64_ABS_LO12_NC perhaps?
r~