mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-04 01:04:26 +08:00
darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): Only set sjlj exceptions for NeXT/m32.
gcc: * config/darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): Only set sjlj exceptions for NeXT/m32. From-SVN: r168018
This commit is contained in:
parent
927b679cfb
commit
a6e4343fc4
@ -1,3 +1,8 @@
|
||||
2010-12-18 Iain Sandoe <iains@gcc.gnu.org>
|
||||
|
||||
* config/darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS):
|
||||
Only set sjlj exceptions for NeXT/m32.
|
||||
|
||||
2010-12-18 Iain Sandoe <iains@gcc.gnu.org>
|
||||
|
||||
* config/darwin.h (GCC_DRIVER_HOST_INITIALIZATION):
|
||||
|
@ -140,6 +140,11 @@ extern GTY(()) int darwin_ms_struct;
|
||||
} while (0)
|
||||
|
||||
#define SUBTARGET_C_COMMON_OVERRIDE_OPTIONS do { \
|
||||
/* Sort out ObjC exceptions: If the runtime is NeXT we default to \
|
||||
sjlj for m32 only. */ \
|
||||
if (!global_options_set.x_flag_objc_sjlj_exceptions) \
|
||||
global_options.x_flag_objc_sjlj_exceptions = \
|
||||
flag_next_runtime && !TARGET_64BIT; \
|
||||
if (flag_mkernel || flag_apple_kext) \
|
||||
{ \
|
||||
if (flag_use_cxa_atexit == 2) \
|
||||
|
Loading…
Reference in New Issue
Block a user