summary refs log tree commit diff
path: root/sysdeps/mach/hurd/htl
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-10 23:45:23 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-10 23:45:23 +0000
commitfba7fc5a21f5c56e4878228d2311d040e5b84653 (patch)
treeb89150c1dfec0205b7d4996d776d37fb177e2ec4 /sysdeps/mach/hurd/htl
parent8ba6ad703cb38ec57cdb473650ac289e5f8496d5 (diff)
downloadglibc-fba7fc5a21f5c56e4878228d2311d040e5b84653.tar.gz
glibc-fba7fc5a21f5c56e4878228d2311d040e5b84653.tar.xz
glibc-fba7fc5a21f5c56e4878228d2311d040e5b84653.zip
htl C11 threads: Avoid pthread_ symbols visibility in static library
Diffstat (limited to 'sysdeps/mach/hurd/htl')
-rw-r--r--sysdeps/mach/hurd/htl/pt-mutex-destroy.c2
-rw-r--r--sysdeps/mach/hurd/htl/pt-mutex-init.c2
-rw-r--r--sysdeps/mach/hurd/htl/pt-mutex-lock.c2
-rw-r--r--sysdeps/mach/hurd/htl/pt-mutex-timedlock.c2
-rw-r--r--sysdeps/mach/hurd/htl/pt-mutex-trylock.c2
-rw-r--r--sysdeps/mach/hurd/htl/pt-mutex-unlock.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/mach/hurd/htl/pt-mutex-destroy.c b/sysdeps/mach/hurd/htl/pt-mutex-destroy.c
index a5bfaddcb2..b1f68fe504 100644
--- a/sysdeps/mach/hurd/htl/pt-mutex-destroy.c
+++ b/sysdeps/mach/hurd/htl/pt-mutex-destroy.c
@@ -34,5 +34,5 @@ __pthread_mutex_destroy (pthread_mutex_t *mtxp)
   return 0;
 }
 
-strong_alias (__pthread_mutex_destroy, pthread_mutex_destroy)
+weak_alias (__pthread_mutex_destroy, pthread_mutex_destroy)
 hidden_def (__pthread_mutex_destroy)
diff --git a/sysdeps/mach/hurd/htl/pt-mutex-init.c b/sysdeps/mach/hurd/htl/pt-mutex-init.c
index 7a2cc462f3..af052c493e 100644
--- a/sysdeps/mach/hurd/htl/pt-mutex-init.c
+++ b/sysdeps/mach/hurd/htl/pt-mutex-init.c
@@ -55,5 +55,5 @@ __pthread_mutex_init (pthread_mutex_t *mtxp, const pthread_mutexattr_t *attrp)
   return 0;
 }
 
-strong_alias (__pthread_mutex_init, pthread_mutex_init)
+weak_alias (__pthread_mutex_init, pthread_mutex_init)
 hidden_def (__pthread_mutex_init)
diff --git a/sysdeps/mach/hurd/htl/pt-mutex-lock.c b/sysdeps/mach/hurd/htl/pt-mutex-lock.c
index 6d334a2977..22510701d8 100644
--- a/sysdeps/mach/hurd/htl/pt-mutex-lock.c
+++ b/sysdeps/mach/hurd/htl/pt-mutex-lock.c
@@ -77,4 +77,4 @@ __pthread_mutex_lock (pthread_mutex_t *mtxp)
 }
 
 strong_alias (__pthread_mutex_lock, _pthread_mutex_lock)
-strong_alias (__pthread_mutex_lock, pthread_mutex_lock)
+weak_alias (__pthread_mutex_lock, pthread_mutex_lock)
diff --git a/sysdeps/mach/hurd/htl/pt-mutex-timedlock.c b/sysdeps/mach/hurd/htl/pt-mutex-timedlock.c
index 3aa7d798b2..b11bfc87c8 100644
--- a/sysdeps/mach/hurd/htl/pt-mutex-timedlock.c
+++ b/sysdeps/mach/hurd/htl/pt-mutex-timedlock.c
@@ -76,5 +76,5 @@ __pthread_mutex_timedlock (pthread_mutex_t *mtxp, const struct timespec *tsp)
 
   return ret;
 }
-strong_alias (__pthread_mutex_timedlock, pthread_mutex_timedlock)
+weak_alias (__pthread_mutex_timedlock, pthread_mutex_timedlock)
 hidden_def (__pthread_mutex_timedlock)
diff --git a/sysdeps/mach/hurd/htl/pt-mutex-trylock.c b/sysdeps/mach/hurd/htl/pt-mutex-trylock.c
index 5708caf096..f883ec3f30 100644
--- a/sysdeps/mach/hurd/htl/pt-mutex-trylock.c
+++ b/sysdeps/mach/hurd/htl/pt-mutex-trylock.c
@@ -81,4 +81,4 @@ __pthread_mutex_trylock (pthread_mutex_t *mtxp)
 }
 
 strong_alias (__pthread_mutex_trylock, _pthread_mutex_trylock)
-strong_alias (__pthread_mutex_trylock, pthread_mutex_trylock)
+weak_alias (__pthread_mutex_trylock, pthread_mutex_trylock)
diff --git a/sysdeps/mach/hurd/htl/pt-mutex-unlock.c b/sysdeps/mach/hurd/htl/pt-mutex-unlock.c
index 4b99a710f1..aabe9eafbb 100644
--- a/sysdeps/mach/hurd/htl/pt-mutex-unlock.c
+++ b/sysdeps/mach/hurd/htl/pt-mutex-unlock.c
@@ -88,4 +88,4 @@ __pthread_mutex_unlock (pthread_mutex_t *mtxp)
 }
 
 strong_alias (__pthread_mutex_unlock, _pthread_mutex_unlock)
-strong_alias (__pthread_mutex_unlock, pthread_mutex_unlock)
+weak_alias (__pthread_mutex_unlock, pthread_mutex_unlock)