about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-09-26 08:41:51 +0000
committerUlrich Drepper <drepper@redhat.com>2003-09-26 08:41:51 +0000
commit2047343ac533f17671483fa48a8aa5820714efa9 (patch)
tree6f2715177530d786553a41377c6823867b93daae
parent8afd37cb2b6c4352ecc639042c85d2d208aa7e6d (diff)
downloadglibc-2047343ac533f17671483fa48a8aa5820714efa9.tar.gz
glibc-2047343ac533f17671483fa48a8aa5820714efa9.tar.xz
glibc-2047343ac533f17671483fa48a8aa5820714efa9.zip
Pass fourth argument to rt_sigprocmask system call.
-rw-r--r--sysdeps/unix/sysv/linux/ia64/getcontext.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/ia64/getcontext.S b/sysdeps/unix/sysv/linux/ia64/getcontext.S
index f58e84f1ae..7b613611da 100644
--- a/sysdeps/unix/sysv/linux/ia64/getcontext.S
+++ b/sysdeps/unix/sysv/linux/ia64/getcontext.S
@@ -35,7 +35,7 @@
 
 ENTRY(__getcontext)
 	.prologue
-	alloc r16 = ar.pfs, 1, 0, 3, 0
+	alloc r16 = ar.pfs, 1, 0, 4, 0
 
 	// sigprocmask (SIG_BLOCK, NULL, &sc->sc_mask):
 
@@ -45,6 +45,7 @@ ENTRY(__getcontext)
 	mov out0 = SIG_BLOCK
 	mov out1 = 0
 	add out2 = r2, in0
+	mov out3 = 8	// sizeof kernel sigset_t
 
 	break __BREAK_SYSCALL
 	flushrs					// save dirty partition on rbs