public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* Fix sigprocmask call in ia64/getcontext
@ 2003-09-26  8:35 Andreas Schwab
  2003-09-26  8:42 ` Ulrich Drepper
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2003-09-26  8:35 UTC (permalink / raw)
  To: libc-hacker

When setcontext was fixed the same bug in getcontext was left alone.

Andreas.

2003-09-26  Andreas Schwab  <schwab@suse.de>

	* sysdeps/unix/sysv/linux/ia64/getcontext.S: Pass fourth argument to
	rt_sigprocmask system call.

--- sysdeps/unix/sysv/linux/ia64/getcontext.S.~1.7.~	2003-03-28 10:11:41.000000000 +0100
+++ sysdeps/unix/sysv/linux/ia64/getcontext.S	2003-09-26 10:25:18.000000000 +0200
@@ -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

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Fix sigprocmask call in ia64/getcontext
  2003-09-26  8:35 Fix sigprocmask call in ia64/getcontext Andreas Schwab
@ 2003-09-26  8:42 ` Ulrich Drepper
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2003-09-26  8:42 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: libc-hacker

Andreas Schwab wrote:
> When setcontext was fixed the same bug in getcontext was left alone.

Thanks, applied.

-- 
--------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-26  8:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-26  8:35 Fix sigprocmask call in ia64/getcontext Andreas Schwab
2003-09-26  8:42 ` Ulrich Drepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).