mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
nptl: Move pthread_attr_setstackaddr 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:
@@ -18,7 +18,7 @@
|
||||
|
||||
#include <errno.h>
|
||||
#include "pthreadP.h"
|
||||
|
||||
#include <shlib-compat.h>
|
||||
|
||||
int
|
||||
__pthread_attr_setstackaddr (pthread_attr_t *attr, void *stackaddr)
|
||||
@@ -36,7 +36,12 @@ __pthread_attr_setstackaddr (pthread_attr_t *attr, void *stackaddr)
|
||||
|
||||
return 0;
|
||||
}
|
||||
strong_alias (__pthread_attr_setstackaddr, pthread_attr_setstackaddr)
|
||||
versioned_symbol (libc, __pthread_attr_setstackaddr,
|
||||
pthread_attr_setstackaddr, GLIBC_2_34);
|
||||
#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_1, GLIBC_2_34)
|
||||
compat_symbol (libpthread, __pthread_attr_setstackaddr,
|
||||
pthread_attr_setstackaddr, GLIBC_2_1);
|
||||
#endif
|
||||
|
||||
link_warning (pthread_attr_setstackaddr,
|
||||
"the use of `pthread_attr_setstackaddr' is deprecated, use `pthread_attr_setstack'")
|
||||
|
Reference in New Issue
Block a user