From patchwork Thu Feb 9 18:30:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Barcelo X-Patchwork-Id: 140422 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 136C8B6EF3 for ; Fri, 10 Feb 2012 05:30:56 +1100 (EST) Received: from localhost ([::1]:59747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvYlg-0005ET-DA for incoming@patchwork.ozlabs.org; Thu, 09 Feb 2012 13:30:52 -0500 Received: from eggs.gnu.org ([140.186.70.92]:46640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvYlW-0005EO-OP for qemu-devel@nongnu.org; Thu, 09 Feb 2012 13:30:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvYlP-0003AX-Eg for qemu-devel@nongnu.org; Thu, 09 Feb 2012 13:30:42 -0500 Received: from mail-pw0-f45.google.com ([209.85.160.45]:60679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvYlP-0003AI-6M; Thu, 09 Feb 2012 13:30:35 -0500 Received: by pbbro12 with SMTP id ro12so1988263pbb.4 for ; Thu, 09 Feb 2012 10:30:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type; bh=YrExd7XF+GZt+kh0gVOA6kj/lCiZmDl4U64QmnGKWc0=; b=uwNkPDAO33RlQjBhFfE+zfUrrPOmHDPEwstVKGh38X0K9tcf7RCdUjQCd1xpP/6MCW j7UnHrQcVe446c9VH5ZNlMiymyQBfe6/IbS+kk36gkkwKL2ISv9iybhczgNbrVCaOWkJ i3m4PeWNCBng/80oJcfPfjDDLRM8FHKekeCLA= Received: by 10.68.73.103 with SMTP id k7mr7997209pbv.132.1328812233161; Thu, 09 Feb 2012 10:30:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.208.6 with HTTP; Thu, 9 Feb 2012 10:30:13 -0800 (PST) From: Alex Barcelo Date: Thu, 9 Feb 2012 19:30:13 +0100 X-Google-Sender-Auth: nlwO2iuLUV8j3yw_WbMXEO0L5UA Message-ID: To: qemu-devel X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.45 Cc: qemu-trivial@nongnu.org Subject: [Qemu-devel] [TRIVIAL] sas_ss_flags bug for powerpc X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Alex Barcelo --- linux-user/signal.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) } diff --git a/linux-user/signal.c b/linux-user/signal.c index 79a39dc..26e0530 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -4115,7 +4115,7 @@ static target_ulong get_sigframe(struct target_sigaction *ka, oldsp = env->gpr[1]; if ((ka->sa_flags & TARGET_SA_ONSTACK) && - (sas_ss_flags(oldsp))) { + (sas_ss_flags(oldsp)) == 0) { oldsp = (target_sigaltstack_used.ss_sp + target_sigaltstack_used.ss_size);