From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 610 invoked by alias); 12 Aug 2008 18:06:40 -0000 Received: (qmail 602 invoked by uid 22791); 12 Aug 2008 18:06:40 -0000 X-Spam-Check-By: sourceware.org Received: from smtp1.dnsmadeeasy.com (HELO smtp1.dnsmadeeasy.com) (205.234.170.134) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 12 Aug 2008 18:06:01 +0000 Received: from smtp1.dnsmadeeasy.com (localhost [127.0.0.1]) by smtp1.dnsmadeeasy.com (Postfix) with ESMTP id 9799C320586; Tue, 12 Aug 2008 18:06:11 +0000 (UTC) X-Authenticated-Name: js.dnsmadeeasy X-Transit-System: In case of SPAM please contact abuse@dnsmadeeasy.com Received: from avtrex.com (unknown [67.116.42.147]) by smtp1.dnsmadeeasy.com (Postfix) with ESMTP; Tue, 12 Aug 2008 18:06:11 +0000 (UTC) Received: from dl2.hq2.avtrex.com ([192.168.7.26]) by avtrex.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 12 Aug 2008 11:05:57 -0700 Message-ID: <48A1D105.5020601@avtrex.com> Date: Tue, 12 Aug 2008 18:08:00 -0000 From: David Daney User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: Dave Korn Cc: 'Tom Quarendon' , 'gcc help' Subject: Re: Exception handling tables for function generated on the fly References: <48A1B059.1040400@quarendon.net> <48A1C606.8090109@avtrex.com> <004401c8fca2$b8980090$9601a8c0@CAM.ARTIMI.COM> <48A1CF11.2090608@avtrex.com> In-Reply-To: <48A1CF11.2090608@avtrex.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-08/txt/msg00125.txt.bz2 David Daney wrote: > Dave Korn wrote: > >> Yes. The OP's question is "How do I generate .eh_frame data at runtime >> for an arbitrary function that has no throws and no catches but may call >> functions that throw". >> > Well I guess I may have misunderstood. If you are not using gcc to generate the code, then indeed you do need to generate your own .eh_frame section as Dave Korn indicated. David Daney