]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Sat, 9 Feb 2002 06:13:03 +0000 (06:13 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 9 Feb 2002 06:13:03 +0000 (06:13 +0000)
2002-02-08  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/tls.h (TLS_INIT_TP): Also initialize %gs.

linuxthreads/ChangeLog
linuxthreads/sysdeps/i386/tls.h

index b69838538de2804829c582d989d0c48e2d4d83c5..79a3ccec61251b019e0d49117e918a622e018f91 100644 (file)
@@ -1,3 +1,7 @@
+2002-02-08  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/i386/tls.h (TLS_INIT_TP): Also initialize %gs.
+
 2002-02-08  Richard Henderson  <rth@twiddle.net>
 
        * sysdeps/alpha/elf/pt-initfini.c: Use \n\ for multiline string.
index 4d701cc6e8064df338725df6b4865c210b5239b3..79e4fde9c7a90596c4b2f9cf89f89b0435c616ad 100644 (file)
@@ -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)