98 Commits (b54f481fbcc5637226fc3d2e0404b7f95b3e2f14)

Author SHA1 Message Date
Érico Nogueira b7a130e0b9 remove unnecessary cast for map_library return 5 years ago
Rich Felker aad50fcd79 fix regression in dl_iterate_phdr reporting of modules with no TLS 5 years ago
Rich Felker 521b4d27a0 fix dl_iterate_phdr dlpi_tls_data reporting to match spec 5 years ago
Rich Felker cfdfd5ea3c don't fail to map library/executable with zero-length segment maps 5 years ago
Rich Felker 167390f055 lift child restrictions after multi-threaded fork 6 years ago
Rich Felker 34952fe5de convert malloc use under libc-internal locks to use internal allocator 6 years ago
Rich Felker c1e5d243b7 drop use of getdelim/stdio in dynamic linker 6 years ago
rcombs ccba23459e ldso: notify the debugger when we're doing a dlopen 6 years ago
Rich Felker 50716702d4 ldso: use pthread_t rather than kernel tid to track ctor visitor 6 years ago
Rich Felker 1efc8eb2c7 fix stale lock when allocation of ctor queue fails during dlopen 6 years ago
Rich Felker 57f6e85c9d remove redundant pthread struct members repeated for layout purposes 6 years ago
Rich Felker e9f4fd1185 have ldso track replacement of aligned_alloc 6 years ago
Rich Felker cee88b76f7 move declaration of interfaces between malloc and ldso to dynlink.h 6 years ago
Fangrui Song 72658c658b ldso: remove redundant switch case for REL_NONE 6 years ago
Rich Felker 0ff18be208 fix incorrect __hwcap seen in dynamic-linked __set_thread_area 6 years ago
Rich Felker d6bbea2acf fix fdpic regression in dynamic linker with overly smart compilers 6 years ago
Rich Felker b82cd6c78d fix crashing ldso on archs where __set_thread_area examines auxv 6 years ago
Rich Felker b529ec9b52 move stage3_func typedef out of shared internal dynlink.h header 6 years ago
Rich Felker 22daaea39f add time64 redirect for, and redirecting implementation of, dlsym 7 years ago
Rich Felker 9d35fec9e1 fix regression whereby main thread didn't get TLS relocations 7 years ago
Szabolcs Nagy f2435263d7 make relocation time symbol lookup and dlsym consistent 7 years ago
Rich Felker 1f060ed2fb ldso: correct condition for local symbol handling in do_relocs 7 years ago
Samuel Holland 08869deb7e add support for powerpc/powerpc64 unaligned relocations 7 years ago
Rich Felker 71af530987 ldso: remove redundant runtime checks in static TLS logic 7 years ago
Rich Felker ffab43602b ldso: fix calloc misuse allocating initial tls 7 years ago
Rich Felker 9b83182069 fix inadvertent use of uninitialized variable in dladdr 7 years ago
Rich Felker 54b7564b72 remove unnecessary and problematic _Noreturn from crt/ldso startup 7 years ago
Szabolcs Nagy a60b9e0686 fix tls offsets when p_vaddr%p_align != 0 on TLS_ABOVE_TP targets 7 years ago
Szabolcs Nagy 6104dae908 fix static tls offsets of shared libs on TLS_ABOVE_TP targets 7 years ago
Fangrui Song f450c150d3 remove unused struct dso members from dynlink.c 7 years ago
Rich Felker 22e5bbd0de overhaul i386 syscall mechanism not to depend on external asm source 7 years ago
Ilya Matveychikov 7784680072 fix the use of syscall result in dl_mmap 7 years ago
Ray 086a12b920 delete a redundant if in dynamic linker ctor execution loop 7 years ago
Rich Felker 50cd02386b fix invalid-/double-/use-after-free in new dlopen ctor execution 7 years ago
Rich Felker 43e7efb465 avoid malloc of ctor queue for programs with no external deps 7 years ago
Rich Felker f034f145bd avoid malloc of deps arrays for ldso and vdso 7 years ago
Rich Felker e612d094b1 avoid malloc of deps array for programs with no external deps 7 years ago
Rich Felker 2f1f51ae7b fix malloc misuse for startup ctor queue, breakage on fdpic archs 7 years ago
Rich Felker 8e43b5613e synchronize shared library dtor exec against concurrent loads/ctors 7 years ago
Rich Felker 188759bbee overhaul shared library ctor execution for dependency order, concurrency 7 years ago
Rich Felker 88207361ea record preloaded libraries as direct pseudo-dependencies of main app 7 years ago
Rich Felker 0c5c8f5da6 fix unsafety of new ldso dep tracking in presence of malloc replacement 7 years ago
Rich Felker 4035556907 fix and overhaul dlsym depedency order, always record direct deps 7 years ago
Rich Felker 71db5dfaa9 fix crash/misbehavior from oob read in new dynamic tls installation 7 years ago
Rich Felker 6516282d2a fix crash in new dynamic tls installation when last dep lacks tls 7 years ago
Rich Felker ba18c1ecc6 add membarrier syscall wrapper, refactor dynamic tls install to use it 7 years ago
Rich Felker 609dd57c4e fix loop logic cruft in dynamic tls installation 7 years ago
Rich Felker 9d44b6460a install dynamic tls synchronously at dlopen, streamline access 7 years ago
Rich Felker 1c84c99913 add new stage 2b to dynamic linker bootstrap for thread pointer 8 years ago
Rich Felker b36c37f6fa fix misleading placement of statement on same line as for loop in ldso 8 years ago