summaryrefslogtreecommitdiff
path: root/sysdeps/generic/ldsodefs.h
AgeCommit message (Collapse)Author
2015-01-23Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_WhittakerThomas Schwinge
Conflicts: hurd/hurdsocket.h sysdeps/mach/hurd/errno-loc.c
2014-02-06Revert "Patch [1/4] async-signal safe TLS."Allan McRae
This reverts commit 69a17d9d245dc3551792e95e1823cc2d877592f3.
2014-02-06Revert "Patch 3/4 of the effort to make TLS access async-signal-safe."Allan McRae
This reverts commit 35e8f7ab94c910659de9d507aa0f3e1f8973d914.
2014-02-06Revert "Patch 2/4 of the effort to make TLS access async-signal-safe."Allan McRae
This reverts commit 1f33d36a8a9e78c81bed59b47f260723f56bb7e6. Conflicts: elf/dl-misc.c Also reverts the follow commits that were bug fixes to new code introduced in the above commit: 063b2acbce83549df82ab30f5af573f1b9c4bd19 b627fdd58554bc36bd344dc40a8787c4b7a9cc46 e81c64bba13d2d8b2a4e53254a82cc80f27c8497
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae
2013-12-20Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_WhittakerThomas Schwinge
2013-12-18Patch 2/4 of the effort to make TLS access async-signal-safe.Paul Pluzhnikov
Add a signal-safe malloc replacement. 2013-12-18 Andrew Hunter <ahh@google.com> * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype. (__signal_safe_malloc, __signal_safe_free): Likewise. (__signal_safe_realloc, __signal_safe_calloc): Likewise. * elf/dl-misc.c (__signal_safe_allocator_header): New struct. (__signal_safe_memalign, __signal_safe_malloc): New function. (__signal_safe_free, __signal_safe_realloc): Likewise. (__signal_safe_calloc): Likewise. * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe functions. (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
2013-12-18Patch 3/4 of the effort to make TLS access async-signal-safe.Paul Pluzhnikov
Factor out _dl_clear_dtv. 2013-12-18 Andrew Hunter <ahh@google.com> * elf/Versions (ld): Add _dl_clear_dtv. * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype. * elf/dl-tls.c (_dl_clear_dtv): New function. * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
2013-12-18Patch [1/4] async-signal safe TLS.Paul Pluzhnikov
2013-12-18 Andrew Hunter <ahh@google.com> * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype. (_dl_unmask_signals): Likewise. * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub. (_dl_unmask_all_signals): Likewise. * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype. (_dl_unmask_all_signals): Likewise. * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function. (_dl_unmask_signals): Likewise.
2013-11-21Don't use broken DL_AUTO_FUNCTION_ADDRESS()Guy Martin
On hppa and ia64, the macro DL_AUTO_FUNCTION_ADDRESS() uses the variable fptr[2] in it's own scope. The content of fptr[] is thus undefined right after the macro exits. Newer gcc's (>= 4.7) reuse the stack space of this variable triggering a segmentation fault in dl-init.c:69. To fix this we rewrite the macros to make the call directly to init and fini without needing to pass back a constructed function pointer.
2013-09-01Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_WhittakerThomas Schwinge
Conflicts: sysdeps/mach/hurd/i386/init-first.c sysdeps/unix/sysv/linux/ldsodefs.h
2013-06-28Add GLRO(dl_hwcap2) for new AT_HWCAP2 auxv_t a_type.Ryan S. Arnold
2013-05-29Avoid crashing in LD_DEBUG when program name is unavailableSiddhesh Poyarekar
Resolves: #15465 The program name may be unavailable if the user application tampers with argc and argv[]. Some parts of the dynamic linker caters for this while others don't, so this patch consolidates the check and fallback into a single macro and updates all users.
2013-05-26Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_WhittakerThomas Schwinge
Conflicts: sysdeps/mach/hurd/i386/init-first.c
2013-05-23Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_WhittakerThomas Schwinge
2013-05-20Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_WhittakerThomas Schwinge
Conflicts: configure configure.in hurd/ctty-input.c hurd/ctty-output.c hurd/hurd/signal.h hurd/hurdexec.c hurd/hurdmsg.c hurd/hurdsig.c hurd/hurdsocket.h socket/recvmmsg.c socket/sendmmsg.c sysdeps/mach/hurd/i386/sigreturn.c sysdeps/mach/hurd/i386/trampoline.c sysdeps/mach/hurd/pipe.c sysdeps/mach/hurd/recvmsg.c sysdeps/mach/hurd/sendmsg.c sysdeps/mach/hurd/sigaction.c sysdeps/mach/hurd/sigpending.c sysdeps/mach/hurd/sigprocmask.c sysdeps/mach/hurd/sigsuspend.c sysdeps/mach/hurd/sigwait.c sysdeps/mach/hurd/socketpair.c sysdeps/mach/hurd/tls.h sysdeps/unix/sysv/linux/recvmmsg.c sysdeps/unix/sysv/linux/sendmmsg.c
2013-05-16Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold
2013-05-07Declare _dl_skip_args in ldsodefs.h header.Roland McGrath
2013-03-28Make _dl_phdr pointer to const.Roland McGrath
2013-03-28Consolidate declarations of _dl_phdr, _dl_phnum.Roland McGrath
2013-03-15Move _dl_non_dynamic_init, _dl_aux_init declarations.Roland McGrath
2013-03-01Fix NEED_DL_SYSINFO_DSO conditionals.Roland McGrath
2013-02-18New function _dl_find_dso_for_objectSiddhesh Poyarekar
Consolidate code to search for an address within a DSO.
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers
2012-11-01Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_WhittakerThomas Schwinge
2012-09-28Define VERSYMIDX/VALIDX/ADDRIDX in ldsodefs.hH.J. Lu
2012-07-30Fix lots of bitrot for stub configurations.Roland McGrath
2012-07-30Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_WhittakerThomas Schwinge
2012-07-25Move ldsodefs.h audit definitions to sysdeps directories.Joseph Myers
2012-07-22Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_WhittakerThomas Schwinge
Conflicts: configure configure.in elf/rtld.c misc/syslog.c sysdeps/gnu/configure sysdeps/gnu/configure.in sysdeps/mach/hurd/accept4.c sysdeps/mach/hurd/bits/posix_opt.h sysdeps/mach/hurd/dup3.c sysdeps/mach/hurd/i386/init-first.c sysdeps/mach/hurd/kernel-features.h sysdeps/mach/hurd/readlinkat.c
2012-06-20Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_WhittakerThomas Schwinge
Conflicts: configure configure.in hurd/Makefile nptl/sysdeps/pthread/bits/libc-lock.h sysdeps/i386/configure sysdeps/powerpc/powerpc32/configure sysdeps/powerpc/powerpc64/configure sysdeps/unix/sysv/linux/configure sysdeps/unix/sysv/linux/configure.in
2012-05-20Add <sys/auxv.h> and getauxval.Richard Henderson
2012-05-10Hurd: Fix value of __libc_stack_endSamuel Thibault
2012-04-11New ld.so argument --inhibit-ldcache to disable ld.so.cache lookupSiddhesh Poyarekar
It may sometimes be desirable to make the dynamic linker only pick up libraries from the library path and rpath and not look at the ld.so.cache that ldconfig generates. An example of such a use case is the glibc testsuite where the dynamic linker must not be influenced by any external paths or caches. This change adds a new option --inhibit-ldcache that when used, tells the dynamic linker to not use ld.so.cache even if it is available.
2012-04-05Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_WhittakerThomas Schwinge
Conflicts: configure configure.in posix/glob/configure sysdeps/i386/sysdep.h sysdeps/ia64/configure sysdeps/mach/hurd/socket.c
2012-03-22Add forward declaration for La_x32_regs/La_x32_retvalH.J. Lu
2012-03-21Add x32 support to dynamic linker auditH.J. Lu
2012-02-20Merge branch 't/libc_stack_end' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
2012-02-20Fix value of __libc_stack_endSamuel Thibault
When using some libthread, we need to update the value of __libc_stack_end to what the libthread allocated. This requires making __libc_stack_end non-relro to be able to modify it. 2011-08-24 Samuel Thibault <samuel.thibault@ens-lyon.org> * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO] (__libc_stack_end): Do not use attribute_relro. * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define. * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end to libthread-provided value. * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use attribute_relro.
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert
2012-01-07Remove Alpha support from ldsodefs.hUlrich Drepper
2012-01-07More IA-64 removalUlrich Drepper
2011-10-09Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_WhittakerThomas Schwinge
Conflicts: configure elf/elf.h include/errno.h sysdeps/ia64/elf/configure sysdeps/mach/hurd/tls.h sysdeps/powerpc/powerpc32/elf/configure sysdeps/powerpc/powerpc64/elf/configure sysdeps/s390/s390-32/elf/configure sysdeps/s390/s390-64/elf/configure sysdeps/sh/elf/configure sysdeps/sparc/sparc32/elf/configure sysdeps/sparc/sparc64/elf/configure
2011-09-20Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_WhittakerThomas Schwinge
Conflicts: configure
2011-09-16Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_WhittakerThomas Schwinge
2011-09-16Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_WhittakerThomas Schwinge
Conflicts: sysdeps/mach/hurd/ttyname_r.c
2011-08-16Improve printing of lookup scopesUlrich Drepper
The scope of a new object should be printed earlier and when the scope of an already loaded object is extended only the changes should be printed.
2011-08-14Warning patrol.Roland McGrath
2011-08-13Implement LD_DEBUG=scopesUlrich Drepper
2011-07-19_dl_sort_fini: Remove unused argumentMarek Polacek