------- 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