This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/18743] crtbegin/crtend lacking unwind-info
- From: "davidm at hpl dot hp dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Nov 2004 20:03:31 -0000
- Subject: [Bug target/18743] crtbegin/crtend lacking unwind-info
- References: <20041130193704.18743.davidm@hpl.hp.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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