Workaround for bug 2976 - [GCCE] Overlapping naked function bodies break exception-handling. GCC_SURGE
authorMike Kinghan <mikek@symbian.org>
Thu, 05 Aug 2010 10:36:25 +0100
branchGCC_SURGE
changeset 240 888ff8520588
parent 239 03e4121ce0f8
child 241 973a4e3b29b5
Workaround for bug 2976 - [GCCE] Overlapping naked function bodies break exception-handling. We have no fix that will compile the problem file kernel/eka/common/arm/carray.cia, so instead we just configure the c++ implementation of CArray instead of the assembly coded one.
kernel/eka/include/cpudefs.h
--- a/kernel/eka/include/cpudefs.h	Thu Aug 05 08:30:36 2010 +0100
+++ b/kernel/eka/include/cpudefs.h	Thu Aug 05 10:36:25 2010 +0100
@@ -247,7 +247,9 @@
 	#define __COBJECT_MACHINE_CODED__
 	#define __CACTIVESCHEDULER_MACHINE_CODED__
 	#define __CSERVER_MACHINE_CODED__
-//	#define __ARRAY_MACHINE_CODED__ IMK working around bug #2976
+#ifndef __GCCE__ // IMK working around bug #2976 for GCCE
+	#define __ARRAY_MACHINE_CODED__
+#endif 
 	#define __HUFFMAN_MACHINE_CODED__
 #if defined(__MARM_ARM4__) || defined(__MARM_ARMI__) || defined(__MARM_THUMB__) || defined(__MARM_ARMV4__) || defined(__MARM_ARMV5__)
 	#define __DES16_MACHINE_CODED_HWORD__