aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-13 01:06:30 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-13 01:06:30 +0000
commit959c5bbfeee074dbd3dcef98acd41b2e53d14cec (patch)
treed31afe960df1f740187d30e7f69e17be72148a15
parent3cd698527d2aa2202a8c845a38474cbd7de7ad34 (diff)
downloadglibc-959c5bbfeee074dbd3dcef98acd41b2e53d14cec.zip
glibc-959c5bbfeee074dbd3dcef98acd41b2e53d14cec.tar.gz
glibc-959c5bbfeee074dbd3dcef98acd41b2e53d14cec.tar.bz2
Use shlib-compat.h macros instead of .symver directly.
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S4
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S4
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S4
3 files changed, 6 insertions, 6 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S
index 439004a..3d67329 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S
+++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S
@@ -77,11 +77,11 @@ __new_sem_post:
popl %ebx
ret
.size __new_sem_post,.-__new_sem_post
- .symver __new_sem_post, sem_post@@GLIBC_2.1
+ versioned_symbol(libpthread, __new_sem_post, sem_post, GLIBC_2_1)
#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)
.global __old_sem_post
__old_sem_post = __new_sem_post
- .symver __old_sem_post, sem_post@GLIBC_2.0
+ compat_symbol(libpthread, __old_sem_post, sem_post, GLIBC_2_0)
#endif
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S
index 8dfbe9c..65def29 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S
+++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S
@@ -69,11 +69,11 @@ __new_sem_trywait:
orl $-1, %eax
ret
.size __new_sem_trywait,.-__new_sem_trywait
- .symver __new_sem_trywait, sem_trywait@@GLIBC_2.1
+ versioned_symbol(libpthread, __new_sem_trywait, sem_trywait, GLIBC_2_1)
#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)
.global __old_sem_trywait
__old_sem_trywait = __new_sem_trywait
- .symver __old_sem_trywait, sem_trywait@GLIBC_2.0
+ compat_symbol(libpthread, __old_sem_trywait, sem_trywait, GLIBC_2_0)
#endif
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S
index ba5f5cf..eb01ca8 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S
+++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S
@@ -88,9 +88,9 @@ __new_sem_wait:
popl %ebx
ret
.size __new_sem_wait,.-__new_sem_wait
- .symver __new_sem_wait, sem_wait@@GLIBC_2.1
+ versioned_symbol(libpthread, __new_sem_wait, sem_wait, GLIBC_2_1)
#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)
.global __old_sem_wait
__old_sem_wait = __new_sem_wait
- .symver __old_sem_wait, sem_wait@GLIBC_2.0
+ compat_symbol(libpthread, __old_sem_wait, sem_wait, GLIBC_2_0)
#endif