summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/sh
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-04-26 23:47:17 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:43 +0200
commitf0a3d118ea5b5c4e945941cd7b1bb243f0878e43 (patch)
treec56a15d2733ccb76f2f98c807972cd0473b12bed /libpthread/nptl/sysdeps/unix/sysv/linux/sh
parente7575150911d8ee230d17ab7c03864df24a8be07 (diff)
NPTL: rename __new_sem_* to sem_*
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/sh')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_post.S9
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S9
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S9
3 files changed, 12 insertions, 15 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_post.S b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_post.S
index f71cd930d..09326e4a1 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_post.S
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_post.S
@@ -25,10 +25,10 @@
.text
- .globl __new_sem_post
- .type __new_sem_post,@function
+ .globl sem_post
+ .type sem_post,@function
.align 5
-__new_sem_post:
+sem_post:
mov.l @(VALUE,r4), r2
0:
mov.l .Lmax, r1
@@ -106,5 +106,4 @@ __new_sem_post:
.Lerrloc3:
.long __errno_location@PLT-(.Lerrloc3b-.)
#endif
- .size __new_sem_post,.-__new_sem_post
- weak_alias(__new_sem_post, sem_post)
+ .size sem_post,.-sem_post
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S
index b46eb1a56..d3f8bfc53 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S
@@ -24,10 +24,10 @@
.text
- .globl __new_sem_trywait
- .type __new_sem_trywait,@function
+ .globl sem_trywait
+ .type sem_trywait,@function
.align 5
-__new_sem_trywait:
+sem_trywait:
mov.l r12, @-r15
mov.l r8, @-r15
sts.l pr, @-r15
@@ -86,5 +86,4 @@ __new_sem_trywait:
.Lerrloc1:
.long __errno_location@PLT-(.Lerrloc1b-.)
#endif
- .size __new_sem_trywait,.-__new_sem_trywait
- weak_alias(__new_sem_trywait, sem_trywait)
+ .size sem_trywait,.-sem_trywait
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S
index 00a125bc5..af46c9df4 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S
@@ -30,10 +30,10 @@
.text
- .globl __new_sem_wait
- .type __new_sem_wait,@function
+ .globl sem_wait
+ .type sem_wait,@function
.align 5
-__new_sem_wait:
+sem_wait:
.LSTARTCODE:
mov.l r8, @-r15
.Lpush_r8:
@@ -161,8 +161,7 @@ __new_sem_wait:
.long __pthread_enable_asynccancel-.Lenable0b
.Ldisable0:
.long __pthread_disable_asynccancel-.Ldisable0b
- .size __new_sem_wait,.-__new_sem_wait
- weak_alias(__new_sem_wait, sem_wait)
+ .size sem_wait,.-sem_wait
.type sem_wait_cleanup,@function