9 Commits
Author SHA1 Message Date
Fangrui SongandRich Felker 25c4123629 elf.h: update RISC-V relocation types
Note: Some relocation types were only used by binutils and
accidentally exposed to previous versions of psABI. One of the values
has been reused by GOT32_PCREL.
2024-02-03 19:45:53 -05:00
Fangrui SongandRich Felker c5f4b2dfea elf.h: add ELFCOMPRESS_ZSTD 2022-12-14 09:34:32 -05:00
Fangrui SongandRich Felker d32dadd60e ldso: support DT_RELR relative relocation format
this resolves DT_RELR relocations in non-ldso, dynamic-linked objects.
2022-08-02 17:27:45 -04:00
Fangrui SongandRich Felker 72658c658b ldso: remove redundant switch case for REL_NONE
as a result of commit b6a6cd703f,
the REL_NONE case is now redundant.
2020-03-20 12:35:38 -04:00
Fangrui SongandRich Felker 4b5ba07650 configure: make AR and RANLIB customizable 2019-07-04 12:03:18 -04:00
Fangrui SongandRich Felker 94751d8ee4 remove stray .end directives from powerpc[64] asm
maintainer's note: these are not meaningful/correct/needed and the
clang integrated assembler errors out upon seeing them.
2019-07-02 17:01:39 -04:00
Fangrui SongandRich Felker f450c150d3 remove unused struct dso members from dynlink.c
maintainer's note: commit 9d44b6460a
removed their use.
2019-05-12 09:51:45 -04:00
RayandRich Felker 086a12b920 delete a redundant if in dynamic linker ctor execution loop 2019-04-02 10:36:49 -04:00
Fangrui SongandRich Felker 3d8322c7ad bsearch: simplify and optimize
maintainer's note: the key observation here is that the compared
element is the first slot of the second ceil(half) of the array, and
thus can be removed for further comparison when it does not match, so
that we descend into the second ceil(half)-1 rather than ceil(half)
elements. this change ensures that nel strictly decreases with each
iteration, so that the case of != but nel==1 does not need to be
special-cased anymore.
2018-07-23 15:14:29 -04:00