diff options
author | Dmitry Chestnykh <dm.chestnykh@gmail.com> | 2024-02-06 09:13:41 +0300 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-02-07 13:47:28 +0100 |
commit | 395f920c0a29dd565a66b268ea00fc444ae64086 (patch) | |
tree | 78e0c6905d3f98b1e53c5c562dea9f99c4e69983 /include/tls.h | |
parent | 0fef8e7e0661daa17a9ca17b087f55dcb752b378 (diff) |
ld.so: Add support of DT_RELR relocation format.
Nowadays modern libcs like Glibc and musl currently
support processing of RELATIVE relocations compressed
with DT_RELR format. However I have noticed that uClibc-ng
doesn't support this feature and if the source will be linked with
`-Wl,-z,pack-relative-relos` (bfd) or `-Wl,--pack-dyn-relocs=relr`
(lld) then ld.so cannot properly load the produced DSO.
This patch is intended to fix this issue and adds applying
of DT_RELR relative relocation.
Signed-off-by: Dmitry Chestnykh <dm.chestnykh@gmail.com>
Diffstat (limited to 'include/tls.h')
0 files changed, 0 insertions, 0 deletions