aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.6/gcc/objc/objc-next-runtime-abi-01.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.6/gcc/objc/objc-next-runtime-abi-01.c')
-rw-r--r--gcc-4.6/gcc/objc/objc-next-runtime-abi-01.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc-4.6/gcc/objc/objc-next-runtime-abi-01.c b/gcc-4.6/gcc/objc/objc-next-runtime-abi-01.c
index 3bab0a9..84626b3 100644
--- a/gcc-4.6/gcc/objc/objc-next-runtime-abi-01.c
+++ b/gcc-4.6/gcc/objc/objc-next-runtime-abi-01.c
@@ -2871,12 +2871,15 @@ make_err_class:
return eh_id;
}
+/* For NeXT ABI 0 and 1, the personality routines are just those of the
+ underlying language. */
+
static tree
objc_eh_personality (void)
{
if (!objc_eh_personality_decl)
#ifndef OBJCPLUS
- objc_eh_personality_decl = build_personality_function ("objc");
+ objc_eh_personality_decl = build_personality_function ("gcc");
#else
objc_eh_personality_decl = build_personality_function ("gxx");
#endif