os/kernelhwsrv/kernel/eka/common/arm/armcchlp.cia
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/kernelhwsrv/kernel/eka/common/arm/armcchlp.cia	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,121 @@
     1.4 +// Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of the License "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +// e32\nklib\arm\armcchelp.cpp
    1.18 +// 
    1.19 +//
    1.20 +
    1.21 +#include "nkern.h"
    1.22 +
    1.23 +extern "C" {
    1.24 +
    1.25 +// This function is simple a way to get these EXPORT statements into
    1.26 +// the .in file. These symbols will therefore be referenced from
    1.27 +// the export table and so **forced** into the DLL
    1.28 +__asm void __rt_exporter_dummy(void)
    1.29 +{
    1.30 +	AREA |.directive|, READONLY, NOALLOC
    1.31 +
    1.32 +	PRESERVE8
    1.33 +
    1.34 +	DCB "#<SYMEDIT>#\n"
    1.35 +	// Long long functions
    1.36 +	DCB "EXPORT __aeabi_lmul\n"
    1.37 +	DCB "EXPORT __aeabi_ldivmod\n"
    1.38 +	DCB "EXPORT __aeabi_uldivmod\n"
    1.39 +	DCB "EXPORT __aeabi_llsl\n"
    1.40 +	DCB "EXPORT __aeabi_llsr\n"
    1.41 +	DCB "EXPORT __aeabi_lasr\n"
    1.42 +	DCB "EXPORT __aeabi_lcmp\n"
    1.43 +	DCB "EXPORT __aeabi_ulcmp\n"
    1.44 +
    1.45 +	// Integer (32/32 . 32) division functions
    1.46 +	DCB "EXPORT __aeabi_idivmod\n"
    1.47 +	DCB "EXPORT __aeabi_uidivmod\n"
    1.48 +
    1.49 +	// Division by Zero
    1.50 +	// SIGFPE not supported on SymbianOS
    1.51 +	// Implemented in rtdiv0.cpp
    1.52 +	DCB "EXPORT __aeabi_idiv0\n"
    1.53 +	DCB "EXPORT __aeabi_ldiv0\n"
    1.54 +
    1.55 +	// Unaligned memory access
    1.56 +	DCB "EXPORT __aeabi_uread4\n"
    1.57 +	DCB "EXPORT __aeabi_uwrite4\n"
    1.58 +	DCB "EXPORT __aeabi_uread8\n"
    1.59 +	DCB "EXPORT __aeabi_uwrite8\n"
    1.60 +
    1.61 +	// Memory copying, clearing, and setting
    1.62 +	// we may want to override the toolchain supplied versions of these (or not)
    1.63 +	DCB "EXPORT __aeabi_memcpy8\n"
    1.64 +	DCB "EXPORT __aeabi_memcpy4\n"
    1.65 +	DCB "EXPORT __aeabi_memcpy\n"
    1.66 +	DCB "EXPORT __aeabi_memmove8\n"
    1.67 +	DCB "EXPORT __aeabi_memmove4\n"
    1.68 +	DCB "EXPORT __aeabi_memmove\n"
    1.69 +
    1.70 +	DCB "EXPORT __aeabi_memset8\n"
    1.71 +	DCB "EXPORT __aeabi_memset4\n"
    1.72 +	DCB "EXPORT __aeabi_memset\n"
    1.73 +	DCB "EXPORT __aeabi_memclr8\n"
    1.74 +	DCB "EXPORT __aeabi_memclr4\n"
    1.75 +	DCB "EXPORT __aeabi_memclr\n"
    1.76 +
    1.77 +
    1.78 +	// C++ helper functions
    1.79 +
    1.80 +	// Pure virtual call
    1.81 +	DCB "EXPORT __cxa_pure_virtual\n"
    1.82 +
    1.83 +	// One-time construction API
    1.84 +	DCB "EXPORT __cxa_guard_acquire\n"
    1.85 +	DCB "EXPORT __cxa_guard_release\n"
    1.86 +	DCB "EXPORT __cxa_guard_abort\n"
    1.87 +
    1.88 +	// Construction and destruction of arrays
    1.89 +
    1.90 +	// Helper functions defined by the generic C++ ABI
    1.91 +	DCB "EXPORT __cxa_vec_new\n"
    1.92 +	DCB "EXPORT __cxa_vec_new2\n"
    1.93 +	DCB "EXPORT __cxa_vec_new3\n"
    1.94 +	DCB "EXPORT __cxa_vec_ctor\n"
    1.95 +	DCB "EXPORT __cxa_vec_dtor\n"
    1.96 +	DCB "EXPORT __cxa_vec_cleanup\n"
    1.97 +	DCB "EXPORT __cxa_vec_delete\n"
    1.98 +	DCB "EXPORT __cxa_vec_delete2\n"
    1.99 +	DCB "EXPORT __cxa_vec_delete3\n"
   1.100 +	DCB "EXPORT __cxa_vec_cctor\n"
   1.101 +
   1.102 +	// Helper functions defined by the C++ ABI for the ARM Architecture
   1.103 +	DCB "EXPORT __aeabi_vec_ctor_nocookie_nodtor\n"
   1.104 +	DCB "EXPORT __aeabi_vec_ctor_cookie_nodtor\n"
   1.105 +	DCB "EXPORT __aeabi_vec_cctor_nocookie_nodtor\n"
   1.106 +	DCB "EXPORT __aeabi_vec_new_cookie_noctor\n"
   1.107 +	DCB "EXPORT __aeabi_vec_new_nocookie\n"
   1.108 +	DCB "EXPORT __aeabi_vec_new_cookie_nodtor\n"
   1.109 +	DCB "EXPORT __aeabi_vec_new_cookie\n"
   1.110 +	DCB "EXPORT __aeabi_vec_dtor\n"
   1.111 +	DCB "EXPORT __aeabi_vec_dtor_cookie\n"
   1.112 +	DCB "EXPORT __aeabi_vec_delete\n"
   1.113 +	DCB "EXPORT __aeabi_vec_delete3\n"
   1.114 +	DCB "EXPORT __aeabi_vec_delete3_nodtor\n"
   1.115 +
   1.116 +
   1.117 +	DCB "EXPORT _ZTVN10__cxxabiv117__class_type_infoE\n"		
   1.118 +	DCB "EXPORT _ZTVN10__cxxabiv120__si_class_type_infoE\n"		
   1.119 +	DCB "EXPORT _ZTVN10__cxxabiv121__vmi_class_type_infoE\n"	
   1.120 +
   1.121 +}
   1.122 +
   1.123 +}
   1.124 +