summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/i386
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/i386
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/i386')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S10
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S10
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S9
3 files changed, 12 insertions, 17 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S
index b077a20ca..e548bd160 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/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 16
-__new_sem_post:
+sem_post:
cfi_startproc
pushl %ebx
cfi_adjust_cfa_offset(4)
@@ -126,9 +126,7 @@ __new_sem_post:
cfi_restore(%ebx)
ret
cfi_endproc
- .size __new_sem_post,.-__new_sem_post
-weak_alias(__new_sem_post, sem_post)
-
+ .size sem_post,.-sem_post
#ifdef __PIC__
.section .gnu.linkonce.t.__x86.get_pc_thunk.bx,"ax",@progbits
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S
index dad96858f..601665881 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S
@@ -23,10 +23,10 @@
.text
- .globl __new_sem_trywait
- .type __new_sem_trywait,@function
+ .globl sem_trywait
+ .type sem_trywait,@function
.align 16
-__new_sem_trywait:
+sem_trywait:
movl 4(%esp), %ecx
movl (%ecx), %eax
@@ -63,9 +63,7 @@ __new_sem_trywait:
#endif
orl $-1, %eax
ret
- .size __new_sem_trywait,.-__new_sem_trywait
-weak_alias(__new_sem_trywait, sem_trywait)
-
+ .size sem_trywait,.-sem_trywait
#ifdef __PIC__
.section .gnu.linkonce.t.__x86.get_pc_thunk.cx,"ax",@progbits
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S
index b1c32ee4d..d9ea60140 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S
@@ -29,10 +29,10 @@
.text
- .globl __new_sem_wait
- .type __new_sem_wait,@function
+ .globl sem_wait
+ .type sem_wait,@function
.align 16
-__new_sem_wait:
+sem_wait:
.LSTARTCODE:
pushl %ebx
.Lpush_ebx:
@@ -129,8 +129,7 @@ __new_sem_wait:
orl $-1, %eax
jmp 9b
- .size __new_sem_wait,.-__new_sem_wait
-weak_alias(__new_sem_wait, sem_wait)
+ .size sem_wait,.-sem_wait
.type sem_wait_cleanup,@function