diff options
author | Jan Klötzke <jan.kloetzke@kernkonzept.com> | 2025-03-19 08:03:12 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2025-03-22 09:11:14 +0100 |
commit | b99b7756228faecb8d506dba64bdb4970a965d5a (patch) | |
tree | 631a85bcdadcd18efc42d0321a6f45334c36e16d /ldso/COPYRIGHT | |
parent | 278ac6b3098315cddec8f71f27bd8de22e53ca6c (diff) |
Do not rely on unrelocated GOT entries
The LLVM linker seems to be quite clever. When resolving relocations,
accesses to the GOT are potentially replaced by PC relative addressing
to the requested symbol. This breaks the old method of calculating the
load address by using an unrelocated GOT entry value. Instead, rely on
__ehdr_start having a link address of zero.
Signed-off-by: Marcus Haehnel <marcus.haehnel@kernkonzept.com>
Diffstat (limited to 'ldso/COPYRIGHT')
0 files changed, 0 insertions, 0 deletions