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.
--- 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__