From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6403 invoked by alias); 30 Jun 2011 18:07:30 -0000 Received: (qmail 6393 invoked by uid 22791); 30 Jun 2011 18:07:29 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-qw0-f47.google.com (HELO mail-qw0-f47.google.com) (209.85.216.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 30 Jun 2011 18:07:14 +0000 Received: by qwh5 with SMTP id 5so1422182qwh.20 for ; Thu, 30 Jun 2011 11:07:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.79.196 with SMTP id q4mr1822852qck.132.1309457233359; Thu, 30 Jun 2011 11:07:13 -0700 (PDT) Received: by 10.229.214.83 with HTTP; Thu, 30 Jun 2011 11:07:13 -0700 (PDT) In-Reply-To: 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:19:00 -0000 Message-ID: Subject: Re: PATCH [8/n]: Prepare x32: PR other/48007: Unwind library doesn't work with UNITS_PER_WORD > sizeof (void *) From: "H.J. Lu" To: Rainer Orth Cc: Jason Merrill , gcc-patches@gcc.gnu.org, Richard Henderson , Jakub Jelinek Content-Type: text/plain; charset=ISO-8859-1 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/msg02392.txt.bz2 On Thu, Jun 30, 2011 at 11:03 AM, Rainer Orth wrote: > "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 f= or >>> =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 re= g field. >>> =A0 =A0 =A0 =A0(SIGNAL_FRAME_BIT): Define if REG_VALUE_IN_UNWIND_CONTEX= T 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_UNW= IND_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? =A0It seems far > simpler to me to put this into libgcc/config/i386/linux-unwind.h and be > done with it. > I did it this way so that other non-Linux x32 targets can use it. --=20 H.J.