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
This commit is contained in:
Iain Sandoe 2011-11-12 13:54:33 +00:00
parent c481ae7f87
commit 76d29410c7
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-11-12 Iain Sandoe <iains@gcc.gnu.org>
* objc-next-runtime-abi-01.c (objc_eh_personality): Use gcc personality
for Objective-C m32.
2011-10-29 Iain Sandoe <iains@gcc.gnu.org>
PR target/47997

View File

@ -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