kernel/eka/nkern/arm/nk_entry.cia
branchRCL_3
changeset 88 d87ddb12c54a
parent 67 0b53155cb38a
--- a/kernel/eka/nkern/arm/nk_entry.cia	Wed Mar 31 23:38:45 2010 +0300
+++ b/kernel/eka/nkern/arm/nk_entry.cia	Fri Apr 02 11:01:24 2010 +0100
@@ -80,7 +80,7 @@
 	asm("__CtorList: ");
 	asm(".word __CTOR_LIST__ ");
 	}
-#elif defined(__ARMCC__)
+#elif defined(__EABI__)
 void __DLL_Export_Table__(void);
 void __cpp_initialize__aeabi_();
   
@@ -89,7 +89,7 @@
 void __record_needed_destruction (void * d){}
 // 2.1 calls __aeabi_atexit passing __dso_handle. This can be a dummy (i.e. just a label)
 
-__asm void __dso_handle(void) {}
+__NAKED__  void __dso_handle(void) {}
 void __aeabi_atexit(void *object, void (*dtor)(void *), void *handle){}
 
 void _E32Startup_Body(TLinAddr aRomHeader, TLinAddr aSuperPage);