mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-08 18:30:18 +00:00
Remove use of INTDEF/INTUSE in nptl
This commit is contained in:
parent
11ef492c80
commit
4d17e68350
43
ChangeLog
43
ChangeLog
@ -1,3 +1,46 @@
|
|||||||
|
2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
|
||||||
|
|
||||||
|
[BZ #14132]
|
||||||
|
* nptl-init.c (pthread_functions): Remove use of INTUSE and
|
||||||
|
_internal aliases.
|
||||||
|
(__pthread_initialize_minimal_internal): Likewise.
|
||||||
|
* sem_open.c: Likewise.
|
||||||
|
* sem_unlink.c: Likewise.
|
||||||
|
* pthreadP.h: Replace _internal aliases by hidden_proto
|
||||||
|
declarations.
|
||||||
|
* pthread_getspecific.c: Replace _internal alias by hidden_def.
|
||||||
|
* pthread_key_create.c: Likewise.
|
||||||
|
* pthread_mutex_destroy.c: Likewise.
|
||||||
|
* pthread_mutex_init.c: Likewise.
|
||||||
|
* pthread_mutex_lock.c: Likewise.
|
||||||
|
* pthread_mutex_unlock.c: Likewise.
|
||||||
|
* pthread_once.c: Likewise.
|
||||||
|
* pthread_rwlock_rdlock.c: Likewise.
|
||||||
|
* pthread_rwlock_unlock.c: Likewise.
|
||||||
|
* pthread_rwlock_wrlock.c: Likewise.
|
||||||
|
* pthread_setspecific.c: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
|
||||||
|
Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
|
||||||
|
Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
|
||||||
|
Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/i386/pthread_once.S: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/s390/pthread_once.c: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/sh/pthread_once.S: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/sparc/pthread_once.c: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S:
|
||||||
|
Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S:
|
||||||
|
Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S:
|
||||||
|
Likewise.
|
||||||
|
|
||||||
2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
|
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2002-2007, 2008, 2009, 2011 Free Software Foundation, Inc.
|
/* Copyright (C) 2002-2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
||||||
|
|
||||||
@ -115,21 +115,21 @@ static const struct pthread_functions pthread_functions =
|
|||||||
.ptr___pthread_exit = __pthread_exit,
|
.ptr___pthread_exit = __pthread_exit,
|
||||||
.ptr_pthread_getschedparam = __pthread_getschedparam,
|
.ptr_pthread_getschedparam = __pthread_getschedparam,
|
||||||
.ptr_pthread_setschedparam = __pthread_setschedparam,
|
.ptr_pthread_setschedparam = __pthread_setschedparam,
|
||||||
.ptr_pthread_mutex_destroy = INTUSE(__pthread_mutex_destroy),
|
.ptr_pthread_mutex_destroy = __pthread_mutex_destroy,
|
||||||
.ptr_pthread_mutex_init = INTUSE(__pthread_mutex_init),
|
.ptr_pthread_mutex_init = __pthread_mutex_init,
|
||||||
.ptr_pthread_mutex_lock = INTUSE(__pthread_mutex_lock),
|
.ptr_pthread_mutex_lock = __pthread_mutex_lock,
|
||||||
.ptr_pthread_mutex_unlock = INTUSE(__pthread_mutex_unlock),
|
.ptr_pthread_mutex_unlock = __pthread_mutex_unlock,
|
||||||
.ptr_pthread_self = __pthread_self,
|
.ptr_pthread_self = __pthread_self,
|
||||||
.ptr_pthread_setcancelstate = __pthread_setcancelstate,
|
.ptr_pthread_setcancelstate = __pthread_setcancelstate,
|
||||||
.ptr_pthread_setcanceltype = __pthread_setcanceltype,
|
.ptr_pthread_setcanceltype = __pthread_setcanceltype,
|
||||||
.ptr___pthread_cleanup_upto = __pthread_cleanup_upto,
|
.ptr___pthread_cleanup_upto = __pthread_cleanup_upto,
|
||||||
.ptr___pthread_once = __pthread_once_internal,
|
.ptr___pthread_once = __pthread_once,
|
||||||
.ptr___pthread_rwlock_rdlock = __pthread_rwlock_rdlock_internal,
|
.ptr___pthread_rwlock_rdlock = __pthread_rwlock_rdlock,
|
||||||
.ptr___pthread_rwlock_wrlock = __pthread_rwlock_wrlock_internal,
|
.ptr___pthread_rwlock_wrlock = __pthread_rwlock_wrlock,
|
||||||
.ptr___pthread_rwlock_unlock = __pthread_rwlock_unlock_internal,
|
.ptr___pthread_rwlock_unlock = __pthread_rwlock_unlock,
|
||||||
.ptr___pthread_key_create = __pthread_key_create_internal,
|
.ptr___pthread_key_create = __pthread_key_create,
|
||||||
.ptr___pthread_getspecific = __pthread_getspecific_internal,
|
.ptr___pthread_getspecific = __pthread_getspecific,
|
||||||
.ptr___pthread_setspecific = __pthread_setspecific_internal,
|
.ptr___pthread_setspecific = __pthread_setspecific,
|
||||||
.ptr__pthread_cleanup_push_defer = __pthread_cleanup_push_defer,
|
.ptr__pthread_cleanup_push_defer = __pthread_cleanup_push_defer,
|
||||||
.ptr__pthread_cleanup_pop_restore = __pthread_cleanup_pop_restore,
|
.ptr__pthread_cleanup_pop_restore = __pthread_cleanup_pop_restore,
|
||||||
.ptr_nthreads = &__nptl_nthreads,
|
.ptr_nthreads = &__nptl_nthreads,
|
||||||
@ -442,12 +442,12 @@ __pthread_initialize_minimal_internal (void)
|
|||||||
|
|
||||||
/* Make __rtld_lock_{,un}lock_recursive use pthread_mutex_{,un}lock,
|
/* Make __rtld_lock_{,un}lock_recursive use pthread_mutex_{,un}lock,
|
||||||
keep the lock count from the ld.so implementation. */
|
keep the lock count from the ld.so implementation. */
|
||||||
GL(dl_rtld_lock_recursive) = (void *) INTUSE (__pthread_mutex_lock);
|
GL(dl_rtld_lock_recursive) = (void *) __pthread_mutex_lock;
|
||||||
GL(dl_rtld_unlock_recursive) = (void *) INTUSE (__pthread_mutex_unlock);
|
GL(dl_rtld_unlock_recursive) = (void *) __pthread_mutex_unlock;
|
||||||
unsigned int rtld_lock_count = GL(dl_load_lock).mutex.__data.__count;
|
unsigned int rtld_lock_count = GL(dl_load_lock).mutex.__data.__count;
|
||||||
GL(dl_load_lock).mutex.__data.__count = 0;
|
GL(dl_load_lock).mutex.__data.__count = 0;
|
||||||
while (rtld_lock_count-- > 0)
|
while (rtld_lock_count-- > 0)
|
||||||
INTUSE (__pthread_mutex_lock) (&GL(dl_load_lock).mutex);
|
__pthread_mutex_lock (&GL(dl_load_lock).mutex);
|
||||||
|
|
||||||
GL(dl_make_stack_executable_hook) = &__make_stacks_executable;
|
GL(dl_make_stack_executable_hook) = &__make_stacks_executable;
|
||||||
#endif
|
#endif
|
||||||
|
@ -408,23 +408,14 @@ extern int __pthread_setschedparam (pthread_t thread_id, int policy,
|
|||||||
extern int __pthread_setcancelstate (int state, int *oldstate);
|
extern int __pthread_setcancelstate (int state, int *oldstate);
|
||||||
extern int __pthread_mutex_init (pthread_mutex_t *__mutex,
|
extern int __pthread_mutex_init (pthread_mutex_t *__mutex,
|
||||||
const pthread_mutexattr_t *__mutexattr);
|
const pthread_mutexattr_t *__mutexattr);
|
||||||
extern int __pthread_mutex_init_internal (pthread_mutex_t *__mutex,
|
|
||||||
const pthread_mutexattr_t *__mutexattr)
|
|
||||||
attribute_hidden;
|
|
||||||
extern int __pthread_mutex_destroy (pthread_mutex_t *__mutex);
|
extern int __pthread_mutex_destroy (pthread_mutex_t *__mutex);
|
||||||
extern int __pthread_mutex_destroy_internal (pthread_mutex_t *__mutex)
|
|
||||||
attribute_hidden;
|
|
||||||
extern int __pthread_mutex_trylock (pthread_mutex_t *_mutex);
|
extern int __pthread_mutex_trylock (pthread_mutex_t *_mutex);
|
||||||
extern int __pthread_mutex_lock (pthread_mutex_t *__mutex);
|
extern int __pthread_mutex_lock (pthread_mutex_t *__mutex);
|
||||||
extern int __pthread_mutex_lock_internal (pthread_mutex_t *__mutex)
|
|
||||||
attribute_hidden;
|
|
||||||
extern int __pthread_mutex_cond_lock (pthread_mutex_t *__mutex)
|
extern int __pthread_mutex_cond_lock (pthread_mutex_t *__mutex)
|
||||||
attribute_hidden internal_function;
|
attribute_hidden internal_function;
|
||||||
extern void __pthread_mutex_cond_lock_adjust (pthread_mutex_t *__mutex)
|
extern void __pthread_mutex_cond_lock_adjust (pthread_mutex_t *__mutex)
|
||||||
attribute_hidden internal_function;
|
attribute_hidden internal_function;
|
||||||
extern int __pthread_mutex_unlock (pthread_mutex_t *__mutex);
|
extern int __pthread_mutex_unlock (pthread_mutex_t *__mutex);
|
||||||
extern int __pthread_mutex_unlock_internal (pthread_mutex_t *__mutex)
|
|
||||||
attribute_hidden;
|
|
||||||
extern int __pthread_mutex_unlock_usercnt (pthread_mutex_t *__mutex,
|
extern int __pthread_mutex_unlock_usercnt (pthread_mutex_t *__mutex,
|
||||||
int __decr)
|
int __decr)
|
||||||
attribute_hidden internal_function;
|
attribute_hidden internal_function;
|
||||||
@ -467,13 +458,10 @@ extern int __pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock,
|
|||||||
__attr);
|
__attr);
|
||||||
extern int __pthread_rwlock_destroy (pthread_rwlock_t *__rwlock);
|
extern int __pthread_rwlock_destroy (pthread_rwlock_t *__rwlock);
|
||||||
extern int __pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock);
|
extern int __pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock);
|
||||||
extern int __pthread_rwlock_rdlock_internal (pthread_rwlock_t *__rwlock);
|
|
||||||
extern int __pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock);
|
extern int __pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock);
|
||||||
extern int __pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock);
|
extern int __pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock);
|
||||||
extern int __pthread_rwlock_wrlock_internal (pthread_rwlock_t *__rwlock);
|
|
||||||
extern int __pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock);
|
extern int __pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock);
|
||||||
extern int __pthread_rwlock_unlock (pthread_rwlock_t *__rwlock);
|
extern int __pthread_rwlock_unlock (pthread_rwlock_t *__rwlock);
|
||||||
extern int __pthread_rwlock_unlock_internal (pthread_rwlock_t *__rwlock);
|
|
||||||
extern int __pthread_cond_broadcast (pthread_cond_t *cond);
|
extern int __pthread_cond_broadcast (pthread_cond_t *cond);
|
||||||
extern int __pthread_cond_destroy (pthread_cond_t *cond);
|
extern int __pthread_cond_destroy (pthread_cond_t *cond);
|
||||||
extern int __pthread_cond_init (pthread_cond_t *cond,
|
extern int __pthread_cond_init (pthread_cond_t *cond,
|
||||||
@ -486,17 +474,10 @@ extern int __pthread_cond_timedwait (pthread_cond_t *cond,
|
|||||||
extern int __pthread_condattr_destroy (pthread_condattr_t *attr);
|
extern int __pthread_condattr_destroy (pthread_condattr_t *attr);
|
||||||
extern int __pthread_condattr_init (pthread_condattr_t *attr);
|
extern int __pthread_condattr_init (pthread_condattr_t *attr);
|
||||||
extern int __pthread_key_create (pthread_key_t *key, void (*destr) (void *));
|
extern int __pthread_key_create (pthread_key_t *key, void (*destr) (void *));
|
||||||
extern int __pthread_key_create_internal (pthread_key_t *key,
|
|
||||||
void (*destr) (void *));
|
|
||||||
extern void *__pthread_getspecific (pthread_key_t key);
|
extern void *__pthread_getspecific (pthread_key_t key);
|
||||||
extern void *__pthread_getspecific_internal (pthread_key_t key);
|
|
||||||
extern int __pthread_setspecific (pthread_key_t key, const void *value);
|
extern int __pthread_setspecific (pthread_key_t key, const void *value);
|
||||||
extern int __pthread_setspecific_internal (pthread_key_t key,
|
|
||||||
const void *value);
|
|
||||||
extern int __pthread_once (pthread_once_t *once_control,
|
extern int __pthread_once (pthread_once_t *once_control,
|
||||||
void (*init_routine) (void));
|
void (*init_routine) (void));
|
||||||
extern int __pthread_once_internal (pthread_once_t *once_control,
|
|
||||||
void (*init_routine) (void));
|
|
||||||
extern int __pthread_atfork (void (*prepare) (void), void (*parent) (void),
|
extern int __pthread_atfork (void (*prepare) (void), void (*parent) (void),
|
||||||
void (*child) (void));
|
void (*child) (void));
|
||||||
extern pthread_t __pthread_self (void);
|
extern pthread_t __pthread_self (void);
|
||||||
@ -508,6 +489,20 @@ extern int __pthread_enable_asynccancel (void) attribute_hidden;
|
|||||||
extern void __pthread_disable_asynccancel (int oldtype)
|
extern void __pthread_disable_asynccancel (int oldtype)
|
||||||
internal_function attribute_hidden;
|
internal_function attribute_hidden;
|
||||||
|
|
||||||
|
#if defined NOT_IN_libc && defined IS_IN_libpthread
|
||||||
|
hidden_proto (__pthread_mutex_init)
|
||||||
|
hidden_proto (__pthread_mutex_destroy)
|
||||||
|
hidden_proto (__pthread_mutex_lock)
|
||||||
|
hidden_proto (__pthread_mutex_unlock)
|
||||||
|
hidden_proto (__pthread_rwlock_rdlock)
|
||||||
|
hidden_proto (__pthread_rwlock_wrlock)
|
||||||
|
hidden_proto (__pthread_rwlock_unlock)
|
||||||
|
hidden_proto (__pthread_key_create)
|
||||||
|
hidden_proto (__pthread_getspecific)
|
||||||
|
hidden_proto (__pthread_setspecific)
|
||||||
|
hidden_proto (__pthread_once)
|
||||||
|
#endif
|
||||||
|
|
||||||
extern int __pthread_cond_broadcast_2_0 (pthread_cond_2_0_t *cond);
|
extern int __pthread_cond_broadcast_2_0 (pthread_cond_2_0_t *cond);
|
||||||
extern int __pthread_cond_destroy_2_0 (pthread_cond_2_0_t *cond);
|
extern int __pthread_cond_destroy_2_0 (pthread_cond_2_0_t *cond);
|
||||||
extern int __pthread_cond_init_2_0 (pthread_cond_2_0_t *cond,
|
extern int __pthread_cond_init_2_0 (pthread_cond_2_0_t *cond,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
/* Copyright (C) 2002-2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
||||||
|
|
||||||
@ -65,4 +65,4 @@ __pthread_getspecific (key)
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
strong_alias (__pthread_getspecific, pthread_getspecific)
|
strong_alias (__pthread_getspecific, pthread_getspecific)
|
||||||
strong_alias (__pthread_getspecific, __pthread_getspecific_internal)
|
hidden_def (__pthread_getspecific)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2002, 2003, 2006 Free Software Foundation, Inc.
|
/* Copyright (C) 2002-2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
||||||
|
|
||||||
@ -50,4 +50,4 @@ __pthread_key_create (key, destr)
|
|||||||
return EAGAIN;
|
return EAGAIN;
|
||||||
}
|
}
|
||||||
strong_alias (__pthread_key_create, pthread_key_create)
|
strong_alias (__pthread_key_create, pthread_key_create)
|
||||||
strong_alias (__pthread_key_create, __pthread_key_create_internal)
|
hidden_def (__pthread_key_create)
|
||||||
|
@ -38,4 +38,4 @@ __pthread_mutex_destroy (mutex)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
strong_alias (__pthread_mutex_destroy, pthread_mutex_destroy)
|
strong_alias (__pthread_mutex_destroy, pthread_mutex_destroy)
|
||||||
INTDEF(__pthread_mutex_destroy)
|
hidden_def (__pthread_mutex_destroy)
|
||||||
|
@ -140,4 +140,4 @@ __pthread_mutex_init (mutex, mutexattr)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
strong_alias (__pthread_mutex_init, pthread_mutex_init)
|
strong_alias (__pthread_mutex_init, pthread_mutex_init)
|
||||||
INTDEF(__pthread_mutex_init)
|
hidden_def (__pthread_mutex_init)
|
||||||
|
@ -478,7 +478,7 @@ __pthread_mutex_lock_full (pthread_mutex_t *mutex)
|
|||||||
}
|
}
|
||||||
#ifndef __pthread_mutex_lock
|
#ifndef __pthread_mutex_lock
|
||||||
strong_alias (__pthread_mutex_lock, pthread_mutex_lock)
|
strong_alias (__pthread_mutex_lock, pthread_mutex_lock)
|
||||||
strong_alias (__pthread_mutex_lock, __pthread_mutex_lock_internal)
|
hidden_def (__pthread_mutex_lock)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -297,4 +297,4 @@ __pthread_mutex_unlock (mutex)
|
|||||||
return __pthread_mutex_unlock_usercnt (mutex, 1);
|
return __pthread_mutex_unlock_usercnt (mutex, 1);
|
||||||
}
|
}
|
||||||
strong_alias (__pthread_mutex_unlock, pthread_mutex_unlock)
|
strong_alias (__pthread_mutex_unlock, pthread_mutex_unlock)
|
||||||
strong_alias (__pthread_mutex_unlock, __pthread_mutex_unlock_internal)
|
hidden_def (__pthread_mutex_unlock)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2002, 2007 Free Software Foundation, Inc.
|
/* Copyright (C) 2002-2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
||||||
|
|
||||||
@ -51,3 +51,4 @@ __pthread_once (once_control, init_routine)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
strong_alias (__pthread_once, pthread_once)
|
strong_alias (__pthread_once, pthread_once)
|
||||||
|
hidden_def (__pthread_once)
|
||||||
|
@ -97,4 +97,4 @@ __pthread_rwlock_rdlock (rwlock)
|
|||||||
}
|
}
|
||||||
|
|
||||||
weak_alias (__pthread_rwlock_rdlock, pthread_rwlock_rdlock)
|
weak_alias (__pthread_rwlock_rdlock, pthread_rwlock_rdlock)
|
||||||
strong_alias (__pthread_rwlock_rdlock, __pthread_rwlock_rdlock_internal)
|
hidden_def (__pthread_rwlock_rdlock)
|
||||||
|
@ -58,4 +58,4 @@ __pthread_rwlock_unlock (pthread_rwlock_t *rwlock)
|
|||||||
}
|
}
|
||||||
|
|
||||||
weak_alias (__pthread_rwlock_unlock, pthread_rwlock_unlock)
|
weak_alias (__pthread_rwlock_unlock, pthread_rwlock_unlock)
|
||||||
strong_alias (__pthread_rwlock_unlock, __pthread_rwlock_unlock_internal)
|
hidden_def (__pthread_rwlock_unlock)
|
||||||
|
@ -89,4 +89,4 @@ __pthread_rwlock_wrlock (rwlock)
|
|||||||
}
|
}
|
||||||
|
|
||||||
weak_alias (__pthread_rwlock_wrlock, pthread_rwlock_wrlock)
|
weak_alias (__pthread_rwlock_wrlock, pthread_rwlock_wrlock)
|
||||||
strong_alias (__pthread_rwlock_wrlock, __pthread_rwlock_wrlock_internal)
|
hidden_def (__pthread_rwlock_wrlock)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2002, 2003, 2006 Free Software Foundation, Inc.
|
/* Copyright (C) 2002-2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
||||||
|
|
||||||
@ -92,4 +92,4 @@ __pthread_setspecific (key, value)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
strong_alias (__pthread_setspecific, pthread_setspecific)
|
strong_alias (__pthread_setspecific, pthread_setspecific)
|
||||||
strong_alias (__pthread_setspecific, __pthread_setspecific_internal)
|
hidden_def (__pthread_setspecific)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2002, 2003, 2006, 2007, 2009 Free Software Foundation, Inc.
|
/* Copyright (C) 2002-2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
||||||
|
|
||||||
@ -231,7 +231,7 @@ sem_open (const char *name, int oflag, ...)
|
|||||||
int fd;
|
int fd;
|
||||||
|
|
||||||
/* Determine where the shmfs is mounted. */
|
/* Determine where the shmfs is mounted. */
|
||||||
INTUSE(__pthread_once) (&__namedsem_once, __where_is_shmfs);
|
__pthread_once (&__namedsem_once, __where_is_shmfs);
|
||||||
|
|
||||||
/* If we don't know the mount points there is nothing we can do. Ever. */
|
/* If we don't know the mount points there is nothing we can do. Ever. */
|
||||||
if (mountpoint.dir == NULL)
|
if (mountpoint.dir == NULL)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2002, 2004 Free Software Foundation, Inc.
|
/* Copyright (C) 2002-2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ sem_unlink (name)
|
|||||||
size_t namelen;
|
size_t namelen;
|
||||||
|
|
||||||
/* Determine where the shmfs is mounted. */
|
/* Determine where the shmfs is mounted. */
|
||||||
INTUSE(__pthread_once) (&__namedsem_once, __where_is_shmfs);
|
__pthread_once (&__namedsem_once, __where_is_shmfs);
|
||||||
|
|
||||||
/* If we don't know the mount points there is nothing we can do. Ever. */
|
/* If we don't know the mount points there is nothing we can do. Ever. */
|
||||||
if (mountpoint.dir == NULL)
|
if (mountpoint.dir == NULL)
|
||||||
|
@ -188,8 +188,5 @@ __pthread_rwlock_rdlock:
|
|||||||
cfi_endproc
|
cfi_endproc
|
||||||
.size __pthread_rwlock_rdlock,.-__pthread_rwlock_rdlock
|
.size __pthread_rwlock_rdlock,.-__pthread_rwlock_rdlock
|
||||||
|
|
||||||
.globl pthread_rwlock_rdlock
|
strong_alias (__pthread_rwlock_rdlock, pthread_rwlock_rdlock)
|
||||||
pthread_rwlock_rdlock = __pthread_rwlock_rdlock
|
hidden_def (__pthread_rwlock_rdlock)
|
||||||
|
|
||||||
.globl __pthread_rwlock_rdlock_internal
|
|
||||||
__pthread_rwlock_rdlock_internal = __pthread_rwlock_rdlock
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2002, 2003, 2007 Free Software Foundation, Inc.
|
/* Copyright (C) 2002-2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
||||||
|
|
||||||
@ -147,8 +147,5 @@ __pthread_rwlock_unlock:
|
|||||||
cfi_endproc
|
cfi_endproc
|
||||||
.size __pthread_rwlock_unlock,.-__pthread_rwlock_unlock
|
.size __pthread_rwlock_unlock,.-__pthread_rwlock_unlock
|
||||||
|
|
||||||
.globl pthread_rwlock_unlock
|
strong_alias (__pthread_rwlock_unlock, pthread_rwlock_unlock)
|
||||||
pthread_rwlock_unlock = __pthread_rwlock_unlock
|
hidden_def (__pthread_rwlock_unlock)
|
||||||
|
|
||||||
.globl __pthread_rwlock_unlock_internal
|
|
||||||
__pthread_rwlock_unlock_internal = __pthread_rwlock_unlock
|
|
||||||
|
@ -179,8 +179,5 @@ __pthread_rwlock_wrlock:
|
|||||||
cfi_endproc
|
cfi_endproc
|
||||||
.size __pthread_rwlock_wrlock,.-__pthread_rwlock_wrlock
|
.size __pthread_rwlock_wrlock,.-__pthread_rwlock_wrlock
|
||||||
|
|
||||||
.globl pthread_rwlock_wrlock
|
strong_alias (__pthread_rwlock_wrlock, pthread_rwlock_wrlock)
|
||||||
pthread_rwlock_wrlock = __pthread_rwlock_wrlock
|
hidden_def (__pthread_rwlock_wrlock)
|
||||||
|
|
||||||
.globl __pthread_rwlock_wrlock_internal
|
|
||||||
__pthread_rwlock_wrlock_internal = __pthread_rwlock_wrlock
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2002, 2003, 2007, 2012 Free Software Foundation, Inc.
|
/* Copyright (C) 2002-2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
||||||
|
|
||||||
@ -174,8 +174,5 @@ __pthread_once:
|
|||||||
cfi_endproc
|
cfi_endproc
|
||||||
.size __pthread_once,.-__pthread_once
|
.size __pthread_once,.-__pthread_once
|
||||||
|
|
||||||
.globl __pthread_once_internal
|
hidden_def (__pthread_once)
|
||||||
__pthread_once_internal = __pthread_once
|
strong_alias (__pthread_once, pthread_once)
|
||||||
|
|
||||||
.globl pthread_once
|
|
||||||
pthread_once = __pthread_once
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc.
|
/* Copyright (C) 2003-2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Paul Mackerras <paulus@au.ibm.com>, 2003.
|
Contributed by Paul Mackerras <paulus@au.ibm.com>, 2003.
|
||||||
|
|
||||||
@ -96,4 +96,4 @@ __pthread_once (pthread_once_t *once_control, void (*init_routine) (void))
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
weak_alias (__pthread_once, pthread_once)
|
weak_alias (__pthread_once, pthread_once)
|
||||||
strong_alias (__pthread_once, __pthread_once_internal)
|
hidden_def (__pthread_once)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2003, 2007 Free Software Foundation, Inc.
|
/* Copyright (C) 2003-2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Martin Schwidefsky <schwidefsky@de.ibm.com>, 2003.
|
Contributed by Martin Schwidefsky <schwidefsky@de.ibm.com>, 2003.
|
||||||
|
|
||||||
@ -107,4 +107,4 @@ __pthread_once (once_control, init_routine)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
weak_alias (__pthread_once, pthread_once)
|
weak_alias (__pthread_once, pthread_once)
|
||||||
strong_alias (__pthread_once, __pthread_once_internal)
|
hidden_def (__pthread_once)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc.
|
/* Copyright (C) 2003-2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -253,8 +253,5 @@ __pthread_once:
|
|||||||
.long HIDDEN_JUMPTARGET(__pthread_unwind_next)-.Lunext0
|
.long HIDDEN_JUMPTARGET(__pthread_unwind_next)-.Lunext0
|
||||||
.size __pthread_once,.-__pthread_once
|
.size __pthread_once,.-__pthread_once
|
||||||
|
|
||||||
.globl __pthread_once_internal
|
hidden_def (__pthread_once)
|
||||||
__pthread_once_internal = __pthread_once
|
strong_alias (__pthread_once, pthread_once)
|
||||||
|
|
||||||
.globl pthread_once
|
|
||||||
pthread_once = __pthread_once
|
|
||||||
|
@ -266,8 +266,5 @@ __pthread_rwlock_rdlock:
|
|||||||
.long __lll_unlock_wake-.Lwake1b
|
.long __lll_unlock_wake-.Lwake1b
|
||||||
.size __pthread_rwlock_rdlock,.-__pthread_rwlock_rdlock
|
.size __pthread_rwlock_rdlock,.-__pthread_rwlock_rdlock
|
||||||
|
|
||||||
.globl pthread_rwlock_rdlock
|
strong_alias (__pthread_rwlock_rdlock, pthread_rwlock_rdlock)
|
||||||
pthread_rwlock_rdlock = __pthread_rwlock_rdlock
|
hidden_def (__pthread_rwlock_rdlock)
|
||||||
|
|
||||||
.globl __pthread_rwlock_rdlock_internal
|
|
||||||
__pthread_rwlock_rdlock_internal = __pthread_rwlock_rdlock
|
|
||||||
|
@ -217,8 +217,5 @@ __pthread_rwlock_unlock:
|
|||||||
.long __lll_unlock_wake-.Lwake9b
|
.long __lll_unlock_wake-.Lwake9b
|
||||||
.size __pthread_rwlock_unlock,.-__pthread_rwlock_unlock
|
.size __pthread_rwlock_unlock,.-__pthread_rwlock_unlock
|
||||||
|
|
||||||
.globl pthread_rwlock_unlock
|
strong_alias (__pthread_rwlock_unlock, pthread_rwlock_unlock)
|
||||||
pthread_rwlock_unlock = __pthread_rwlock_unlock
|
hidden_def (__pthread_rwlock_unlock)
|
||||||
|
|
||||||
.globl __pthread_rwlock_unlock_internal
|
|
||||||
__pthread_rwlock_unlock_internal = __pthread_rwlock_unlock
|
|
||||||
|
@ -247,8 +247,6 @@ __pthread_rwlock_wrlock:
|
|||||||
.long __lll_lock_wait-.Lwait5b
|
.long __lll_lock_wait-.Lwait5b
|
||||||
.Lwake5:
|
.Lwake5:
|
||||||
.long __lll_unlock_wake-.Lwake5b
|
.long __lll_unlock_wake-.Lwake5b
|
||||||
.globl pthread_rwlock_wrlock
|
|
||||||
pthread_rwlock_wrlock = __pthread_rwlock_wrlock
|
|
||||||
|
|
||||||
.globl __pthread_rwlock_wrlock_internal
|
strong_alias (__pthread_rwlock_wrlock, pthread_rwlock_wrlock)
|
||||||
__pthread_rwlock_wrlock_internal = __pthread_rwlock_wrlock
|
hidden_def (__pthread_rwlock_wrlock)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc.
|
/* Copyright (C) 2003-2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Jakub Jelinek <jakub@redhat.com>, 2003.
|
Contributed by Jakub Jelinek <jakub@redhat.com>, 2003.
|
||||||
|
|
||||||
@ -90,4 +90,4 @@ __pthread_once (once_control, init_routine)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
weak_alias (__pthread_once, pthread_once)
|
weak_alias (__pthread_once, pthread_once)
|
||||||
strong_alias (__pthread_once, __pthread_once_internal)
|
hidden_def (__pthread_once)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2002, 2003, 2005, 2007, 2009 Free Software Foundation, Inc.
|
/* Copyright (C) 2002-2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
||||||
|
|
||||||
@ -132,11 +132,8 @@ __pthread_once:
|
|||||||
.size __pthread_once,.-__pthread_once
|
.size __pthread_once,.-__pthread_once
|
||||||
|
|
||||||
|
|
||||||
.globl __pthread_once_internal
|
hidden_def (__pthread_once)
|
||||||
__pthread_once_internal = __pthread_once
|
strong_alias (__pthread_once, pthread_once)
|
||||||
|
|
||||||
.globl pthread_once
|
|
||||||
pthread_once = __pthread_once
|
|
||||||
|
|
||||||
|
|
||||||
.type clear_once_control,@function
|
.type clear_once_control,@function
|
||||||
|
@ -173,8 +173,5 @@ __pthread_rwlock_rdlock:
|
|||||||
cfi_endproc
|
cfi_endproc
|
||||||
.size __pthread_rwlock_rdlock,.-__pthread_rwlock_rdlock
|
.size __pthread_rwlock_rdlock,.-__pthread_rwlock_rdlock
|
||||||
|
|
||||||
.globl pthread_rwlock_rdlock
|
strong_alias (__pthread_rwlock_rdlock, pthread_rwlock_rdlock)
|
||||||
pthread_rwlock_rdlock = __pthread_rwlock_rdlock
|
hidden_def (__pthread_rwlock_rdlock)
|
||||||
|
|
||||||
.globl __pthread_rwlock_rdlock_internal
|
|
||||||
__pthread_rwlock_rdlock_internal = __pthread_rwlock_rdlock
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2002, 2003, 2005, 2007, 2009 Free Software Foundation, Inc.
|
/* Copyright (C) 2002-2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
||||||
|
|
||||||
@ -122,8 +122,5 @@ __pthread_rwlock_unlock:
|
|||||||
cfi_endproc
|
cfi_endproc
|
||||||
.size __pthread_rwlock_unlock,.-__pthread_rwlock_unlock
|
.size __pthread_rwlock_unlock,.-__pthread_rwlock_unlock
|
||||||
|
|
||||||
.globl pthread_rwlock_unlock
|
strong_alias (__pthread_rwlock_unlock, pthread_rwlock_unlock)
|
||||||
pthread_rwlock_unlock = __pthread_rwlock_unlock
|
hidden_def (__pthread_rwlock_unlock)
|
||||||
|
|
||||||
.globl __pthread_rwlock_unlock_internal
|
|
||||||
__pthread_rwlock_unlock_internal = __pthread_rwlock_unlock
|
|
||||||
|
@ -161,8 +161,5 @@ __pthread_rwlock_wrlock:
|
|||||||
cfi_endproc
|
cfi_endproc
|
||||||
.size __pthread_rwlock_wrlock,.-__pthread_rwlock_wrlock
|
.size __pthread_rwlock_wrlock,.-__pthread_rwlock_wrlock
|
||||||
|
|
||||||
.globl pthread_rwlock_wrlock
|
strong_alias (__pthread_rwlock_wrlock, pthread_rwlock_wrlock)
|
||||||
pthread_rwlock_wrlock = __pthread_rwlock_wrlock
|
hidden_def (__pthread_rwlock_wrlock)
|
||||||
|
|
||||||
.globl __pthread_rwlock_wrlock_internal
|
|
||||||
__pthread_rwlock_wrlock_internal = __pthread_rwlock_wrlock
|
|
||||||
|
Loading…
Reference in New Issue
Block a user