sl@0: // Copyright (c) 2008-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 "ARM EABI LICENCE.txt" sl@0: // which accompanies this distribution, and is available sl@0: // in kernel/eka/compsupp. sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // This file is part of drtrvct.dll and drtrvct_vfpv2.dll sl@0: // sl@0: // sl@0: sl@0: #include sl@0: #include sl@0: sl@0: sl@0: // The run-time can call this function to abort a process. The run-time library is sl@0: // not finalized and no atexit processing takes places. sl@0: extern "C" EXPORT_C void __rt_abort() /* never returns */ sl@0: { sl@0: RThread().Kill(KErrAbort); sl@0: } sl@0: sl@0: EXPORT_C void std::terminate(void) sl@0: { sl@0: __rt_abort(); sl@0: } sl@0: