bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/18270] [AArch64] relocation truncated to fit: R_AARCH64_LD64_GOT


From: oranevskyy at accesssoftek dot com
Subject: [Bug ld/18270] [AArch64] relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against
Date: Tue, 10 Nov 2015 17:25:18 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18270

Oleg Ranevskyy <oranevskyy at accesssoftek dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oranevskyy at accesssoftek dot 
com

--- Comment #9 from Oleg Ranevskyy <oranevskyy at accesssoftek dot com> ---
This patch fixes the errors but it introduces another problem, however. It
lacks the _bfd_aarch64_elf_resolve_relocation call and therefore inserts the
absolute GOT entry address, while an offset to the GOT entry should be used
instead.

The missing call has been silently added as a part of another commit:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=99ad26cb0d4f9152dbe5ed03b74020cc52d84d94;hp=a921b5bd708cc6e8afa3cf33443cda54b4e8cae6

2.25.1 is now broken. The _bfd_aarch64_elf_resolve_relocation call should be
backported to the 2.25.1 branch to fix it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]