aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-08-15 13:04:07 +0000
committerUlrich Drepper <drepper@redhat.com>2002-08-15 13:04:07 +0000
commit2a76f7ef1477c3e33dce2d9d7c3005c660de18a0 (patch)
treed5388da94a821752ba13aa93e34914f3f803932c /sysdeps
parentfaa5b9b31c356df69d9cc6b37be71255bcb0e307 (diff)
downloadglibc-2a76f7ef1477c3e33dce2d9d7c3005c660de18a0.tar
glibc-2a76f7ef1477c3e33dce2d9d7c3005c660de18a0.tar.gz
glibc-2a76f7ef1477c3e33dce2d9d7c3005c660de18a0.tar.bz2
glibc-2a76f7ef1477c3e33dce2d9d7c3005c660de18a0.zip
Update.
2002-08-15 Ulrich Drepper <drepper@redhat.com> * csu/Makefile: Define elide-routines.os not static-only-routines. * include/sched.h (__clone): Add varargs at the end. * elf/rtld.c (_dl_start): All TLS_INIT_TP to fail and stop in that case. (TLS_INIT_HELPER): If defined use it. * sysdeps/generic/libc-tls.c (TLS_INIT_HELPER): Likewise. * locale/loadarchive.c (archfname): Add missing slash. * sysdeps/generic/strtold.c (__strtold_internal): Add libc_hidden_def. * wcsmbs/wcstold.c (__wcstold_internal): Add libc_hidden_def.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/libc-tls.c6
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/sysdeps/generic/libc-tls.c b/sysdeps/generic/libc-tls.c
index cc56a44022..51b85ef28f 100644
--- a/sysdeps/generic/libc-tls.c
+++ b/sysdeps/generic/libc-tls.c
@@ -47,6 +47,12 @@ static struct
static struct link_map static_map;
+/* Additional definitions needed by TLS initialization. */
+#ifdef TLS_INIT_HELPER
+TLS_INIT_HELPER
+#endif
+
+
void
__libc_setup_tls (size_t tcbsize, size_t tcbalign)
{
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index 3653f73618..e62e90c8e0 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -185,8 +185,8 @@
#endif
/* On x86, the set_thread_area syscall was introduced in 2.5.29, but its
- semantics was changed in 2.5.30. */
-#if __LINUX_KERNEL_VERSION >= 132382 && defined __i386__
+ semantics was changed in 2.5.30, and again after 2.3.31. */
+#if __LINUX_KERNEL_VERSION >= 132384 && defined __i386__
# define __ASSUME_SET_THREAD_AREA_SYSCALL 1
#endif