diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-12-19 07:09:42 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-12-19 07:09:42 +0000 |
commit | df45b31e8150087fad9ff5889fe1a95054e26730 (patch) | |
tree | 5c3489fd9de8f22f9386144daea297828d00bd7a /sysdeps/unix/sysv/linux/i386/sigaction.c | |
parent | 5e2891795021a78fb975c55377d05919f4dae0c0 (diff) | |
download | glibc-df45b31e8150087fad9ff5889fe1a95054e26730.tar.gz glibc-df45b31e8150087fad9ff5889fe1a95054e26730.tar.xz glibc-df45b31e8150087fad9ff5889fe1a95054e26730.zip |
Update.
2002-12-18 Ulrich Drepper <drepper@redhat.com> * descr.h (struct pthread) [NEED_DL_SYSINFO]: Add sysinfo member. * sysdeps/i386/tls.h (tcbhead_t): Add sysinfo member. Define SYSINFO_OFFSEET if NEED_DL_SYSINFO is defined. (INIT_SYSINFO): New #define. (TLS_TP_INIT): Use INIT_SYSINFO. * sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init): At test to make sure SYSINFO_OFFSET value is correct. * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: New file.
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/sigaction.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/sigaction.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/sigaction.c b/sysdeps/unix/sysv/linux/i386/sigaction.c index bfc8b2c2e2..9ee69e8054 100644 --- a/sysdeps/unix/sysv/linux/i386/sigaction.c +++ b/sysdeps/unix/sysv/linux/i386/sigaction.c @@ -131,14 +131,9 @@ __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact) k_newact.sa_restorer = &restore; } - asm volatile ("pushl %%ebx\n\t" - "movl %2, %%ebx\n\t" - ENTER_KERNEL_STR "\n\t" - "popl %%ebx" - : "=a" (result) - : "0" (SYS_ify (sigaction)), "mr" (sig), - "c" (act ? __ptrvalue (&k_newact) : 0), - "d" (oact ? __ptrvalue (&k_oldact) : 0)); + result = INTERNAL_SYCALL (sigaction, 3, sig, + act ? __ptrvalue (&k_newact) : 0, + oact ? __ptrvalue (&k_oldact) : 0); if (result < 0) { |