aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/htl/pt-attr-setstack.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/htl/pt-attr-setstack.c')
-rw-r--r--sysdeps/htl/pt-attr-setstack.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/sysdeps/htl/pt-attr-setstack.c b/sysdeps/htl/pt-attr-setstack.c
index 9ac6fe1..c02a13b 100644
--- a/sysdeps/htl/pt-attr-setstack.c
+++ b/sysdeps/htl/pt-attr-setstack.c
@@ -18,7 +18,7 @@
#include <pthread.h>
#include <assert.h>
-
+#include <shlib-compat.h>
#include <pt-internal.h>
#include <pthreadP.h>
@@ -47,4 +47,9 @@ __pthread_attr_setstack (pthread_attr_t *attr, void *stackaddr, size_t stacksize
return 0;
}
-weak_alias (__pthread_attr_setstack, pthread_attr_setstack)
+libc_hidden_def (__pthread_attr_setstack)
+versioned_symbol (libc, __pthread_attr_setstack, pthread_attr_setstack, GLIBC_2_41);
+
+#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_12, GLIBC_2_41)
+compat_symbol (libpthread, __pthread_attr_setstack, pthread_attr_setstack, GLIBC_2_12);
+#endif