diff options
author | Roland McGrath <roland@gnu.org> | 2003-05-28 20:45:25 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-05-28 20:45:25 +0000 |
commit | 5fcc93ee649711ba2b74be8a2a93f96e8845ff85 (patch) | |
tree | ddd48e6498bae05bb7e1c242e42fe811a68953ef /sysdeps/unix/sysv/linux/ia64 | |
parent | bc4647a17c3218bac51c4ed69757d4b72a2ea1dc (diff) | |
download | glibc-5fcc93ee649711ba2b74be8a2a93f96e8845ff85.tar glibc-5fcc93ee649711ba2b74be8a2a93f96e8845ff85.tar.gz glibc-5fcc93ee649711ba2b74be8a2a93f96e8845ff85.tar.bz2 glibc-5fcc93ee649711ba2b74be8a2a93f96e8845ff85.zip |
2003-05-28 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/ia64/setcontext.S: Pass fourth argument to
rt_sigprocmask system call.
* sysdeps/unix/sysv/linux/ia64/ucontext_i.h (SC_MASK): Fix value.
From Peter A. Buhr <pabuhr@plg2.math.uwaterloo.ca>.
Diffstat (limited to 'sysdeps/unix/sysv/linux/ia64')
-rw-r--r-- | sysdeps/unix/sysv/linux/ia64/setcontext.S | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/ia64/ucontext_i.h | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/ia64/setcontext.S b/sysdeps/unix/sysv/linux/ia64/setcontext.S index 75d97c1afd..e0d1825566 100644 --- a/sysdeps/unix/sysv/linux/ia64/setcontext.S +++ b/sysdeps/unix/sysv/linux/ia64/setcontext.S @@ -1,4 +1,4 @@ -/* Copyright (C) 2001 Free Software Foundation, Inc. +/* Copyright (C) 2001, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by David Mosberger-Tang <davidm@hpl.hp.com>. @@ -32,7 +32,7 @@ other than the PRESERVED state. */ ENTRY(__setcontext) - alloc r16 = ar.pfs, 1, 0, 3, 0 + alloc r16 = ar.pfs, 1, 0, 4, 0 // sigprocmask (SIG_SETMASK, &sc->sc_mask, NULL): @@ -42,6 +42,7 @@ ENTRY(__setcontext) mov out0 = SIG_SETMASK add out1 = r2, in0 mov out2 = 0 + mov out3 = 8 // sizeof kernel sigset_t invala break __BREAK_SYSCALL diff --git a/sysdeps/unix/sysv/linux/ia64/ucontext_i.h b/sysdeps/unix/sysv/linux/ia64/ucontext_i.h index 81e26a7c92..2d544a7438 100644 --- a/sysdeps/unix/sysv/linux/ia64/ucontext_i.h +++ b/sysdeps/unix/sysv/linux/ia64/ucontext_i.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2001 Free Software Foundation, Inc. +/* Copyright (C) 2001, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by David Mosberger-Tang <davidm@hpl.hp.com>. @@ -35,7 +35,7 @@ #define SC_BR 0x088 #define SC_GR 0x0c8 #define SC_FR 0x1d0 -#define SC_MASK 0x9d0 +#define SC_MASK 0xa50 #define rTMP r16 |