diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-03-14 16:28:28 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-03-14 16:28:28 +0000 |
commit | 56eea8d1c9d32b401f5872a5f89d64733293ff4b (patch) | |
tree | 91fae2f588027b47b3b3fc5fb98ef9172ed6c86a | |
parent | 6213a05545cd8052135271c25b73af2c5490e291 (diff) | |
download | glibc-56eea8d1c9d32b401f5872a5f89d64733293ff4b.zip glibc-56eea8d1c9d32b401f5872a5f89d64733293ff4b.tar.gz glibc-56eea8d1c9d32b401f5872a5f89d64733293ff4b.tar.bz2 |
Update.
2000-03-14 Andreas Jaeger <aj@suse.de>
* pthread.c (pthread_handle_sigcancel_rt): GS has been renamed to
REG_GS.
(pthread_handle_sigrestart_rt): Likewise.
* signals.c (pthread_sighandler_rt): Likewise.
-rw-r--r-- | linuxthreads/ChangeLog | 7 | ||||
-rw-r--r-- | linuxthreads/pthread.c | 4 | ||||
-rw-r--r-- | linuxthreads/signals.c | 2 |
3 files changed, 10 insertions, 3 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index c419535..68d4de0 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,10 @@ +2000-03-14 Andreas Jaeger <aj@suse.de> + + * pthread.c (pthread_handle_sigcancel_rt): GS has been renamed to + REG_GS. + (pthread_handle_sigrestart_rt): Likewise. + * signals.c (pthread_sighandler_rt): Likewise. + 2000-03-02 Andreas Jaeger <aj@suse.de> * sysdeps/pthread/bits/libc-lock.h: Fix typo. diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c index 5f544c7..5884b9b 100644 --- a/linuxthreads/pthread.c +++ b/linuxthreads/pthread.c @@ -655,7 +655,7 @@ static void pthread_handle_sigrestart_nonrt(int sig, struct sigcontext ctx) static void pthread_handle_sigrestart_rt(int sig, struct siginfo *si, struct ucontext *uc) { - asm volatile ("movw %w0,%%gs" : : "r" (uc->uc_mcontext.gregs[GS])); + asm volatile ("movw %w0,%%gs" : : "r" (uc->uc_mcontext.gregs[REG_GS])); pthread_handle_sigrestart(sig); } #endif @@ -704,7 +704,7 @@ static void pthread_handle_sigcancel_nonrt(int sig, struct sigcontext ctx) static void pthread_handle_sigcancel_rt(int sig, struct siginfo *si, struct ucontext *uc) { - asm volatile ("movw %w0,%%gs" : : "r" (uc->uc_mcontext.gregs[GS])); + asm volatile ("movw %w0,%%gs" : : "r" (uc->uc_mcontext.gregs[REG_GS])); pthread_handle_sigcancel(sig); } #endif diff --git a/linuxthreads/signals.c b/linuxthreads/signals.c index be221d7..c044576 100644 --- a/linuxthreads/signals.c +++ b/linuxthreads/signals.c @@ -109,7 +109,7 @@ 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[GS])); + 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 |