kernel/eka/euser/epoc/arm/uc_exe.cia
branchGCC_SURGE
changeset 163 ce553b66457d
parent 150 9b2dbb18d44b
child 190 0d42d469e749
--- a/kernel/eka/euser/epoc/arm/uc_exe.cia	Fri Jun 18 12:08:15 2010 +0100
+++ b/kernel/eka/euser/epoc/arm/uc_exe.cia	Fri Jun 18 17:19:30 2010 +0100
@@ -73,10 +73,15 @@
 	__EH_FRAME_SAVE1(r4-r11, -48)
 	// but the macro expansion gives rise to odd code so we do what follows
 #endif
-#ifdef __ARMCC__
+#if defined(__ARMCC__)
 	FRAME SAVE {r4-r11}, -48
+#elif defined(__GCCE__)
+	__EH_FRAME_SAVE1(r4-r11,-48)
+#else
+#error What compiler?	
 #endif
 
+
 	asm("bic sp, sp, #4 ");		// align stack to 8 byte boundary
 //  	asm("bl " CSM_ZN4User15HandleExceptionEPv );
   	asm("bl _xxxx_call_user_handle_exception ");