163 Commits (7886985e1390a64a97c63d9ff182a6483dd107cc)

Author SHA1 Message Date
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
Rich Felker 11bc173765 fix dynamic linker handling of empty path file or error reading path file 13 years ago
Rich Felker 8813c956e5 make newline-delimited dynamic linker path file actually work 13 years ago
Rich Felker 44b4d09fc0 ensure that thread dtv pointer is never null to optimize __tls_get_addr 13 years ago
Rich Felker 8c203eae1e make dynamic linker accept : or \n as path separator 13 years ago
Rich Felker 74025c80ce fix uninitialized map_len being used in munmap failure paths in load_library 13 years ago
Rich Felker 4d07e5521e add support for RTLD_NOLOAD to dlopen 14 years ago
Rich Felker 637dd2d383 fix regression in dlsym: rejection of special RTLD_* handles as invalid 14 years ago
Rich Felker 4d98280388 fix warning building dynlink.c stub for static libc 14 years ago
Rich Felker cdc5c74c6a fix bug in dladdr that prevented resolving addresses in the PLT 14 years ago
Rich Felker 6468fc9e37 check for invalid handles in dlsym/dlclose 14 years ago
Rich Felker 1d7c4f8f93 fix breakage in ldd (failure to print library load address) 14 years ago
Rich Felker a7936f61b2 fix ordering of shared library ctors with respect to libc init 14 years ago
Rich Felker 75a31faaed eliminate gdb complaints about missing linux-gate.so.1 14 years ago
Rich Felker 71955b2ff8 fix typo in dynamic linker path file loading code 14 years ago
Rich Felker bb9abdef48 arg-skipping code for powerpc dynamic linker 14 years ago
Rich Felker a4db94ab78 dynamic linking support for powerpc 14 years ago
Rich Felker d1bf452d75 fix indention with spaces in powerpc asm 14 years ago