[Patch ObjC] fix objc.dg/exceptions2.m linkage error.

IainS developer@sandoe-acoustics.co.uk
Fri Dec 17 15:52:00 GMT 2010


The NeXT runtime library names its m64 personality routine  
"___objc_personality_v0"

So, in addition to the change to switch off sjlj exceptions (which  
causes linkage errors for the absent sjlj routines),
we also need to generate the right name for the eh personality...

OK?
Iain

objc:

	* objc/objc-act.c (objc_eh_personality): Select personality name on  
runtime.
	(objc_init_exceptions): New.
	(objc_begin_try_stmt): Use objc_init_exceptions.
	(objc_build_throw_stmt): Likewise.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 167976-objc-m64-except.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101217/9af1e61f/attachment.txt>
-------------- next part --------------





More information about the Gcc-patches mailing list