sl@0: // Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // e32\common\arm\cgcchelp.cpp sl@0: // sl@0: // sl@0: sl@0: #include "../common.h" sl@0: #ifdef __KERNEL_MODE__ sl@0: #include sl@0: #endif sl@0: sl@0: extern "C" { sl@0: extern "C" void __division_by_zero() sl@0: { sl@0: DIVISION_BY_ZERO(); sl@0: } sl@0: sl@0: #ifdef __GCCV3__ sl@0: EXPORT_C int __cxa_pure_virtual() sl@0: #else sl@0: EXPORT_C int __pure_virtual() sl@0: #endif sl@0: // sl@0: // Gets called for any unreplaced pure virtual methods. sl@0: // sl@0: { sl@0: #ifdef __STANDALONE_NANOKERNEL__ sl@0: __crash(); sl@0: #else sl@0: Panic(EPureVirtualCalled); sl@0: #endif sl@0: return 0; sl@0: } sl@0: } sl@0: