29 Commits (b64d66d0b04fde0af63c3a292be423736294dca9)

Author SHA1 Message Date
Szabolcs Nagy 610c5a8524 fix TLS layout of TLS variant I when there is a gap above TP 8 years ago
Rich Felker b4b1e10364 reintroduce hardening against partially-replaced allocator 8 years ago
Rich Felker d610c14855 enable reclaim_gaps for fdpic 8 years ago
Alexander Monakov ce7ae11acf ldso, malloc: implement reclaim_gaps via __malloc_donate 8 years ago
Rich Felker 376b3c54bb disallow non-absolute rpath $ORIGIN for suid/sgid/AT_SECURE processes 8 years ago
Rich Felker f0b235c138 honor rpath $ORIGIN for ldd/ldso command with program in working dir 8 years ago
Rich Felker b3ae7beabb adjust dladdr dli_fbase definition to match other implementations 8 years ago
Rich Felker a71b46cfd2 fix malloc state corruption when ldso rejects loading a second libc 9 years ago
Rich Felker f3055e0163 allow specifying argv[0] when invoking a program via ldso command 9 years ago
Rich Felker 43c423af5b fix regression in dlopen promotion from RTLD_LOCAL to RTLD_GLOBAL 9 years ago
Rich Felker 66b53cfa88 ldso: avoid spurious & possible erroneous work for libs with no deps 9 years ago
Rich Felker 0c53178ec0 fix dlopen/dlsym regression opening libs already loaded at startup 9 years ago
Rich Felker a393d5cc8d precalculate gnu hash rather than doing it lazily in find_sym inner loop 9 years ago
Rich Felker cb525397bb remove unused refcnt field for shared libraries 9 years ago
Rich Felker c49d3c8ada avoid loading of multiple libc versions via explicit pathname 9 years ago
Rich Felker 6476b81357 emulate lazy relocation as deferrable relocation 9 years ago
Rich Felker 4823b13a75 reorder addend handling before symbol lookup in relocation code 9 years ago
Rich Felker 4ff234f6cb rework ldso handling of global symbol table for consistency 9 years ago
Szabolcs Nagy c9783e4d32 treat STB_WEAK and STB_GNU_UNIQUE like STB_GLOBAL in find_sym 10 years ago
rofl0r 1f53e7d00c fix crashes in x32 __tls_get_addr 9 years ago
Rich Felker 27b3fd68f6 fix crash from corrupted tls module list after failed dlopen 9 years ago
Bobby Bingham 54482898ab treat null vdso base same as missing 10 years ago
Rich Felker b418ea1b66 generalize ELF hash table types not to assume 32-bit entries 10 years ago
Szabolcs Nagy 5ffe515ca4 fix ldso reserved library name handling 10 years ago
Szabolcs Nagy 86e8cc0fd4 fix accidental global static pointer in ldso 10 years ago
Rich Felker 71392a91c3 generalize mips-specific reloc code not to hard-code sym/type encoding 10 years ago
Felix Fietkau c18d05f0e8 ldso: fix GDB dynamic linker info on MIPS 10 years ago
Rich Felker 140ad50cbf fix regression in dynamic-linked tls when both main app & libs have tls 10 years ago
Rich Felker 5552ce5200 move dynamic linker to its own top-level directory, ldso 10 years ago
Rich Felker 4058795d49 move static-linked stub dlsym out of dynlink.c 10 years ago
Rich Felker 14469371cd move static-linked stub dlopen out of dynlink.c 10 years ago
Rich Felker b98414732d move dlinfo out of dynlink.c 10 years ago
Rich Felker da1fe7f500 move dlclose out of dynlink.c to its own source file 10 years ago
Rich Felker 891e6547b4 move static-linked stub invalid dso handle checking out of dynlink.c 10 years ago
Rich Felker 4f8f038060 move static/stub version of dladdr out of dynlink.c 10 years ago
Rich Felker a4fbc82c8e factor dlerror and error-setting code out of dynlink.c 10 years ago
Rich Felker 0f5eb3de29 add arch/abi info to dynamic linker's id/version output 10 years ago
Szabolcs Nagy 12978acb30 ldso: fix the dtv update logic in __tls_get_new 11 years ago
Rich Felker 19caa25d0a remove undef weak refs to init/fini array symbols in libc.so 11 years ago
Rich Felker 5fe38516f7 use private maps even for read-only segments of FDPIC libraries 11 years ago
Rich Felker 9e0a317d8c remove use of SHARED macro in dynamic linker version reporting 11 years ago
Rich Felker d56460c939 unify static and dynamic linked implementations of thread-local storage 11 years ago
Rich Felker ad1cd43a86 unify static and dynamic libc init/fini code paths 11 years ago
Rich Felker 9439ebd766 fix dynamic loader library mapping for nommu systems 11 years ago
Rich Felker fead7e3fc0 fix missing bss handling in FDPIC ELF loader 11 years ago
Rich Felker bde0b4b92e fix dladdr treatment of function descriptors for fdpic 11 years ago
Rich Felker bc9b6ea0df fix visibility mismatch in dynamic linker stage 2 function definition 11 years ago
Rich Felker 6c5cad2aa5 fix dlsym RTLD_NEXT behavior for fdpic 11 years ago
Rich Felker d47d9a50f2 fix dlsym lookup of function symbols on fdpic 11 years ago
Rich Felker c87a521033 move calls to application init functions after crt1 entry point 11 years ago