about summary refs log tree commit diff
path: root/sysdeps/htl/sem-post.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-06-24 13:38:08 +0200
committerFlorian Weimer <fweimer@redhat.com>2020-06-24 13:38:08 +0200
commit1fb7dc751edc462f6954b9c16dd126bf48a1df18 (patch)
treedf7428429da634a874d6a6e97b19daf05e94c27b /sysdeps/htl/sem-post.c
parent6f3331f26d2ee5d210ba768389828c391750f7a0 (diff)
downloadglibc-1fb7dc751edc462f6954b9c16dd126bf48a1df18.tar.gz
glibc-1fb7dc751edc462f6954b9c16dd126bf48a1df18.tar.xz
glibc-1fb7dc751edc462f6954b9c16dd126bf48a1df18.zip
htl: Add wrapper header for <semaphore.h> with hidden __sem_post
This is required to avoid a check-localplt failure due to a
sem_post call through the PLT.

Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'sysdeps/htl/sem-post.c')
-rw-r--r--sysdeps/htl/sem-post.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/htl/sem-post.c b/sysdeps/htl/sem-post.c
index fd0c6338c6..720b73a059 100644
--- a/sysdeps/htl/sem-post.c
+++ b/sysdeps/htl/sem-post.c
@@ -64,5 +64,5 @@ __sem_post (sem_t *sem)
 
   return 0;
 }
-
+libpthread_hidden_def (__sem_post)
 strong_alias (__sem_post, sem_post);