From 9bab980687708a6038f894aab30f303084aefa86 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 19 Apr 2001 16:31:12 +0000 Subject: Update. 2001-04-18 Jakub Jelinek * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext): Copy first word of uc_sigmask into __uc_sigmask. * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext): Save uc_link around trap. Copy __uc_sigmask into first word of uc_sigmask, clear the rest. Make sure setcontext to the created context doesn't do this though. * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file. * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the 64bit version, make uc_sigmask __sigset_t in the 32bit version. * rt/Makefile (otherlibs): Added for static NSS. * glibcbug.in (BUGGLIBC): Send to new alias. --- sysdeps/unix/sysv/linux/sparc/sys/ucontext.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sysdeps/unix/sysv/linux/sparc/sys/ucontext.h') diff --git a/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h b/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h index 58295ff5b1..df3f300fe6 100644 --- a/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h +++ b/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h @@ -81,8 +81,10 @@ typedef struct { typedef struct ucontext { struct ucontext *uc_link; unsigned long uc_flags; - unsigned long uc_sigmask; + unsigned long __uc_sigmask; mcontext_t uc_mcontext; + stack_t uc_stack; + __sigset_t uc_sigmask; } ucontext_t; #endif /* __WORDISIZE == 64 */ @@ -259,10 +261,9 @@ typedef struct ucontext { unsigned long uc_flags; struct ucontext *uc_link; - unsigned long uc_sigmask[4]; /* a svr4 sigset_t */ + __sigset_t uc_sigmask; stack_t uc_stack; mcontext_t uc_mcontext; - long uc_filler[23]; } ucontext_t; #endif /* __WORDSIZE == 32 */ -- cgit v1.2.3