aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--linuxthreads/sysdeps/i386/tls.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 9f11a40..c891766 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-08 Andreas Jaeger <aj@suse.de>
+
+ * sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT_KERNEL_CHECK):
+ dl_osversion is readonly.
+
2004-03-07 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/tls.h (INIT_SYSINFO): _dl_sysinfo is now in
diff --git a/linuxthreads/sysdeps/i386/tls.h b/linuxthreads/sysdeps/i386/tls.h
index 2c5d3e0..569a897 100644
--- a/linuxthreads/sysdeps/i386/tls.h
+++ b/linuxthreads/sysdeps/i386/tls.h
@@ -118,7 +118,7 @@ typedef struct
# else
# include "useldt.h" /* For the structure. */
# define TLS_DO_MODIFY_LDT_KERNEL_CHECK(doit) \
- (__builtin_expect (GL(dl_osversion) < 131939, 0) \
+ (__builtin_expect (GLRO(dl_osversion) < 131939, 0) \
? "kernel too old for thread-local storage support\n" \
: (doit))
# endif