# HG changeset patch # User mikek # Date 1277718777 -3600 # Node ID 9953e74bcef52b9288cabe536ba97e363fce831f # Parent eb3b9806166e8900370ac5ef2c48a46465795097 1) Fix for Bug 3115 - [GCCE] Undefined reference to DBTraceFilter2::Check(unsigned long) in linking _template_ekern.exe 2) Fix for Bug 3116 - [GCCE] Undefined reference to DKernelEventHandler::Dispatch(TKernelEvent, void *, void *) in linking _template_ekern.exe diff -r eb3b9806166e -r 9953e74bcef5 kernel/eka/include/e32cia.h --- a/kernel/eka/include/e32cia.h Sun Jun 27 22:49:58 2010 +0100 +++ b/kernel/eka/include/e32cia.h Mon Jun 28 10:52:57 2010 +0100 @@ -241,6 +241,9 @@ #define CSM_ZN8DSession14PinDescriptorsEPiPA3_mPP17TVirtualPinObject "PinDescriptors__8DSessionPiPA2_UlPP17TVirtualPinObject" #define CSM_ZN14TClientRequest5ResetEv "Reset__14TClientRequest" #define CSM_ZN9RMessageK8CloseRefEv "CloseRef__9RMessageK" +#define CSM_ZN14DBTraceFilter25CheckEm " Check__14DBTraceFilter2Ul" +#define CSM_ZN19DKernelEventHandler8DispatchE12TKernelEventPvS1_ "Dispatch__19DKernelEventHandler12TKernelEventPvT2" + #elif defined(__ARMCC__) // CIA symbol macros for RVCT #define CSM_ZN1K8MsgInfoE " __cpp(&K::MsgInfo)" @@ -352,6 +355,8 @@ #define CSM_ZN8DSession14PinDescriptorsEPiPA3_mPP17TVirtualPinObject " __cpp(DSession::PinDescriptors)" #define CSM_ZN14TClientRequest5ResetEv "__cpp(TClientRequest::Reset)" #define CSM_ZN9RMessageK8CloseRefEv "__cpp(RMessageK::CloseRef)" +#define CSM_ZN14DBTraceFilter25CheckEm " __cpp(DBTraceFilter2::Check)" +#define CSM_ZN19DKernelEventHandler8DispatchE12TKernelEventPvS1_ "__cpp(DKernelEventHandler::Dispatch)" #else // CIA symbol macros for EABI assemblers #define CSM_ZN1K8MsgInfoE " _ZN1K7MsgInfoE" @@ -463,6 +468,8 @@ #define CSM_ZN8DSession14PinDescriptorsEPiPA3_mPP17TVirtualPinObject "_ZN8DSession14PinDescriptorsEPiPA3_mPP17TVirtualPinObject" #define CSM_ZN14TClientRequest5ResetEv "_ZN14TClientRequest5ResetEv" #define CSM_ZN9RMessageK8CloseRefEv "_ZN9RMessageK8CloseRefEv" +#define CSM_ZN14DBTraceFilter25CheckEm " _ZN14DBTraceFilter25CheckEm" +#define CSM_ZN19DKernelEventHandler8DispatchE12TKernelEventPvS1_ " _ZN19DKernelEventHandler8DispatchE12TKernelEventPvS1_" #endif // CIA symbols for COMMON code (used both USER and KERNEL side) diff -r eb3b9806166e -r 9953e74bcef5 kernel/eka/kernel/arm/ckernel.cia --- a/kernel/eka/kernel/arm/ckernel.cia Sun Jun 27 22:49:58 2010 +0100 +++ b/kernel/eka/kernel/arm/ckernel.cia Mon Jun 28 10:52:57 2010 +0100 @@ -38,7 +38,7 @@ #ifdef __DEBUGGER_SUPPORT__ asm("mov r0, #%a0" : : "i" ((TInt)EEventStartThread)); asm("mov r1, r4"); - asm("bl Dispatch__19DKernelEventHandler12TKernelEventPvT2"); + asm("bl " CSM_ZN19DKernelEventHandler8DispatchE12TKernelEventPvS1_); #endif #ifdef __EMI_SUPPORT__ asm("mov r0,r4"); // a1=DThread; diff -r eb3b9806166e -r 9953e74bcef5 kernel/eka/nkern/arm/ncutils.cia --- a/kernel/eka/nkern/arm/ncutils.cia Sun Jun 27 22:49:58 2010 +0100 +++ b/kernel/eka/nkern/arm/ncutils.cia Mon Jun 28 10:52:57 2010 +0100 @@ -501,7 +501,7 @@ asm("mov r6, r0"); - asm("bl Check__14DBTraceFilter2Ul"); + asm("bl " CSM_ZN14DBTraceFilter25CheckEm); // r0 = result