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 drtaeabi.dll. sl@0: // sl@0: // sl@0: sl@0: sl@0: #include sl@0: #include sl@0: sl@0: extern "C" { sl@0: sl@0: EXPORT_C void abort() sl@0: { sl@0: User::RaiseException(EExcAbort); sl@0: } sl@0: sl@0: EXPORT_C void __cxa_pure_virtual() sl@0: { sl@0: User::Panic( _L("Pure virtual"), EPureVirtualCalled ); sl@0: } sl@0: sl@0: #if __ARMCC_VERSION < 300000 sl@0: IMPORT_C void* __get_typeid(void*); sl@0: EXPORT_C void* __ARM_get_typeid(void* p) sl@0: { sl@0: return __get_typeid(p); sl@0: } sl@0: #endif sl@0: sl@0: } // extern "C" sl@0: sl@0: sl@0: // sl@0: // Create the type_info object for void. sl@0: // sl@0: sl@0: extern const char * const $Sub$$_ZTSv = "v"; sl@0: sl@0: __asm void __rt_exporter_dummy() sl@0: { sl@0: IMPORT _ZTVN10__cxxabiv123__fundamental_type_infoE [DYNAMIC] sl@0: IMPORT _ZTSv sl@0: sl@0: #if __ARMCC_VERSION < 300000 sl@0: EXPORT |$Sub$$_ZTIv| sl@0: #else sl@0: EXPORT |$Sub$$_ZTIv| [DYNAMIC] sl@0: #endif sl@0: sl@0: |$Sub$$_ZTIv| sl@0: sl@0: DCD _ZTVN10__cxxabiv123__fundamental_type_infoE sl@0: DCD _ZTSv sl@0: } sl@0: sl@0: #if __ARMCC_VERSION > 400000 sl@0: asm void __symbian_prevent_export() sl@0: { sl@0: IMPORT __rt_uread4 sl@0: IMPORT __rt_uread8 sl@0: IMPORT __rt_uwrite4 sl@0: IMPORT __rt_uwrite8 sl@0: IMPORT _ll_mul sl@0: IMPORT _ll_scmp sl@0: IMPORT _ll_sdiv sl@0: IMPORT _ll_shift_l sl@0: IMPORT _ll_sshift_r sl@0: IMPORT _ll_ucmp sl@0: IMPORT _ll_udiv sl@0: IMPORT _ll_udiv_donemoving sl@0: IMPORT _ll_ushift_r sl@0: sl@0: IMPORT __ARM_array_delete_general sl@0: IMPORT __ARM_array_new_general sl@0: IMPORT __ARM_vec_cleanup_rethrow sl@0: } sl@0: #endif sl@0: