mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
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.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user