Rich Felker
|
839cc4e6da
const-qualify the address argument to dladdr
|
11 years ago |
Rich Felker
|
179ab5a505
add infrastructure to record and report the version of libc.so
|
11 years ago |
Szabolcs Nagy
|
2b1f2f146d
remove duplicate includes from dynlink.c, strfmon.c and getaddrinfo.c
|
11 years ago |
Rich Felker
|
7886985e13
fix uninitialized variable in dladdr
|
11 years ago |
Szabolcs Nagy
|
b20760c023
support configurable page size on mips, powerpc and microblaze
|
11 years ago |
Rich Felker
|
ff4be700d0
do not use default when dynamic linker fails to open existing path file
|
11 years ago |
Rich Felker
|
0f9b1f672b
make dlopen honor the rpath of the main program
|
11 years ago |
Rich Felker
|
d2c42ed25f
fix bugs in $ORIGIN handling
|
11 years ago |
Rich Felker
|
cc51505a32
use AT_EXECFN, if available, for dynamic linker to identify main program
|
11 years ago |
Rich Felker
|
a897a20a57
add rpath $ORIGIN processing to dynamic linker
|
11 years ago |
Rich Felker
|
709355e1f6
add recursive rpath support to dynamic linker
|
11 years ago |
Rich Felker
|
72482f9020
work around libraries with versioned symbols in dynamic linker
|
11 years ago |
Rich Felker
|
7c6c290695
add system for resetting TLS to initial values
|
11 years ago |
Rich Felker
|
3e3753c1a8
move RPATH search after LD_LIBRARY_PATH search
|
11 years ago |
Rich Felker
|
8d01dfc72a
if map_library has allocated a buffer for phdrs, free it on success too
|
11 years ago |
Rich Felker
|
d5884a574c
improve error handling in map_library and support long phdrs
|
11 years ago |
Rich Felker
|
7443dd271c
fix uninitialized dyn variable in map_library
|
11 years ago |
Rich Felker
|
27593d3a35
fix theoretical out-of-bound access in dynamic linker
|
11 years ago |
Rich Felker
|
f8c376da95
prevent passing PT_INTERP name to dlopen from double-loading libc
|
11 years ago |
Rich Felker
|
339516addb
add some sanity checks in dynamic loader code
|
11 years ago |
Rich Felker
|
c4f49a6a72
fix bug where read error was treated as success reading library headers
|
11 years ago |
Rich Felker
|
d0c6cb05e7
don't call null pointer if DT_INIT/DT_FINI are null
|
11 years ago |
Rich Felker
|
f44e239f9f
fix indention-with-spaces
|
11 years ago |
Rich Felker
|
a97a050eca
make ldd report the libc/dynamic linker itself
|
11 years ago |
Rich Felker
|
876748ead3
fix computation of entry point and main app phdrs when invoking via ldso
|
11 years ago |
Rich Felker
|
e152ee9778
support STB_GNU_UNIQUE symbol bindings in dynamic linker
|
11 years ago |
Rich Felker
|
17276be316
move the dynamic linker's jmp_buf from static to automatic storage
|
11 years ago |
Rich Felker
|
1da53dad27
disable legacy init/fini processing on ARM
|
11 years ago |
Rich Felker
|
7586360bad
add support for init/fini array in main program, and greatly simplify
|
11 years ago |
Rich Felker
|
1b413572b2
fix order of fini_array execution for shared libs
|
11 years ago |