diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/except.h | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6790ecc0de9..3fe86068a8a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2003-09-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> + * except.h (MUST_USE_SJLJ_EXCEPTIONS): Test for DWARF2_UNWIND_INFO + value. + +2003-09-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> + * target.h (struct gcc_target): New member external_libcall. * target-def.h (TARGET_ASM_EXTERNAL_LIBCALL): Provide default. (TARGET_ASM_OUT): Use it. diff --git a/gcc/except.h b/gcc/except.h index 8f075400fe7..e2c37059d77 100644 --- a/gcc/except.h +++ b/gcc/except.h @@ -147,9 +147,13 @@ extern tree (*lang_eh_runtime_type) (tree); || (DWARF2_UNWIND_INFO \ && (defined (EH_RETURN_HANDLER_RTX) \ || defined (HAVE_eh_return))))) -#define MUST_USE_SJLJ_EXCEPTIONS 1 +# define MUST_USE_SJLJ_EXCEPTIONS 1 #else -#define MUST_USE_SJLJ_EXCEPTIONS 0 +# ifdef IA64_UNWIND_INFO +# define MUST_USE_SJLJ_EXCEPTIONS 0 +# else +# define MUST_USE_SJLJ_EXCEPTIONS (DWARF2_UNWIND_INFO == 0) +# endif #endif #ifdef CONFIG_SJLJ_EXCEPTIONS |