From: Andreas Jaeger Date: Mon, 8 Mar 2004 09:53:49 +0000 (+0000) Subject: * sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT_KERNEL_CHECK): X-Git-Tag: cvs/fedora-base~717 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f29ad2a5cd4f32803adbe9e7100e3c68a8b36b45;p=thirdparty%2Fglibc.git * sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT_KERNEL_CHECK): dl_osversion is readonly. 2004-03-08 Andreas Jaeger * sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT_KERNEL_CHECK): dl_osversion is readonly. --- diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index 9f11a405481..c891766ce41 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,8 @@ +2004-03-08 Andreas Jaeger + + * sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT_KERNEL_CHECK): + dl_osversion is readonly. + 2004-03-07 Ulrich Drepper * 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 2c5d3e0e8c8..569a897474f 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