Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Ulrich Drepper committed Mar 14, 2000
1 parent 6213a05 commit 56eea8d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions linuxthreads/ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions linuxthreads/pthread.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion linuxthreads/signals.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 56eea8d

Please sign in to comment.