From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6439 invoked by alias); 26 Jun 2011 21:58:46 -0000 Received: (qmail 6430 invoked by uid 22791); 26 Jun 2011 21:58:45 -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-qy0-f182.google.com (HELO mail-qy0-f182.google.com) (209.85.216.182) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 26 Jun 2011 21:58:30 +0000 Received: by qyk38 with SMTP id 38so2445451qyk.20 for ; Sun, 26 Jun 2011 14:58:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.40.3 with SMTP id i3mr4201107qce.18.1309125509366; Sun, 26 Jun 2011 14:58:29 -0700 (PDT) Received: by 10.229.238.19 with HTTP; Sun, 26 Jun 2011 14:58:29 -0700 (PDT) In-Reply-To: <4E07A879.70509@redhat.com> References: <20110625161357.GA5401@intel.com> <4E078E58.20903@redhat.com> <4E07A879.70509@redhat.com> Date: Mon, 27 Jun 2011 03:17: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: Jason Merrill Cc: gcc-patches@gcc.gnu.org, Richard Henderson 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/msg01952.txt.bz2 On Sun, Jun 26, 2011 at 2:45 PM, Jason Merrill wrote: > On 06/26/2011 04:06 PM, H.J. Lu wrote: >> >> I added a short paragraph in the updated patch: >> >> +@defmac UNIQUE_UNWIND_CONTEXT >> + >> +Define this macro if the target only supports single unqiue unwind >> +context. =A0The default is to support multiple unwind contexts. > > I saw that. =A0I don't know what it means. > The current unwind library scheme provides only one unwind context and is backward compatible with multiple different unwind contexts from multiple unwind libraries: http://gcc.gnu.org/ml/gcc-patches/2006-12/msg01769.html My patch fixes UNITS_PER_WORD > sizeof (void *) and enforces single unwind context when backward compatibility isn't needed. --=20 H.J.