From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9681 invoked by alias); 5 Sep 2009 16:38:03 -0000 Received: (qmail 9670 invoked by uid 22791); 5 Sep 2009 16:38:02 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 05 Sep 2009 16:38:00 +0000 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n85GbwlZ001108; Sat, 5 Sep 2009 12:37:58 -0400 Received: from stone.twiddle.home (vpn-8-244.rdu.redhat.com [10.11.8.244]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n85GbuCc022673; Sat, 5 Sep 2009 12:37:57 -0400 Message-ID: <4AA293E4.8090301@redhat.com> Date: Sat, 05 Sep 2009 16:38:00 -0000 From: Richard Henderson User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3 MIME-Version: 1.0 To: Richard Guenther CC: gcc-patches@gcc.gnu.org, Diego Novillo Subject: Re: [PATCH] Merge from LTO: eh_personality changes References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2009-09/txt/msg00408.txt.bz2 On 09/04/2009 06:34 AM, Richard Guenther wrote: > + sorry ("Multiple EH personalities are supported only with assemblers " > + "supporting .cfi.personality directive."); There's no reason this can't be fixed. You simply need to rearrange the .eh_frame generation to emit multiple CFI's. Also, I think you need to add something to prevent inlining of functions that use different personality functions. Do you have a strategy for handling if (targetm.arm_eabi_unwinder) unwind_resume_libfunc = init_one_libfunc ("__cxa_end_cleanup"); since this function is only used for c++/java? r~