Browse Source

Revert "nptl: mark symbols with libc forwarder hidden"

This reverts most of commit 1610762362e651f86ca284ac59a1d7ec88034e4e.

Marking the symbols hidden is wrong, because libc accesses
the pthreads internal symbols for internal locking.

Signed-off-by: Timo Teras <timo.teras@iki.fi>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Timo Teras 14 years ago
parent
commit
e80e2f6126
70 changed files with 1 additions and 71 deletions
  1. 0 2
      libpthread/nptl/cleanup_defer_compat.c
  2. 0 1
      libpthread/nptl/pt-cleanup.c
  3. 0 1
      libpthread/nptl/pthread_attr_destroy.c
  4. 0 1
      libpthread/nptl/pthread_attr_getdetachstate.c
  5. 0 1
      libpthread/nptl/pthread_attr_getinheritsched.c
  6. 0 1
      libpthread/nptl/pthread_attr_getschedparam.c
  7. 0 1
      libpthread/nptl/pthread_attr_getschedpolicy.c
  8. 0 1
      libpthread/nptl/pthread_attr_getscope.c
  9. 0 1
      libpthread/nptl/pthread_attr_init.c
  10. 0 1
      libpthread/nptl/pthread_attr_setdetachstate.c
  11. 0 1
      libpthread/nptl/pthread_attr_setinheritsched.c
  12. 0 1
      libpthread/nptl/pthread_attr_setschedparam.c
  13. 0 1
      libpthread/nptl/pthread_attr_setschedpolicy.c
  14. 0 1
      libpthread/nptl/pthread_attr_setscope.c
  15. 0 1
      libpthread/nptl/pthread_cond_destroy.c
  16. 0 1
      libpthread/nptl/pthread_cond_init.c
  17. 0 1
      libpthread/nptl/pthread_condattr_destroy.c
  18. 0 1
      libpthread/nptl/pthread_condattr_init.c
  19. 1 1
      libpthread/nptl/pthread_create.c
  20. 0 1
      libpthread/nptl/pthread_equal.c
  21. 0 1
      libpthread/nptl/pthread_exit.c
  22. 0 1
      libpthread/nptl/pthread_getschedparam.c
  23. 0 1
      libpthread/nptl/pthread_getspecific.c
  24. 0 1
      libpthread/nptl/pthread_key_create.c
  25. 0 1
      libpthread/nptl/pthread_mutex_destroy.c
  26. 0 1
      libpthread/nptl/pthread_mutex_init.c
  27. 0 1
      libpthread/nptl/pthread_mutex_lock.c
  28. 0 1
      libpthread/nptl/pthread_mutex_unlock.c
  29. 0 1
      libpthread/nptl/pthread_self.c
  30. 0 1
      libpthread/nptl/pthread_setcancelstate.c
  31. 0 1
      libpthread/nptl/pthread_setcanceltype.c
  32. 0 1
      libpthread/nptl/pthread_setschedparam.c
  33. 0 1
      libpthread/nptl/pthread_setspecific.c
  34. 0 1
      libpthread/nptl/sysdeps/pthread/pthread_cond_broadcast.c
  35. 0 1
      libpthread/nptl/sysdeps/pthread/pthread_cond_signal.c
  36. 0 1
      libpthread/nptl/sysdeps/pthread/pthread_cond_timedwait.c
  37. 0 1
      libpthread/nptl/sysdeps/pthread/pthread_cond_wait.c
  38. 0 1
      libpthread/nptl/sysdeps/pthread/pthread_rwlock_rdlock.c
  39. 0 1
      libpthread/nptl/sysdeps/pthread/pthread_rwlock_unlock.c
  40. 0 1
      libpthread/nptl/sysdeps/pthread/pthread_rwlock_wrlock.c
  41. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/alpha/pthread_once.c
  42. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/arm/pthread_once.c
  43. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S
  44. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S
  45. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S
  46. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S
  47. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S
  48. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S
  49. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S
  50. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S
  51. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/mips/pthread_once.c
  52. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c
  53. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S
  54. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S
  55. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S
  56. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S
  57. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S
  58. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S
  59. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S
  60. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S
  61. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c
  62. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
  63. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
  64. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
  65. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
  66. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S
  67. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S
  68. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S
  69. 0 1
      libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S
  70. 0 1
      libpthread/nptl/unwind.c

