kernel/eka/nkern/arm/nk_entry.cia
branchRCL_3
changeset 98 58797ac204ef
parent 67 0b53155cb38a
--- a/kernel/eka/nkern/arm/nk_entry.cia	Tue Apr 27 18:02:57 2010 +0300
+++ b/kernel/eka/nkern/arm/nk_entry.cia	Wed Apr 28 14:04:36 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);