From: Ulrich Drepper Date: Sat, 9 Feb 2002 06:13:03 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2-3~1097 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=974ac3d67864d946f8cf75f3db7cab699bc8d8aa;p=thirdparty%2Fglibc.git Update. 2002-02-08 Ulrich Drepper * sysdeps/i386/tls.h (TLS_INIT_TP): Also initialize %gs. --- diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index b69838538de..79a3ccec612 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,7 @@ +2002-02-08 Ulrich Drepper + + * sysdeps/i386/tls.h (TLS_INIT_TP): Also initialize %gs. + 2002-02-08 Richard Henderson * sysdeps/alpha/elf/pt-initfini.c: Use \n\ for multiline string. diff --git a/linuxthreads/sysdeps/i386/tls.h b/linuxthreads/sysdeps/i386/tls.h index 4d701cc6e80..79e4fde9c7a 100644 --- a/linuxthreads/sysdeps/i386/tls.h +++ b/linuxthreads/sysdeps/i386/tls.h @@ -94,6 +94,8 @@ typedef struct if (__builtin_expect (result, 0) != 0) \ /* Nothing else we can do. */ \ asm ("hlt"); \ + \ + asm ("movw %w0, %%gs" : : "q" (7)); \ } while (0)