This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/18743] crtbegin/crtend lacking unwind-info


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]