From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18347 invoked by alias); 26 Sep 2003 08:35:09 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 18325 invoked from network); 26 Sep 2003 08:35:06 -0000 Received: from unknown (HELO Cantor.suse.de) (195.135.220.2) by sources.redhat.com with SMTP; 26 Sep 2003 08:35:06 -0000 Received: from Hermes.suse.de (Hermes.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id B47741663833 for ; Fri, 26 Sep 2003 10:35:05 +0200 (CEST) To: libc-hacker@sources.redhat.com Subject: Fix sigprocmask call in ia64/getcontext From: Andreas Schwab X-Yow: HAIR TONICS, please!! Date: Fri, 26 Sep 2003 08:35:00 -0000 Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2003-09/txt/msg00099.txt.bz2 When setcontext was fixed the same bug in getcontext was left alone. Andreas. 2003-09-26 Andreas Schwab * 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."