summaryrefslogtreecommitdiff
path: root/ldso/dynlink.c
AgeCommit message (Expand)AuthorLines
2019-11-02add time64 redirect for, and redirecting implementation of, dlsymRich Felker-0/+27
2019-08-13fix regression whereby main thread didn't get TLS relocationsRich Felker-7/+13
2019-08-12make relocation time symbol lookup and dlsym consistentSzabolcs Nagy-53/+31
2019-08-12ldso: correct condition for local symbol handling in do_relocsRich Felker-1/+1
2019-08-11add support for powerpc/powerpc64 unaligned relocationsSamuel Holland-0/+3
2019-08-11ldso: remove redundant runtime checks in static TLS logicRich Felker-2/+2
2019-08-11ldso: fix calloc misuse allocating initial tlsRich Felker-5/+7
2019-07-06fix inadvertent use of uninitialized variable in dladdrRich Felker-1/+1
2019-06-25remove unnecessary and problematic _Noreturn from crt/ldso startupRich Felker-2/+2
2019-05-16fix tls offsets when p_vaddr%p_align != 0 on TLS_ABOVE_TP targetsSzabolcs Nagy-3/+4
2019-05-16fix static tls offsets of shared libs on TLS_ABOVE_TP targetsSzabolcs Nagy-4/+2
2019-05-12remove unused struct dso members from dynlink.cFangrui Song-1/+0
2019-04-10overhaul i386 syscall mechanism not to depend on external asm sourceRich Felker-0/+3
2019-04-06fix the use of syscall result in dl_mmapIlya Matveychikov-1/+1
2019-04-02delete a redundant if in dynamic linker ctor execution loopRay-1/+0
2019-03-10fix invalid-/double-/use-after-free in new dlopen ctor executionRich Felker-1/+2
2019-03-03avoid malloc of ctor queue for programs with no external depsRich Felker-2/+9
2019-03-03avoid malloc of deps arrays for ldso and vdsoRich Felker-0/+3
2019-03-03avoid malloc of deps array for programs with no external depsRich Felker-3/+10
2019-03-03fix malloc misuse for startup ctor queue, breakage on fdpic archsRich Felker-5/+9
2019-03-03synchronize shared library dtor exec against concurrent loads/ctorsRich Felker-1/+17
2019-03-03overhaul shared library ctor execution for dependency order, concurrencyRich Felker-17/+101
2019-03-02record preloaded libraries as direct pseudo-dependencies of main appRich Felker-4/+11
2019-03-02fix unsafety of new ldso dep tracking in presence of malloc replacementRich Felker-1/+13
2019-02-27fix and overhaul dlsym depedency order, always record direct depsRich Felker-34/+79
2019-02-27fix crash/misbehavior from oob read in new dynamic tls installationRich Felker-1/+1
2019-02-25fix crash in new dynamic tls installation when last dep lacks tlsRich Felker-1/+4
2019-02-22add membarrier syscall wrapper, refactor dynamic tls install to use itRich Felker-32/+6
2019-02-22fix loop logic cruft in dynamic tls installationRich Felker-1/+1
2019-02-18install dynamic tls synchronously at dlopen, streamline accessRich Felker-42/+79
2018-10-16add new stage 2b to dynamic linker bootstrap for thread pointerRich Felker-10/+23
2018-10-15fix misleading placement of statement on same line as for loop in ldsoRich Felker-1/+2
2018-10-12fix dlsym of thread-local symbols on archs with DTP_OFFSET!=0Rich Felker-3/+3
2018-10-12combine arch ABI's DTP_OFFSET into DTV pointersRich Felker-14/+11
2018-10-01add TLSDESC support for 32-bit armRich Felker-0/+7
2018-09-18support setting of default thread stack size via PT_GNU_STACK headerRich Felker-0/+12
2018-09-12overhaul internally-public declarations using wrapper headersRich Felker-2/+0
2018-09-12move tlsdesc and internal dl function declarations to dynlink.hRich Felker-4/+0
2018-09-12move declarations of tls setup/access functions to pthread_impl.hRich Felker-4/+0
2018-09-12move declarations for malloc internals to malloc_impl.hRich Felker-1/+1
2018-09-12improve machinery for ldso to report libc versionRich Felker-3/+1
2018-09-05define and use internal macros for hidden visibility, weak refsRich Felker-20/+10
2018-07-16block dlopen of libraries with initial-exec refs to dynamic TLSRich Felker-0/+8
2018-07-16fix inefficient choice of tlsdesc function due to off-by-oneRich Felker-1/+1
2018-06-28avoid spurious dso matches by dladdr outside bounds of load segmentsRich Felker-1/+10
2018-06-28make dladdr consistently produce the first symbol in presence of aliasesRich Felker-1/+1
2018-06-28fix symtab-order-dependent spurious matches in dladdrRich Felker-5/+8
2018-06-27correctly handle non-matching symbols in dladdrRich Felker-4/+13
2018-06-27avoid using undefined pointer arithmetic in dladdrRich Felker-8/+9
2018-06-26fix dynamic linker mapping/clearing bss in first/only LOAD segmentRich Felker-6/+5