From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1900 invoked by alias); 30 Nov 2004 20:03:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 1256 invoked by uid 48); 30 Nov 2004 20:03:31 -0000 Date: Tue, 30 Nov 2004 20:03:00 -0000 Message-ID: <20041130200331.1255.qmail@sourceware.org> From: "davidm at hpl dot hp dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041130193704.18743.davidm@hpl.hp.com> References: <20041130193704.18743.davidm@hpl.hp.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/18743] crtbegin/crtend lacking unwind-info X-Bugzilla-Reason: CC X-SW-Source: 2004-11/txt/msg03854.txt.bz2 List-Id: ------- Additional Comments From davidm at hpl dot hp dot com 2004-11-30 20:03 ------- (In reply to comment #1) > when gcc builds crtbegin/crtend, we do pass -fno-exceptions but in the backend, we set > flag_asynchronous_unwind_tables to 1 if we have not set it yet but we don't touch > flag_asynchronous_unwind_tables otherwise. Note that _init and _fini are special because they're constructed by the linker. That is, the length of these functions are unknown to the assembler and hence it's not possible to generate correct unwind-info. It's probably better to switch to .init_array/.fini_array. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18743