aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-02-07 06:38:57 +0000
committerUlrich Drepper <drepper@redhat.com>2002-02-07 06:38:57 +0000
commit8d4b5a8a50fad0ed1005380aa8d1c13dcfdab08d (patch)
tree4a12090365248eea8757bad604a6f7082784c8cc /sysdeps/generic
parent4b9abcb6b83ebc64aa2a468b950c24e4ee96e1a2 (diff)
downloadglibc-8d4b5a8a50fad0ed1005380aa8d1c13dcfdab08d.tar
glibc-8d4b5a8a50fad0ed1005380aa8d1c13dcfdab08d.tar.gz
glibc-8d4b5a8a50fad0ed1005380aa8d1c13dcfdab08d.tar.bz2
glibc-8d4b5a8a50fad0ed1005380aa8d1c13dcfdab08d.zip
Update.
2002-02-06 Ulrich Drepper <drepper@redhat.com> * configure.in: Add --without-tls option. * sysdeps/i386/elf/configure.in: Don't check for TLS support if --without-tls is given. * sysdeps/generic/dl-tls.c: Include <tls.h>. * sysdeps/i386/dl-tls.h: Don't define anything if !USE_TLS.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/dl-tls.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/generic/dl-tls.c b/sysdeps/generic/dl-tls.c
index 557a023453..729adf0040 100644
--- a/sysdeps/generic/dl-tls.c
+++ b/sysdeps/generic/dl-tls.c
@@ -19,6 +19,7 @@
#include <assert.h>
+#include <tls.h>
#include <dl-tls.h>
#include <ldsodefs.h>
@@ -99,6 +100,10 @@ _dl_determine_tlsoffset (struct link_map *firstp)
runp->l_tls_offset = offset;
}
while ((runp = runp->l_tls_nextimage) != firstp);
+
+ /* The thread descriptor (pointed to by the thread pointer) has its
+ own alignment requirement. Adjust the static TLS size
+ appropriately. */
# elif TLS_DTV_AT_TP
struct link_map *lastp;