--- a/kernel/eka/euser/epoc/arm/uc_dll.cpp Thu Feb 25 13:16:02 2010 +0000
+++ b/kernel/eka/euser/epoc/arm/uc_dll.cpp Thu Feb 25 13:20:13 2010 +0000
@@ -44,11 +44,11 @@
return 0;
}
-#elif defined(__ARMCC__)
+#elif defined(__EABI__)
void __DLL_Export_Table__(void);
void __cpp_initialize__aeabi_(void);
-__weak void run_static_dtors(void);
+__WEAK__ void run_static_dtors(void);
GLDEF_C TInt _E32Dll_Body(TInt aReason)
{
--- a/kernel/eka/euser/epoc/arm/uc_exe.cpp Thu Feb 25 13:16:02 2010 +0000
+++ b/kernel/eka/euser/epoc/arm/uc_exe.cpp Thu Feb 25 13:20:13 2010 +0000
@@ -70,11 +70,11 @@
}
}
-#elif defined(__ARMCC__)
+#elif defined(__EABI__)
TInt CallThrdProcEntry(TInt (*aFn)(void*), void* aPtr, TInt aNotFirst);
-__weak void run_static_dtors(void);
+__WEAK__ void run_static_dtors(void);
void globalDestructorFunc()
{