]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 26 Jul 2000 01:37:02 +0000 (01:37 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 26 Jul 2000 01:37:02 +0000 (01:37 +0000)
2000-07-25  Ulrich Drepper  <drepper@redhat.com>

* signals.c (pthread_sighandler): Remove special code to restrore
%gs on x86.
(pthread_sighandler_t): Likewise.

linuxthreads/ChangeLog
linuxthreads/signals.c

index 69c05fb214077ca9c1cf6527cb94f7c271501f90..880de6a0b99ce14dcb7ce40480607e8f682ad588 100644 (file)
@@ -1,3 +1,9 @@
+2000-07-25  Ulrich Drepper  <drepper@redhat.com>
+
+       * signals.c (pthread_sighandler): Remove special code to restrore
+       %gs on x86.
+       (pthread_sighandler_t): Likewise.
+
 2000-07-25  Mark Kettenis  <kettenis@gnu.org>
 
        * internals.h (__RES_PTHREAD_INTERNAL): Remove define.
index be9e5aa1a2d5abc37aefad4614d260665aa4cb02..9824b2f4e70793c9a6f09e45b0f3686d0b5f1b68 100644 (file)
@@ -81,9 +81,6 @@ static void pthread_sighandler(int signo, SIGCONTEXT ctx)
 {
   pthread_descr self;
   char * in_sighandler;
-#ifdef __i386__
-  asm volatile ("movw %w0,%%gs" : : "r" (ctx.gs));
-#endif
   self = thread_self();
   /* If we're in a sigwait operation, just record the signal received
      and return without calling the user's handler */
@@ -108,9 +105,6 @@ static void pthread_sighandler_rt(int signo, struct siginfo *si,
 {
   pthread_descr self;
   char * in_sighandler;
-#ifdef __i386__
-  asm volatile ("movw %w0,%%gs" : : "r" (uc->uc_mcontext.gregs[REG_GS]));
-#endif
   self =  thread_self();
   /* If we're in a sigwait operation, just record the signal received
      and return without calling the user's handler */