sl@0
|
1 |
// Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
2 |
// All rights reserved.
|
sl@0
|
3 |
// This component and the accompanying materials are made available
|
sl@0
|
4 |
// under the terms of the License "Eclipse Public License v1.0"
|
sl@0
|
5 |
// which accompanies this distribution, and is available
|
sl@0
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
7 |
//
|
sl@0
|
8 |
// Initial Contributors:
|
sl@0
|
9 |
// Nokia Corporation - initial contribution.
|
sl@0
|
10 |
//
|
sl@0
|
11 |
// Contributors:
|
sl@0
|
12 |
//
|
sl@0
|
13 |
// Description:
|
sl@0
|
14 |
// e32\nklib\arm\armcchelp.cpp
|
sl@0
|
15 |
//
|
sl@0
|
16 |
//
|
sl@0
|
17 |
|
sl@0
|
18 |
#include "nkern.h"
|
sl@0
|
19 |
|
sl@0
|
20 |
extern "C" {
|
sl@0
|
21 |
|
sl@0
|
22 |
// This function is simple a way to get these EXPORT statements into
|
sl@0
|
23 |
// the .in file. These symbols will therefore be referenced from
|
sl@0
|
24 |
// the export table and so **forced** into the DLL
|
sl@0
|
25 |
__asm void __rt_exporter_dummy(void)
|
sl@0
|
26 |
{
|
sl@0
|
27 |
AREA |.directive|, READONLY, NOALLOC
|
sl@0
|
28 |
|
sl@0
|
29 |
PRESERVE8
|
sl@0
|
30 |
|
sl@0
|
31 |
DCB "#<SYMEDIT>#\n"
|
sl@0
|
32 |
// Long long functions
|
sl@0
|
33 |
DCB "EXPORT __aeabi_lmul\n"
|
sl@0
|
34 |
DCB "EXPORT __aeabi_ldivmod\n"
|
sl@0
|
35 |
DCB "EXPORT __aeabi_uldivmod\n"
|
sl@0
|
36 |
DCB "EXPORT __aeabi_llsl\n"
|
sl@0
|
37 |
DCB "EXPORT __aeabi_llsr\n"
|
sl@0
|
38 |
DCB "EXPORT __aeabi_lasr\n"
|
sl@0
|
39 |
DCB "EXPORT __aeabi_lcmp\n"
|
sl@0
|
40 |
DCB "EXPORT __aeabi_ulcmp\n"
|
sl@0
|
41 |
|
sl@0
|
42 |
// Integer (32/32 . 32) division functions
|
sl@0
|
43 |
DCB "EXPORT __aeabi_idivmod\n"
|
sl@0
|
44 |
DCB "EXPORT __aeabi_uidivmod\n"
|
sl@0
|
45 |
|
sl@0
|
46 |
// Division by Zero
|
sl@0
|
47 |
// SIGFPE not supported on SymbianOS
|
sl@0
|
48 |
// Implemented in rtdiv0.cpp
|
sl@0
|
49 |
DCB "EXPORT __aeabi_idiv0\n"
|
sl@0
|
50 |
DCB "EXPORT __aeabi_ldiv0\n"
|
sl@0
|
51 |
|
sl@0
|
52 |
// Unaligned memory access
|
sl@0
|
53 |
DCB "EXPORT __aeabi_uread4\n"
|
sl@0
|
54 |
DCB "EXPORT __aeabi_uwrite4\n"
|
sl@0
|
55 |
DCB "EXPORT __aeabi_uread8\n"
|
sl@0
|
56 |
DCB "EXPORT __aeabi_uwrite8\n"
|
sl@0
|
57 |
|
sl@0
|
58 |
// Memory copying, clearing, and setting
|
sl@0
|
59 |
// we may want to override the toolchain supplied versions of these (or not)
|
sl@0
|
60 |
DCB "EXPORT __aeabi_memcpy8\n"
|
sl@0
|
61 |
DCB "EXPORT __aeabi_memcpy4\n"
|
sl@0
|
62 |
DCB "EXPORT __aeabi_memcpy\n"
|
sl@0
|
63 |
DCB "EXPORT __aeabi_memmove8\n"
|
sl@0
|
64 |
DCB "EXPORT __aeabi_memmove4\n"
|
sl@0
|
65 |
DCB "EXPORT __aeabi_memmove\n"
|
sl@0
|
66 |
|
sl@0
|
67 |
DCB "EXPORT __aeabi_memset8\n"
|
sl@0
|
68 |
DCB "EXPORT __aeabi_memset4\n"
|
sl@0
|
69 |
DCB "EXPORT __aeabi_memset\n"
|
sl@0
|
70 |
DCB "EXPORT __aeabi_memclr8\n"
|
sl@0
|
71 |
DCB "EXPORT __aeabi_memclr4\n"
|
sl@0
|
72 |
DCB "EXPORT __aeabi_memclr\n"
|
sl@0
|
73 |
|
sl@0
|
74 |
|
sl@0
|
75 |
// C++ helper functions
|
sl@0
|
76 |
|
sl@0
|
77 |
// Pure virtual call
|
sl@0
|
78 |
DCB "EXPORT __cxa_pure_virtual\n"
|
sl@0
|
79 |
|
sl@0
|
80 |
// One-time construction API
|
sl@0
|
81 |
DCB "EXPORT __cxa_guard_acquire\n"
|
sl@0
|
82 |
DCB "EXPORT __cxa_guard_release\n"
|
sl@0
|
83 |
DCB "EXPORT __cxa_guard_abort\n"
|
sl@0
|
84 |
|
sl@0
|
85 |
// Construction and destruction of arrays
|
sl@0
|
86 |
|
sl@0
|
87 |
// Helper functions defined by the generic C++ ABI
|
sl@0
|
88 |
DCB "EXPORT __cxa_vec_new\n"
|
sl@0
|
89 |
DCB "EXPORT __cxa_vec_new2\n"
|
sl@0
|
90 |
DCB "EXPORT __cxa_vec_new3\n"
|
sl@0
|
91 |
DCB "EXPORT __cxa_vec_ctor\n"
|
sl@0
|
92 |
DCB "EXPORT __cxa_vec_dtor\n"
|
sl@0
|
93 |
DCB "EXPORT __cxa_vec_cleanup\n"
|
sl@0
|
94 |
DCB "EXPORT __cxa_vec_delete\n"
|
sl@0
|
95 |
DCB "EXPORT __cxa_vec_delete2\n"
|
sl@0
|
96 |
DCB "EXPORT __cxa_vec_delete3\n"
|
sl@0
|
97 |
DCB "EXPORT __cxa_vec_cctor\n"
|
sl@0
|
98 |
|
sl@0
|
99 |
// Helper functions defined by the C++ ABI for the ARM Architecture
|
sl@0
|
100 |
DCB "EXPORT __aeabi_vec_ctor_nocookie_nodtor\n"
|
sl@0
|
101 |
DCB "EXPORT __aeabi_vec_ctor_cookie_nodtor\n"
|
sl@0
|
102 |
DCB "EXPORT __aeabi_vec_cctor_nocookie_nodtor\n"
|
sl@0
|
103 |
DCB "EXPORT __aeabi_vec_new_cookie_noctor\n"
|
sl@0
|
104 |
DCB "EXPORT __aeabi_vec_new_nocookie\n"
|
sl@0
|
105 |
DCB "EXPORT __aeabi_vec_new_cookie_nodtor\n"
|
sl@0
|
106 |
DCB "EXPORT __aeabi_vec_new_cookie\n"
|
sl@0
|
107 |
DCB "EXPORT __aeabi_vec_dtor\n"
|
sl@0
|
108 |
DCB "EXPORT __aeabi_vec_dtor_cookie\n"
|
sl@0
|
109 |
DCB "EXPORT __aeabi_vec_delete\n"
|
sl@0
|
110 |
DCB "EXPORT __aeabi_vec_delete3\n"
|
sl@0
|
111 |
DCB "EXPORT __aeabi_vec_delete3_nodtor\n"
|
sl@0
|
112 |
|
sl@0
|
113 |
|
sl@0
|
114 |
DCB "EXPORT _ZTVN10__cxxabiv117__class_type_infoE\n"
|
sl@0
|
115 |
DCB "EXPORT _ZTVN10__cxxabiv120__si_class_type_infoE\n"
|
sl@0
|
116 |
DCB "EXPORT _ZTVN10__cxxabiv121__vmi_class_type_infoE\n"
|
sl@0
|
117 |
|
sl@0
|
118 |
}
|
sl@0
|
119 |
|
sl@0
|
120 |
}
|
sl@0
|
121 |
|