180 Commits (2e55da911896a91e95b24ab5dc8a9d9b0718f4de)

Author SHA1 Message Date
Rich Felker de45164eff add options when explicitly invoking dynamic loader 12 years ago
Timo Teräs 2b74315d8a remove lazy ssp initialization 12 years ago
Rich Felker 436d3723af if dynamic linker's relro mprotect call fails, include reason in message 12 years ago
Rich Felker fa7248c971 cosmetic improvements in dynamic linker cleanup 12 years ago
Timo Teräs 8769196ffb clean up internal dynamic linker functions enumerating phdrs 12 years ago
Timo Teräs e13a2b8953 implement PT_GNU_RELRO support 12 years ago
Rich Felker dab441aea2 always initialize thread pointer at program start 12 years ago
Rich Felker aacd348637 rename superh port to "sh" for consistency 12 years ago
Bobby Bingham 3a3c813e08 superh port 13 years ago
rofl0r 664cd34192 x32 port (diff against vanilla x86_64) 13 years ago
rofl0r 323272db17 import vanilla x86_64 code as x32 13 years ago
Rich Felker 69003e0590 fix crash in dynamic linker when certain copy relocations are unsatisfied 12 years ago
Rich Felker 839cc4e6da const-qualify the address argument to dladdr 13 years ago
Rich Felker 0311d1dd17 fix dynamic linker entry point for microblaze 13 years ago
Szabolcs Nagy 571744447c include cleanups: remove unused headers and add feature test macros 13 years ago
Rich Felker 179ab5a505 add infrastructure to record and report the version of libc.so 13 years ago
Szabolcs Nagy 2b1f2f146d remove duplicate includes from dynlink.c, strfmon.c and getaddrinfo.c 13 years ago
Rich Felker 7886985e13 fix uninitialized variable in dladdr 13 years ago
Szabolcs Nagy b20760c023 support configurable page size on mips, powerpc and microblaze 13 years ago
Rich Felker ff4be700d0 do not use default when dynamic linker fails to open existing path file 13 years ago
Rich Felker 0f9b1f672b make dlopen honor the rpath of the main program 13 years ago
Rich Felker d2c42ed25f fix bugs in $ORIGIN handling 13 years ago
Rich Felker cc51505a32 use AT_EXECFN, if available, for dynamic linker to identify main program 13 years ago
Rich Felker a897a20a57 add rpath $ORIGIN processing to dynamic linker 13 years ago
Rich Felker 709355e1f6 add recursive rpath support to dynamic linker 13 years ago
Rich Felker 72482f9020 work around libraries with versioned symbols in dynamic linker 13 years ago
Rich Felker 7c6c290695 add system for resetting TLS to initial values 13 years ago
Rich Felker 3e3753c1a8 move RPATH search after LD_LIBRARY_PATH search 13 years ago
Rich Felker 8d01dfc72a if map_library has allocated a buffer for phdrs, free it on success too 13 years ago
Rich Felker d5884a574c improve error handling in map_library and support long phdrs 13 years ago
Rich Felker 7443dd271c fix uninitialized dyn variable in map_library 13 years ago
Rich Felker 27593d3a35 fix theoretical out-of-bound access in dynamic linker 13 years ago
Rich Felker f8c376da95 prevent passing PT_INTERP name to dlopen from double-loading libc 13 years ago
Rich Felker 339516addb add some sanity checks in dynamic loader code 13 years ago
Rich Felker c4f49a6a72 fix bug where read error was treated as success reading library headers 13 years ago
Rich Felker d0c6cb05e7 don't call null pointer if DT_INIT/DT_FINI are null 13 years ago
Rich Felker f44e239f9f fix indention-with-spaces 13 years ago
Rich Felker a97a050eca make ldd report the libc/dynamic linker itself 13 years ago
Rich Felker 876748ead3 fix computation of entry point and main app phdrs when invoking via ldso 13 years ago
Rich Felker e152ee9778 support STB_GNU_UNIQUE symbol bindings in dynamic linker 13 years ago
Rich Felker 17276be316 move the dynamic linker's jmp_buf from static to automatic storage 13 years ago
Rich Felker 1da53dad27 disable legacy init/fini processing on ARM 13 years ago
Rich Felker 7586360bad add support for init/fini array in main program, and greatly simplify 13 years ago
Rich Felker 1b413572b2 fix order of fini_array execution for shared libs 13 years ago
Rich Felker e69ae844dc add support for init_array/fini_array ctors/dtors to dynamic linker 13 years ago
Rich Felker f389c4984a make the dynamic linker find its path file relative to its own location 13 years ago
Rich Felker 30763fd01b fix invalid library phdr pointers passed to callback from dl_iterate_phdr 13 years ago
Rich Felker 780cbbe63a implement minimal dlinfo function 13 years ago
Rich Felker 509b50eda8 fix missing synchronization in calls from dynamic linker to global ctors 13 years ago
Rich Felker 59b481d970 remove useless conditional before free from dynamic linker path code 13 years ago