+ 0 - 2
libpthread/nptl/cleanup_defer_compat.c

@@ -21,7 +21,6 @@
 
 
 void
-attribute_hidden
 _pthread_cleanup_push_defer (
      struct _pthread_cleanup_buffer *buffer,
      void (*routine) (void *),
@@ -61,7 +60,6 @@ strong_alias (_pthread_cleanup_push_defer, __pthread_cleanup_push_defer)
 
 
 void
-attribute_hidden
 _pthread_cleanup_pop_restore (
      struct _pthread_cleanup_buffer *buffer,
      int execute)

+ 0 - 1
libpthread/nptl/pt-cleanup.c

@@ -23,7 +23,6 @@
 #include <jmpbuf-unwind.h>
 
 void
-attribute_hidden
 __pthread_cleanup_upto (__jmp_buf target, char *targetframe)
 {
   struct pthread *self = THREAD_SELF;

+ 0 - 1
libpthread/nptl/pthread_attr_destroy.c

@@ -24,7 +24,6 @@
 #include "pthreadP.h"
 
 int
-attribute_hidden
 __pthread_attr_destroy (
      pthread_attr_t *attr)
 {

+ 0 - 1
libpthread/nptl/pthread_attr_getdetachstate.c

@@ -22,7 +22,6 @@
 
 
 int
-attribute_hidden
 __pthread_attr_getdetachstate (
      const pthread_attr_t *attr,
      int *detachstate)

+ 0 - 1
libpthread/nptl/pthread_attr_getinheritsched.c

@@ -22,7 +22,6 @@
 
 
 int
-attribute_hidden
 __pthread_attr_getinheritsched (
      const pthread_attr_t *attr,
      int *inherit)

+ 0 - 1
libpthread/nptl/pthread_attr_getschedparam.c

@@ -23,7 +23,6 @@
 
 
 int
-attribute_hidden
 __pthread_attr_getschedparam (
         const pthread_attr_t *attr,
         struct sched_param *param)

+ 0 - 1
libpthread/nptl/pthread_attr_getschedpolicy.c

@@ -22,7 +22,6 @@
 
 
 int
-attribute_hidden
 __pthread_attr_getschedpolicy (
      const pthread_attr_t *attr,
      int *policy)

+ 0 - 1
libpthread/nptl/pthread_attr_getscope.c

@@ -22,7 +22,6 @@
 
 
 int
-attribute_hidden
 __pthread_attr_getscope (
      const pthread_attr_t *attr,
      int *scope)

+ 0 - 1
libpthread/nptl/pthread_attr_init.c

@@ -29,7 +29,6 @@ int __attr_list_lock = LLL_LOCK_INITIALIZER;
 
 
 int
-attribute_hidden
 __pthread_attr_init_2_1 (
      pthread_attr_t *attr)
 {

+ 0 - 1
libpthread/nptl/pthread_attr_setdetachstate.c

@@ -23,7 +23,6 @@
 
 
 int
-attribute_hidden
 __pthread_attr_setdetachstate (pthread_attr_t *attr, int detachstate)
 {
   struct pthread_attr *iattr;

+ 0 - 1
libpthread/nptl/pthread_attr_setinheritsched.c

@@ -23,7 +23,6 @@
 
 
 int
-attribute_hidden
 __pthread_attr_setinheritsched (
      pthread_attr_t *attr,
      int inherit)

+ 0 - 1
libpthread/nptl/pthread_attr_setschedparam.c

@@ -24,7 +24,6 @@
 
 
 int
-attribute_hidden
 __pthread_attr_setschedparam (
      pthread_attr_t *attr,
      const struct sched_param *param)

+ 0 - 1
libpthread/nptl/pthread_attr_setschedpolicy.c

@@ -23,7 +23,6 @@
 
 
 int
-attribute_hidden
 __pthread_attr_setschedpolicy (
      pthread_attr_t *attr,
      int policy)

+ 0 - 1
libpthread/nptl/pthread_attr_setscope.c

@@ -23,7 +23,6 @@
 
 
 int
-attribute_hidden
 __pthread_attr_setscope (
      pthread_attr_t *attr,
      int scope)

+ 0 - 1
libpthread/nptl/pthread_cond_destroy.c

@@ -22,7 +22,6 @@
 
 
 int
-attribute_hidden
 __pthread_cond_destroy (
      pthread_cond_t *cond)
 {

+ 0 - 1
libpthread/nptl/pthread_cond_init.c

@@ -22,7 +22,6 @@
 
 
 int
-attribute_hidden
 __pthread_cond_init (
      pthread_cond_t *cond,
      const pthread_condattr_t *cond_attr)

+ 0 - 1
libpthread/nptl/pthread_condattr_destroy.c

@@ -21,7 +21,6 @@
 
 
 int
-attribute_hidden
 __pthread_condattr_destroy (pthread_condattr_t *attr)
 {
   /* Nothing to be done.  */

+ 0 - 1
libpthread/nptl/pthread_condattr_init.c

@@ -22,7 +22,6 @@
 
 
 int
-attribute_hidden
 __pthread_condattr_init (pthread_condattr_t *attr)
 {
   memset (attr, '\0', sizeof (*attr));

+ 1 - 1
libpthread/nptl/pthread_create.c

@@ -44,7 +44,7 @@ static td_thr_events_t __nptl_threads_events __attribute_used__;
 static struct pthread *__nptl_last_event __attribute_used__;
 
 /* Number of threads running.  */
-unsigned int attribute_hidden __nptl_nthreads = 1;
+unsigned int __nptl_nthreads = 1;
 
 
 /* Code to allocate and deallocate a stack.  */

+ 0 - 1
libpthread/nptl/pthread_equal.c

@@ -21,7 +21,6 @@
 
 
 int
-attribute_hidden
 __pthread_equal (pthread_t thread1, pthread_t thread2)
 {
   return thread1 == thread2;

+ 0 - 1
libpthread/nptl/pthread_exit.c

@@ -22,7 +22,6 @@
 
 
 void
-attribute_hidden
 __pthread_exit (void* value)
 {
   THREAD_SETMEM (THREAD_SELF, result, value);

+ 0 - 1
libpthread/nptl/pthread_getschedparam.c

@@ -24,7 +24,6 @@
 
 
 int
-attribute_hidden
 __pthread_getschedparam (
      pthread_t threadid,
      int *policy,

+ 0 - 1
libpthread/nptl/pthread_getspecific.c

@@ -22,7 +22,6 @@
 
 
 void *
-attribute_hidden
 __pthread_getspecific (pthread_key_t key)
 {
   struct pthread_key_data *data;

+ 0 - 1
libpthread/nptl/pthread_key_create.c

@@ -23,7 +23,6 @@
 
 
 int
-attribute_hidden
 __pthread_key_create (
      pthread_key_t *key,
      void (*destr) (void *))

+ 0 - 1
libpthread/nptl/pthread_mutex_destroy.c

@@ -22,7 +22,6 @@
 
 
 int
-attribute_hidden
 __pthread_mutex_destroy (
      pthread_mutex_t *mutex)
 {

+ 0 - 1
libpthread/nptl/pthread_mutex_init.c

@@ -37,7 +37,6 @@ static int tpi_supported;
 
 
 int
-attribute_hidden
 __pthread_mutex_init (
      pthread_mutex_t *mutex,
      const pthread_mutexattr_t *mutexattr)

+ 0 - 1
libpthread/nptl/pthread_mutex_lock.c

@@ -42,7 +42,6 @@ static int __pthread_mutex_lock_full (pthread_mutex_t *mutex)
 
 
 int
-attribute_hidden
 __pthread_mutex_lock (
      pthread_mutex_t *mutex)
 {

+ 0 - 1
libpthread/nptl/pthread_mutex_unlock.c

@@ -284,7 +284,6 @@ __pthread_mutex_unlock_full (pthread_mutex_t *mutex, int decr)
 
 
 int
-attribute_hidden
 __pthread_mutex_unlock (
      pthread_mutex_t *mutex)
 {

+ 0 - 1
libpthread/nptl/pthread_self.c

@@ -22,7 +22,6 @@
 
 
 pthread_t
-attribute_hidden
 __pthread_self (void)
 {
   return (pthread_t) THREAD_SELF;

+ 0 - 1
libpthread/nptl/pthread_setcancelstate.c

@@ -23,7 +23,6 @@
 
 
 int
-attribute_hidden
 __pthread_setcancelstate (
      int state,
      int *oldstate)

+ 0 - 1
libpthread/nptl/pthread_setcanceltype.c

@@ -23,7 +23,6 @@
 
 
 int
-attribute_hidden
 __pthread_setcanceltype (
      int type,
      int *oldtype)

+ 0 - 1
libpthread/nptl/pthread_setschedparam.c

@@ -25,7 +25,6 @@
 
 
 int
-attribute_hidden
 __pthread_setschedparam (
      pthread_t threadid,
      int policy,

+ 0 - 1
libpthread/nptl/pthread_setspecific.c

@@ -23,7 +23,6 @@
 
 
 int
-attribute_hidden
 __pthread_setspecific (
      pthread_key_t key,
      const void *value)

+ 0 - 1
libpthread/nptl/sysdeps/pthread/pthread_cond_broadcast.c

@@ -28,7 +28,6 @@
 
 
 int
-attribute_hidden
 __pthread_cond_broadcast (
      pthread_cond_t *cond)
 {

+ 0 - 1
libpthread/nptl/sysdeps/pthread/pthread_cond_signal.c

@@ -28,7 +28,6 @@
 
 
 int
-attribute_hidden
 __pthread_cond_signal (
      pthread_cond_t *cond)
 {

+ 0 - 1
libpthread/nptl/sysdeps/pthread/pthread_cond_timedwait.c

@@ -39,7 +39,6 @@ struct _condvar_cleanup_buffer
 };
 
 int
-attribute_hidden
 __pthread_cond_timedwait (
      pthread_cond_t *cond,
      pthread_mutex_t *mutex,

+ 0 - 1
libpthread/nptl/sysdeps/pthread/pthread_cond_wait.c

@@ -89,7 +89,6 @@ __condvar_cleanup (void *arg)
 
 
 int
-attribute_hidden
 __pthread_cond_wait (
      pthread_cond_t *cond,
      pthread_mutex_t *mutex)

+ 0 - 1
libpthread/nptl/sysdeps/pthread/pthread_rwlock_rdlock.c

@@ -26,7 +26,6 @@
 
 /* Acquire read lock for RWLOCK.  */
 int
-attribute_hidden
 __pthread_rwlock_rdlock (
      pthread_rwlock_t *rwlock)
 {

+ 0 - 1
libpthread/nptl/sysdeps/pthread/pthread_rwlock_unlock.c

@@ -25,7 +25,6 @@
 
 /* Unlock RWLOCK.  */
 int
-attribute_hidden
 __pthread_rwlock_unlock (pthread_rwlock_t *rwlock)
 {
   lll_lock (rwlock->__data.__lock, rwlock->__data.__shared);

+ 0 - 1
libpthread/nptl/sysdeps/pthread/pthread_rwlock_wrlock.c

@@ -26,7 +26,6 @@
 
 /* Acquire write lock for RWLOCK.  */
 int
-attribute_hidden
 __pthread_rwlock_wrlock (
      pthread_rwlock_t *rwlock)
 {

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/alpha/pthread_once.c

@@ -32,7 +32,6 @@ clear_once_control (void *arg)
 }
 
 int
-attribute_hidden
 __pthread_once (pthread_once_t *once_control, void (*init_routine) (void))
 {
   for (;;)

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/arm/pthread_once.c

@@ -31,7 +31,6 @@ clear_once_control (void *arg)
 }
 
 int
-attribute_hidden
 __pthread_once (pthread_once_t *once_control, void (*init_routine) (void))
 {
   for (;;)

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S

@@ -30,7 +30,6 @@
 	/* int pthread_cond_broadcast (pthread_cond_t *cond) */
 	.globl	__pthread_cond_broadcast
 	.type	__pthread_cond_broadcast, @function
-	.hidden	__pthread_cond_broadcast
 	.align	16
 __pthread_cond_broadcast:
 	cfi_startproc

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S

@@ -31,7 +31,6 @@
 	/* int pthread_cond_signal (pthread_cond_t *cond) */
 	.globl	__pthread_cond_signal
 	.type	__pthread_cond_signal, @function
-	.hidden	__pthread_cond_signal
 	.align	16
 __pthread_cond_signal:
 

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S

@@ -31,7 +31,6 @@
 			       const struct timespec *abstime)  */
 	.globl	__pthread_cond_timedwait
 	.type	__pthread_cond_timedwait, @function
-	.hidden	__pthread_cond_timedwait
 	.align	16
 __pthread_cond_timedwait:
 .LSTARTCODE:

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S

@@ -31,7 +31,6 @@
 /* int pthread_cond_wait (pthread_cond_t *cond, pthread_mutex_t *mutex)  */
 	.globl	__pthread_cond_wait
 	.type	__pthread_cond_wait, @function
-	.hidden	__pthread_cond_wait
 	.align	16
 __pthread_cond_wait:
 .LSTARTCODE:

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S

@@ -29,7 +29,6 @@
 
 	.globl	__pthread_rwlock_rdlock
 	.type	__pthread_rwlock_rdlock,@function
-	.hidden	__pthread_rwlock_rdlock
 	.align	16
 __pthread_rwlock_rdlock:
 	cfi_startproc

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S

@@ -28,7 +28,6 @@
 
 	.globl	__pthread_rwlock_unlock
 	.type	__pthread_rwlock_unlock,@function
-	.hidden	__pthread_rwlock_unlock
 	.align	16
 __pthread_rwlock_unlock:
 	cfi_startproc

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S

@@ -29,7 +29,6 @@
 
 	.globl	__pthread_rwlock_wrlock
 	.type	__pthread_rwlock_wrlock,@function
-	.hidden	__pthread_rwlock_wrlock
 	.align	16
 __pthread_rwlock_wrlock:
 	cfi_startproc

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S

@@ -31,7 +31,6 @@
 
 	.globl	__pthread_once
 	.type	__pthread_once,@function
-	.hidden	__pthread_once
 	.align	16
 	cfi_startproc
 __pthread_once:

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/mips/pthread_once.c

@@ -35,7 +35,6 @@ clear_once_control (void *arg)
 
 
 int
-attribute_hidden
 __pthread_once (once_control, init_routine)
      pthread_once_t *once_control;
      void (*init_routine) (void);

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c

@@ -35,7 +35,6 @@ clear_once_control (void *arg)
 
 
 int
-attribute_hidden
 __pthread_once (pthread_once_t *once_control, void (*init_routine) (void))
 {
   for (;;)

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S

@@ -30,7 +30,6 @@
 	/* int pthread_cond_broadcast (pthread_cond_t *cond) */
 	.globl	__pthread_cond_broadcast
 	.type	__pthread_cond_broadcast, @function
-	.hidden	__pthread_cond_broadcast
 	.align	5
 __pthread_cond_broadcast:
 	mov.l   r10, @-r15

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S

@@ -29,7 +29,6 @@
 	/* int pthread_cond_signal (pthread_cond_t *cond) */
 	.globl	__pthread_cond_signal
 	.type	__pthread_cond_signal, @function
-	.hidden	__pthread_cond_signal
 	.align	5
 __pthread_cond_signal:
 	mov.l	r8, @-r15

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S

@@ -30,7 +30,6 @@
 			       const struct timespec *abstime)  */
 	.globl	__pthread_cond_timedwait
 	.type	__pthread_cond_timedwait, @function
-	.hidden	__pthread_cond_timedwait
 	.align	5
 __pthread_cond_timedwait:
 .LSTARTCODE:

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S

@@ -28,7 +28,6 @@
 /* int pthread_cond_wait (pthread_cond_t *cond, pthread_mutex_t *mutex)  */
 	.globl	__pthread_cond_wait
 	.type	__pthread_cond_wait, @function
-	.hidden	__pthread_cond_wait
 	.align	5
 __pthread_cond_wait:
 .LSTARTCODE:

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S

@@ -29,7 +29,6 @@
 	.text
 	.globl	__pthread_once
 	.type	__pthread_once,@function
-	.hidden	__pthread_once
 	.align	5
 	cfi_startproc
 __pthread_once:

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S

@@ -29,7 +29,6 @@
 
 	.globl	__pthread_rwlock_rdlock
 	.type	__pthread_rwlock_rdlock,@function
-	.hidden	__pthread_rwlock_rdlock
 	.align	5
 __pthread_rwlock_rdlock:
 	mov.l	r12, @-r15

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S

@@ -28,7 +28,6 @@
 
 	.globl	__pthread_rwlock_unlock
 	.type	__pthread_rwlock_unlock,@function
-	.hidden	__pthread_rwlock_unlock
 	.align	5
 __pthread_rwlock_unlock:
 	mov.l	r12, @-r15

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S

@@ -29,7 +29,6 @@
 
 	.globl	__pthread_rwlock_wrlock
 	.type	__pthread_rwlock_wrlock,@function
-	.hidden	__pthread_rwlock_wrlock
 	.align	5
 __pthread_rwlock_wrlock:
 	mov.l	r12, @-r15

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c

@@ -35,7 +35,6 @@ clear_once_control (void *arg)
 
 
 int
-attribute_hidden
 __pthread_once (once_control, init_routine)
      pthread_once_t *once_control;
      void (*init_routine) (void);

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S

@@ -31,7 +31,6 @@
 	/* int pthread_cond_broadcast (pthread_cond_t *cond) */
 	.globl	__pthread_cond_broadcast
 	.type	__pthread_cond_broadcast, @function
-	.hidden	__pthread_cond_broadcast
 	.align	16
 __pthread_cond_broadcast:
 

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S

@@ -30,7 +30,6 @@
 	/* int pthread_cond_signal (pthread_cond_t *cond) */
 	.globl	__pthread_cond_signal
 	.type	__pthread_cond_signal, @function
-	.hidden	__pthread_cond_signal
 	.align	16
 __pthread_cond_signal:
 

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S

@@ -36,7 +36,6 @@
 			       const struct timespec *abstime)  */
 	.globl	__pthread_cond_timedwait
 	.type	__pthread_cond_timedwait, @function
-	.hidden	__pthread_cond_timedwait
 	.align	16
 __pthread_cond_timedwait:
 .LSTARTCODE:

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S

@@ -31,7 +31,6 @@
 /* int pthread_cond_wait (pthread_cond_t *cond, pthread_mutex_t *mutex)  */
 	.globl	__pthread_cond_wait
 	.type	__pthread_cond_wait, @function
-	.hidden	__pthread_cond_wait
 	.align	16
 __pthread_cond_wait:
 .LSTARTCODE:

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S

@@ -30,7 +30,6 @@
 
 	.globl	__pthread_once
 	.type	__pthread_once,@function
-	.hidden	__pthread_once
 	.align	16
 __pthread_once:
 .LSTARTCODE:

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S

@@ -29,7 +29,6 @@
 
 	.globl	__pthread_rwlock_rdlock
 	.type	__pthread_rwlock_rdlock,@function
-	.hidden	__pthread_rwlock_rdlock
 	.align	16
 __pthread_rwlock_rdlock:
 	cfi_startproc

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S

@@ -27,7 +27,6 @@
 
 	.globl	__pthread_rwlock_unlock
 	.type	__pthread_rwlock_unlock,@function
-	.hidden	__pthread_rwlock_unlock
 	.align	16
 __pthread_rwlock_unlock:
 	cfi_startproc

+ 0 - 1
libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S

@@ -29,7 +29,6 @@
 
 	.globl	__pthread_rwlock_wrlock
 	.type	__pthread_rwlock_wrlock,@function
-	.hidden	__pthread_rwlock_wrlock
 	.align	16
 __pthread_rwlock_wrlock:
 	cfi_startproc

+ 0 - 1
libpthread/nptl/unwind.c

@@ -115,7 +115,6 @@ unwind_cleanup (_Unwind_Reason_Code reason, struct _Unwind_Exception *exc)
 
 
 void
-attribute_hidden
 __cleanup_fct_attribute __attribute ((noreturn))
 __pthread_unwind (__pthread_unwind_buf_t *buf)
 {