From: Iain Sandoe Date: Sat, 12 Nov 2011 13:57:55 +0000 (+0000) Subject: objc-next-runtime-abi-01.c (objc_eh_personality): Use gcc personality for Objective... X-Git-Tag: releases/gcc-4.6.3~349 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75c6cdf7b3835ae82df0b0e4ad715df2360ffa3e;p=thirdparty%2Fgcc.git objc-next-runtime-abi-01.c (objc_eh_personality): Use gcc personality for Objective-C m32. gcc/objc: * objc-next-runtime-abi-01.c (objc_eh_personality): Use gcc personality for Objective-C m32. From-SVN: r181313 --- diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index ce576947e602..3c2516746b6a 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-26 Release Manager * GCC 4.6.2 released. diff --git a/gcc/objc/objc-next-runtime-abi-01.c b/gcc/objc/objc-next-runtime-abi-01.c index 3bab0a92d5e5..84626b3bc585 100644 --- a/gcc/objc/objc-next-runtime-abi-01.c +++ b/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