From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3077 invoked by alias); 30 Jun 2011 18:03:46 -0000 Received: (qmail 3066 invoked by uid 22791); 30 Jun 2011 18:03:46 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from snape.CeBiTec.Uni-Bielefeld.DE (HELO smtp-relay.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 30 Jun 2011 18:03:27 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 007CF79B; Thu, 30 Jun 2011 20:03:24 +0200 (CEST) Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id jVriTnJy31Br; Thu, 30 Jun 2011 20:03:23 +0200 (CEST) Received: from manam.CeBiTec.Uni-Bielefeld.DE (manam.CeBiTec.Uni-Bielefeld.DE [129.70.161.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id 8E64579A; Thu, 30 Jun 2011 20:03:20 +0200 (CEST) Received: (from ro@localhost) by manam.CeBiTec.Uni-Bielefeld.DE (8.14.4+Sun/8.14.4/Submit) id p5UI3JCl025667; Thu, 30 Jun 2011 20:03:19 +0200 (MEST) From: Rainer Orth To: "H.J. Lu" Cc: Jason Merrill , gcc-patches@gcc.gnu.org, Richard Henderson , Jakub Jelinek Subject: Re: PATCH [8/n]: Prepare x32: PR other/48007: Unwind library doesn't work with UNITS_PER_WORD > sizeof (void *) References: <20110625161357.GA5401@intel.com> <4E078E58.20903@redhat.com> <4E07A879.70509@redhat.com> <4E089A88.60401@redhat.com> <4E0C8361.5050403@redhat.com> <4E0C904E.8090504@redhat.com> Date: Thu, 30 Jun 2011 18:10:00 -0000 In-Reply-To: (H. J. Lu's message of "Thu, 30 Jun 2011 10:41:06 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-06/txt/msg02390.txt.bz2 "H.J. Lu" writes: >> gcc/ >> >> 2011-06-30 =A0H.J. Lu =A0 >> >> =A0 =A0 =A0 =A0* config.gcc (libgcc_tm_file): Add i386/value-unwind.h for >> =A0 =A0 =A0 =A0Linux/x86. >> >> =A0 =A0 =A0 =A0* system.h (REG_VALUE_IN_UNWIND_CONTEXT): Poisoned. >> >> =A0 =A0 =A0 =A0* unwind-dw2.c (_Unwind_Context_Reg_Val): New. >> =A0 =A0 =A0 =A0(_Unwind_Get_Unwind_Word): Likewise. >> =A0 =A0 =A0 =A0(_Unwind_Get_Unwind_Context_Reg_Val): Likewise. >> =A0 =A0 =A0 =A0(_Unwind_Context): Use _Unwind_Context_Reg_Val on the reg= field. >> =A0 =A0 =A0 =A0(SIGNAL_FRAME_BIT): Define if REG_VALUE_IN_UNWIND_CONTEXT= is >> =A0 =A0 =A0 =A0defined. >> =A0 =A0 =A0 =A0(_Unwind_IsExtendedContext): Likewise. >> =A0 =A0 =A0 =A0(EXTENDED_CONTEXT_BIT): Don't define if REG_VALUE_IN_UNWI= ND_CONTEXT >> =A0 =A0 =A0 =A0is defined. >> =A0 =A0 =A0 =A0(_Unwind_GetGR): Updated. >> =A0 =A0 =A0 =A0(_Unwind_SetGR): Likewise. >> =A0 =A0 =A0 =A0(_Unwind_GetGRPtr): Likewise. >> =A0 =A0 =A0 =A0(_Unwind_SetGRPtr): Likewise. >> =A0 =A0 =A0 =A0(_Unwind_SetGRValue): Likewise. >> =A0 =A0 =A0 =A0(_Unwind_GRByValue): Likewise. >> =A0 =A0 =A0 =A0(__frame_state_for): Likewise. >> =A0 =A0 =A0 =A0(uw_install_context_1): Likewise. >> >> =A0 =A0 =A0 =A0* doc/tm.texi.in: Document REG_VALUE_IN_UNWIND_CONTEXT. >> =A0 =A0 =A0 =A0* doc/tm.texi: Regenerated. >> >> libgcc/ >> >> 2011-06-30 =A0H.J. Lu =A0 >> >> =A0 =A0 =A0 =A0* config/i386/value-unwind.h: New. Why all those contortions with i386/value-unwind.h? It seems far simpler to me to put this into libgcc/config/i386/linux-unwind.h and be done with it. The unwinder are on their way to libgcc, and I don't want to keep some gcc-side configuration behind. Rainer --=20 ---------------------------------------------------------------------------= -- Rainer Orth, Center for Biotechnology, Bielefeld University