From patchwork Sat Nov 12 06:46:33 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 125326 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id ABA6B1007D8 for ; Sat, 12 Nov 2011 17:47:15 +1100 (EST) Received: (qmail 27126 invoked by alias); 12 Nov 2011 06:47:12 -0000 Received: (qmail 27116 invoked by uid 22791); 12 Nov 2011 06:47:12 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-gx0-f175.google.com (HELO mail-gx0-f175.google.com) (209.85.161.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 12 Nov 2011 06:46:44 +0000 Received: by ggnh4 with SMTP id h4so1121527ggn.20 for ; Fri, 11 Nov 2011 22:46:43 -0800 (PST) Received: by 10.68.12.105 with SMTP id x9mr30625543pbb.109.1321080403615; Fri, 11 Nov 2011 22:46:43 -0800 (PST) Received: from localhost.localdomain (c-98-203-235-125.hsd1.wa.comcast.net. [98.203.235.125]) by mx.google.com with ESMTPS id jm5sm36579600pbc.1.2011.11.11.22.46.42 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 11 Nov 2011 22:46:43 -0800 (PST) From: Richard Henderson To: gcc-patches@gcc.gnu.org Cc: dje.gcc@gmail.com, meissner@linux.vnet.ibm.com, Richard Henderson Subject: [PATCH 2/3] ppc-linux: Fix call to _Unwind_SetGRPtr Date: Fri, 11 Nov 2011 22:46:33 -0800 Message-Id: <1321080394-16180-3-git-send-email-rth@redhat.com> In-Reply-To: <1321080394-16180-1-git-send-email-rth@redhat.com> References: <1321080394-16180-1-git-send-email-rth@redhat.com> X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org From: Richard Henderson --- libgcc/config/rs6000/linux-unwind.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libgcc/config/rs6000/linux-unwind.h b/libgcc/config/rs6000/linux-unwind.h index 2011632..13bf413 100644 --- a/libgcc/config/rs6000/linux-unwind.h +++ b/libgcc/config/rs6000/linux-unwind.h @@ -368,7 +368,7 @@ frob_update_context (struct _Unwind_Context *context, _Unwind_FrameState *fs ATT before the bctrl so this is the first and only place we need to use the stored R2. */ _Unwind_Word sp = _Unwind_GetGR (context, 1); - _Unwind_SetGRPtr (context, 2, sp + 40); + _Unwind_SetGRPtr (context, 2, (void *)(sp + 40)); } } }