summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-26 01:37:02 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-26 01:37:02 +0000
commita956d04575bbd053a1ff61a05a5526867633d0d0 (patch)
tree8b045d8e4b96caeaaed3ba4a85ca9bf6635c58f2 /linuxthreads
parent70e392a33adde4722828b5e7e6b9ac42aa53f44a (diff)
downloadglibc-a956d04575bbd053a1ff61a05a5526867633d0d0.tar.gz
glibc-a956d04575bbd053a1ff61a05a5526867633d0d0.tar.xz
glibc-a956d04575bbd053a1ff61a05a5526867633d0d0.zip
Update.
2000-07-25  Ulrich Drepper  <drepper@redhat.com>

	* signals.c (pthread_sighandler): Remove special code to restrore
	%gs on x86.
	(pthread_sighandler_t): Likewise.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog6
-rw-r--r--linuxthreads/signals.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 69c05fb214..880de6a0b9 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -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.
diff --git a/linuxthreads/signals.c b/linuxthreads/signals.c
index be9e5aa1a2..9824b2f4e7 100644
--- a/linuxthreads/signals.c
+++ b/linuxthreads/signals.c
@@ -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 */