From: Iain Sandoe Date: Sat, 12 Nov 2011 13:54:33 +0000 (+0000) Subject: objc-next-runtime-abi-01.c (objc_eh_personality): Use gcc personality for Objective... X-Git-Tag: releases/gcc-4.7.0~2228 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76d29410c732571870e896b157b60d3eae0a671e;p=thirdparty%2Fgcc.git objc-next-runtime-abi-01.c (objc_eh_personality): Use gcc personality for Objective-C m32. gcc/obj: * objc-next-runtime-abi-01.c (objc_eh_personality): Use gcc personality for Objective-C m32. From-SVN: r181312 --- diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 26b98983ea1f..3c176e823b4b 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,8 @@ +2011-11-12 Iain Sandoe + + * objc-next-runtime-abi-01.c (objc_eh_personality): Use gcc personality + for Objective-C m32. + 2011-10-29 Iain Sandoe PR target/47997 diff --git a/gcc/objc/objc-next-runtime-abi-01.c b/gcc/objc/objc-next-runtime-abi-01.c index c1e60b392d53..7d6a21256322 100644 --- a/gcc/objc/objc-next-runtime-abi-01.c +++ b/gcc/objc/objc-next-runtime-abi-01.c @@ -2872,12 +2872,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