mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
elf: Remove code dependent on __rtld_lock_default_lock_recursive macro
Neither NPTL nor Hurd define this macro anymore. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
parent
70d0836305
commit
e79b9e962d
2 changed files with 0 additions and 27 deletions
|
@ -18,33 +18,12 @@
|
|||
|
||||
#include <ldsodefs.h>
|
||||
|
||||
#if defined SHARED && defined _LIBC_REENTRANT \
|
||||
&& defined __rtld_lock_default_lock_recursive
|
||||
static void
|
||||
rtld_lock_default_lock_recursive (void *lock)
|
||||
{
|
||||
__rtld_lock_default_lock_recursive (lock);
|
||||
}
|
||||
|
||||
static void
|
||||
rtld_lock_default_unlock_recursive (void *lock)
|
||||
{
|
||||
__rtld_lock_default_unlock_recursive (lock);
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
__tls_pre_init_tp (void)
|
||||
{
|
||||
#if !PTHREAD_IN_LIBC
|
||||
GL(dl_init_static_tls) = &_dl_nothread_init_static_tls;
|
||||
#endif
|
||||
|
||||
#if defined SHARED && defined _LIBC_REENTRANT \
|
||||
&& defined __rtld_lock_default_lock_recursive
|
||||
GL(dl_rtld_lock_recursive) = rtld_lock_default_lock_recursive;
|
||||
GL(dl_rtld_unlock_recursive) = rtld_lock_default_unlock_recursive;
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -400,12 +400,6 @@ struct rtld_global
|
|||
struct auditstate _dl_rtld_auditstate[DL_NNS];
|
||||
#endif
|
||||
|
||||
#if !PTHREAD_IN_LIBC && defined SHARED \
|
||||
&& defined __rtld_lock_default_lock_recursive
|
||||
EXTERN void (*_dl_rtld_lock_recursive) (void *);
|
||||
EXTERN void (*_dl_rtld_unlock_recursive) (void *);
|
||||
#endif
|
||||
|
||||
/* Get architecture specific definitions. */
|
||||
#define PROCINFO_DECL
|
||||
#ifndef PROCINFO_CLASS
|
||||
|
|
Loading…
Add table
Reference in a new issue