diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-02-09 06:13:03 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-02-09 06:13:03 +0000 |
commit | 974ac3d67864d946f8cf75f3db7cab699bc8d8aa (patch) | |
tree | dd91972099e1cfb09c2d54b070810437e1e5a05d /linuxthreads | |
parent | 2a535bf6a022d6470247732a7135ef581744ba95 (diff) | |
download | glibc-974ac3d67864d946f8cf75f3db7cab699bc8d8aa.zip glibc-974ac3d67864d946f8cf75f3db7cab699bc8d8aa.tar.gz glibc-974ac3d67864d946f8cf75f3db7cab699bc8d8aa.tar.bz2 |
Update.
2002-02-08 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/tls.h (TLS_INIT_TP): Also initialize %gs.
Diffstat (limited to 'linuxthreads')
-rw-r--r-- | linuxthreads/ChangeLog | 4 | ||||
-rw-r--r-- | linuxthreads/sysdeps/i386/tls.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index b698385..79a3cce 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -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. diff --git a/linuxthreads/sysdeps/i386/tls.h b/linuxthreads/sysdeps/i386/tls.h index 4d701cc..79e4fde 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) |