DWARF2 unwinding required in gcc 3.1?

Bob Wilson bwilson@tensilica.com
Tue Sep 25 12:01:00 GMT 2001


The 3.0.1 version of crtstuff.c only includes support for DWARF2
unwinding (e.g., __register_frame_info calls) when
EH_FRAME_SECTION_ASM_OP is defined, which in turn is usually only
defined when DWARF2_UNWIND_INFO is defined.

With the latest 3.1 CVS sources, those conditions in crtstuff.c have
been replaced by #ifdef EH_FRAME_SECTION_NAME, which is always true.  

Is this intentional?  Should EH_FRAME_SECTION_NAME be defined even if
DWARF2_UNWIND_INFO is not?
 
-- 
Bob Wilson                      Tel: (408) 327-7312
Tensilica, Inc.                 Fax: (408) 986-8919
3255-6 Scott Blvd.              email: bwilson@tensilica.com
Santa Clara, CA 95054



More information about the Gcc mailing list