Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
e829695fcc880f8578c2b964ea2d090f0016c9d7
/
ldso
/
dynlink.c
e829695
avoid using undefined pointer arithmetic in dladdr
by Rich Felker
· 6 years ago
68a5a23
fix dynamic linker mapping/clearing bss in first/only LOAD segment
by Rich Felker
· 6 years ago
610c5a8
fix TLS layout of TLS variant I when there is a gap above TP
by Szabolcs Nagy
· 6 years ago
b4b1e10
reintroduce hardening against partially-replaced allocator
by Rich Felker
· 6 years ago
d610c14
enable reclaim_gaps for fdpic
by Rich Felker
· 6 years ago
ce7ae11
ldso, malloc: implement reclaim_gaps via __malloc_donate
by Alexander Monakov
· 6 years ago
376b3c5
disallow non-absolute rpath $ORIGIN for suid/sgid/AT_SECURE processes
by Rich Felker
· 7 years ago
f0b235c
honor rpath $ORIGIN for ldd/ldso command with program in working dir
by Rich Felker
· 7 years ago
b3ae7be
adjust dladdr dli_fbase definition to match other implementations
by Rich Felker
· 7 years ago
a71b46c
fix malloc state corruption when ldso rejects loading a second libc
by Rich Felker
· 7 years ago
f3055e0
allow specifying argv[0] when invoking a program via ldso command
by Rich Felker
· 7 years ago
43c423a
fix regression in dlopen promotion from RTLD_LOCAL to RTLD_GLOBAL
by Rich Felker
· 7 years ago
66b53cf
ldso: avoid spurious & possible erroneous work for libs with no deps
by Rich Felker
· 7 years ago
0c53178
fix dlopen/dlsym regression opening libs already loaded at startup
by Rich Felker
· 7 years ago
a393d5c
precalculate gnu hash rather than doing it lazily in find_sym inner loop
by Rich Felker
· 8 years ago
cb52539
remove unused refcnt field for shared libraries
by Rich Felker
· 8 years ago
c49d3c8
avoid loading of multiple libc versions via explicit pathname
by Rich Felker
· 8 years ago
6476b81
emulate lazy relocation as deferrable relocation
by Rich Felker
· 8 years ago
4823b13
reorder addend handling before symbol lookup in relocation code
by Rich Felker
· 8 years ago
4ff234f
rework ldso handling of global symbol table for consistency
by Rich Felker
· 8 years ago
c9783e4
treat STB_WEAK and STB_GNU_UNIQUE like STB_GLOBAL in find_sym
by Szabolcs Nagy
· 8 years ago
1f53e7d
fix crashes in x32 __tls_get_addr
by rofl0r
· 8 years ago
27b3fd6
fix crash from corrupted tls module list after failed dlopen
by Rich Felker
· 8 years ago
5448289
treat null vdso base same as missing
by Bobby Bingham
· 8 years ago
b418ea1
generalize ELF hash table types not to assume 32-bit entries
by Rich Felker
· 8 years ago
5ffe515
fix ldso reserved library name handling
by Szabolcs Nagy
· 8 years ago
86e8cc0
fix accidental global static pointer in ldso
by Szabolcs Nagy
· 8 years ago
71392a9
generalize mips-specific reloc code not to hard-code sym/type encoding
by Rich Felker
· 9 years ago
c18d05f
ldso: fix GDB dynamic linker info on MIPS
by Felix Fietkau
· 9 years ago
140ad50
fix regression in dynamic-linked tls when both main app & libs have tls
by Rich Felker
· 9 years ago
5552ce5
move dynamic linker to its own top-level directory, ldso
by Rich Felker
· 9 years ago
[Renamed (99%) from src/ldso/dynlink.c]
4058795
move static-linked stub dlsym out of dynlink.c
by Rich Felker
· 9 years ago
1446937
move static-linked stub dlopen out of dynlink.c
by Rich Felker
· 9 years ago
b984147
move dlinfo out of dynlink.c
by Rich Felker
· 9 years ago
da1fe7f
move dlclose out of dynlink.c to its own source file
by Rich Felker
· 9 years ago
891e654
move static-linked stub invalid dso handle checking out of dynlink.c
by Rich Felker
· 9 years ago
4f8f038
move static/stub version of dladdr out of dynlink.c
by Rich Felker
· 9 years ago
a4fbc82
factor dlerror and error-setting code out of dynlink.c
by Rich Felker
· 9 years ago
0f5eb3d
add arch/abi info to dynamic linker's id/version output
by Rich Felker
· 9 years ago
12978ac
ldso: fix the dtv update logic in __tls_get_new
by Szabolcs Nagy
· 9 years ago
19caa25
remove undef weak refs to init/fini array symbols in libc.so
by Rich Felker
· 9 years ago
5fe3851
use private maps even for read-only segments of FDPIC libraries
by Rich Felker
· 9 years ago
9e0a317
remove use of SHARED macro in dynamic linker version reporting
by Rich Felker
· 9 years ago
d56460c
unify static and dynamic linked implementations of thread-local storage
by Rich Felker
· 9 years ago
ad1cd43
unify static and dynamic libc init/fini code paths
by Rich Felker
· 9 years ago
9439ebd
fix dynamic loader library mapping for nommu systems
by Rich Felker
· 9 years ago
fead7e3
fix missing bss handling in FDPIC ELF loader
by Rich Felker
· 9 years ago
bde0b4b
fix dladdr treatment of function descriptors for fdpic
by Rich Felker
· 9 years ago
bc9b6ea
fix visibility mismatch in dynamic linker stage 2 function definition
by Rich Felker
· 9 years ago
6c5cad2
fix dlsym RTLD_NEXT behavior for fdpic
by Rich Felker
· 9 years ago
d47d9a5
fix dlsym lookup of function symbols on fdpic
by Rich Felker
· 9 years ago
c87a521
move calls to application init functions after crt1 entry point
by Rich Felker
· 9 years ago
78f4302
fix breakage in non-fdpic dynamic linker init/fini processing
by Rich Felker
· 9 years ago
30fdc06
fix resolving interp string address on fdpic ldd command
by Rich Felker
· 9 years ago
eaf7ab6
add real fdpic loading of shared libraries
by Rich Felker
· 9 years ago
7a9669e
add general fdpic support in dynamic linker and arch support for sh
by Rich Felker
· 9 years ago
3958144
factor symbol counting out of dladdr as its own function
by Rich Felker
· 9 years ago
2a54733
refactor some more dynamic linker load address computations
by Rich Felker
· 9 years ago
e6076c9
remove some useless casts in dynamic linker
by Rich Felker
· 9 years ago
a735f53
further refactoring of dynamic linker load address computations
by Rich Felker
· 9 years ago
301335a
begin refactoring load address computations in dynamic linker
by Rich Felker
· 9 years ago
8f08a58
dynlink.c: pass gnu-hash table pointer to gnu_lookup
by Alexander Monakov
· 9 years ago
5b4286e
dynlink.c: slim down gnu_lookup
by Alexander Monakov
· 9 years ago
84389c6
dynlink.c: use bloom filter in gnu hash lookup
by Alexander Monakov
· 9 years ago
66d4578
dynlink.c: use a faster expression in gnu_hash
by Alexander Monakov
· 9 years ago
6ba5517
fix local-dynamic model TLS on mips and powerpc
by Rich Felker
· 9 years ago
ce337da
make dynamic linker work around MAP_FAILED mmap failure on nommu kernels
by Rich Felker
· 9 years ago
75eceb3
ignore ENOSYS error from mprotect in pthread_create and dynamic linker
by Rich Felker
· 9 years ago
75ce450
fix regression in pre-v7 arm on kernels with kuser helper removed
by Rich Felker
· 9 years ago
b6a6cd7
fix dynamic linker regression processing R_*_NONE type relocations
by Rich Felker
· 9 years ago
9bbddf7
reprocess all libc/ldso symbolic relocations in dynamic linking stage 3
by Rich Felker
· 9 years ago
768b82c
move call to dynamic linker stage-3 into stage-2 function
by Rich Felker
· 9 years ago
c093e2e
reprocess libc/ldso RELA relocations in stage 3 of dynamic linking
by Rich Felker
· 9 years ago
c5ab5bd
remove always-true conditional in dynamic linker TLSDESC processing
by Rich Felker
· 9 years ago
97b72d2
remove redundant code in do_dlsym function
by Rich Felker
· 9 years ago
01d4274
make dlerror state and message thread-local and dynamically-allocated
by Rich Felker
· 9 years ago
1b1cafa
apply hidden visibility to tlsdesc accessor functions
by Rich Felker
· 9 years ago
326e126
ensure debugger hook for dynamic linker does not point to a PLT slot
by Rich Felker
· 9 years ago
72b25dd
use hidden visibility for call from dlsym to internal __dlsym
by Rich Felker
· 9 years ago
bc081f6
fix inconsistent visibility for internal __tls_get_new function
by Rich Felker
· 9 years ago
f4f9562
remove initializers for decoded aux/dyn arrays in dynamic linker
by Rich Felker
· 9 years ago
19a1fe6
remove remnants of support for running in no-thread-pointer mode
by Rich Felker
· 9 years ago
71f099c
move thread pointer setup to beginning of dynamic linker stage 3
by Rich Felker
· 9 years ago
0f66fce
stabilize dynamic linker's layout of static TLS
by Rich Felker
· 9 years ago
f3ddd17
dynamic linker bootstrap overhaul
by Rich Felker
· 9 years ago
0770962
fix rpath string memory leak on failed dlopen
by Rich Felker
· 9 years ago
2963a9f
halt dynamic linker library search on errors resolving $ORIGIN in rpath
by Rich Felker
· 9 years ago
5d1c8c9
harden dynamic linker library path search
by Rich Felker
· 9 years ago
204a69d
copy the dtv pointer to the end of the pthread struct for TLS_ABOVE_TP archs
by Szabolcs Nagy
· 10 years ago
bd67959
fix over-alignment of TLS, insufficient builtin TLS on 64-bit archs
by Rich Felker
· 10 years ago
56fbaa3
make all objects used with atomic operations volatile
by Rich Felker
· 10 years ago
d8dc2b7
adapt dynamic linker for new binutils versions that omit DT_RPATH
by Rich Felker
· 10 years ago
d8bdc97
save auxv pointer into libc struct early in dynamic linker startup
by Rich Felker
· 10 years ago
4fe57ca
add dlerror message for static-linked dlsym failure
by Rich Felker
· 10 years ago
dc65fdd
fix dlerror when using dlopen with a static libc
by Clément Vasseur
· 10 years ago
5954931
explicitly reject empty names in dynamic linker load_library function
by Rich Felker
· 10 years ago
349381a
make dynamic linker accept colon as a separator for LD_PRELOAD
by Rich Felker
· 10 years ago
2d8cc92
fix regression in mips dynamic linker
by Rich Felker
· 10 years ago
9a4ad02
fix regression in dynamic linker error reporting
by Rich Felker
· 10 years ago
5ba238e
separate __tls_get_addr implementation from dynamic linker/init_tls
by Rich Felker
· 10 years ago
Next »