diff options
author | Jan Klötzke <jan.kloetzke@kernkonzept.com> | 2025-03-18 07:41:47 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2025-03-22 09:11:30 +0100 |
commit | 03ca3d2fd4853c50f6bacbc3ff312d01a6ab9ad2 (patch) | |
tree | 2ee4294df1a0308124e91438fc409c2a4dc500cd /libc/termios | |
parent | b99b7756228faecb8d506dba64bdb4970a965d5a (diff) |
Use __ehdr_start to compute load address
So far, uclibc relied on the informal behaviour of GNU ld to put the
link address of the _DYNAMIC symbol in the first GOT entry. This does
not work with LLVM lld which does not follow this convention.
Consequently, glibc has abandoned its usage in favour of using
__ehdr_start as magic symbol to infer the load address [1].
Note that this implies that the link time address of __ehdr_start is
*always* 0! So far, this seems to be the case on all platforms.
[1] https://sourceware.org/bugzilla/show_bug.cgi?id=28203
Signed-off-by: Marcus Haehnel <marcus.haehnel@kernkonzept.com>
Diffstat (limited to 'libc/termios')
0 files changed, 0 insertions, 0 deletions