1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-05 19:35:52 +03:00

Use shlib-compat.h macros instead of .symver directly.

This commit is contained in:
Ulrich Drepper
2003-03-13 01:06:30 +00:00
parent 3cd698527d
commit 959c5bbfee
3 changed files with 6 additions and 6 deletions

View File

@@ -77,11 +77,11 @@ __new_sem_post:
popl %ebx popl %ebx
ret ret
.size __new_sem_post,.-__new_sem_post .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) #if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)
.global __old_sem_post .global __old_sem_post
__old_sem_post = __new_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 #endif

View File

@@ -69,11 +69,11 @@ __new_sem_trywait:
orl $-1, %eax orl $-1, %eax
ret ret
.size __new_sem_trywait,.-__new_sem_trywait .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) #if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)
.global __old_sem_trywait .global __old_sem_trywait
__old_sem_trywait = __new_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 #endif

View File

@@ -88,9 +88,9 @@ __new_sem_wait:
popl %ebx popl %ebx
ret ret
.size __new_sem_wait,.-__new_sem_wait .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) #if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)
.global __old_sem_wait .global __old_sem_wait
__old_sem_wait = __new_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 #endif