mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
nptl: Move sem_init into libc
The symbol was moved using scripts/move-symbol-to-libc.py. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
@ -61,11 +61,13 @@ __new_sem_init (sem_t *sem, int pshared, unsigned int value)
|
||||
|
||||
return 0;
|
||||
}
|
||||
versioned_symbol (libpthread, __new_sem_init, sem_init, GLIBC_2_1);
|
||||
versioned_symbol (libc, __new_sem_init, sem_init, GLIBC_2_34);
|
||||
|
||||
#if OTHER_SHLIB_COMPAT(libpthread, GLIBC_2_1, GLIBC_2_34)
|
||||
compat_symbol (libpthread, __new_sem_init, sem_init, GLIBC_2_1);
|
||||
#endif
|
||||
|
||||
|
||||
#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)
|
||||
#if OTHER_SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)
|
||||
int
|
||||
attribute_compat_text_section
|
||||
__old_sem_init (sem_t *sem, int pshared, unsigned int value)
|
||||
|
Reference in New Issue
Block a user