Patches for egcs/OSR5 Was: controlling exception type per target

Jason Merrill jason@cygnus.com
Wed Oct 1 23:33:00 GMT 1997


>>>>> Robert Lipe <robertl@dgii.com> writes:

>> #ifdef DWARF2_UNWIND_INFO
>> exceptions_via_longjmp = DWARF2_UNWIND_INFO;
>> #endif

> The negative logic definitions took a while for me to grok.

Er, you're right.  It should be !DWARF2_UNWIND_INFO.

> I'll leave submitting/applying that patch to you.

OK.

> ***************
> *** 563,569 ****
>     ((TARGET_ELF) ? DWARF_DEBUG: SDB_DEBUG)
  
>   #undef EXTRA_SECTIONS
> ! #define EXTRA_SECTIONS in_const, in_init, in_fini, in_ctors, in_dtors
  
>   #undef EXTRA_SECTION_FUNCTIONS
>   #define EXTRA_SECTION_FUNCTIONS						\
> --- 574,580 ----
>     ((TARGET_ELF) ? DWARF_DEBUG: SDB_DEBUG)
  
>   #undef EXTRA_SECTIONS
> ! #define EXTRA_SECTIONS in_const, in_init, in_fini, in_ctors, in_dtors, in_eh
  
>   #undef EXTRA_SECTION_FUNCTIONS
>   #define EXTRA_SECTION_FUNCTIONS						\

This hunk seems unnecessary.  Other than that, looks fine.

Jason



More information about the Gcc mailing list