|
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of the License "ARM EABI LICENCE.txt" |
|
5 // which accompanies this distribution, and is available |
|
6 // in kernel/eka/compsupp. |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // This file is part of drtaeabi.dll. |
|
15 // |
|
16 // |
|
17 |
|
18 |
|
19 #include <e32std.h> |
|
20 #include <e32panic.h> |
|
21 |
|
22 extern "C" { |
|
23 |
|
24 EXPORT_C void abort() |
|
25 { |
|
26 User::RaiseException(EExcAbort); |
|
27 } |
|
28 |
|
29 EXPORT_C void __cxa_pure_virtual() |
|
30 { |
|
31 User::Panic( _L("Pure virtual"), EPureVirtualCalled ); |
|
32 } |
|
33 |
|
34 #if __ARMCC_VERSION < 300000 |
|
35 IMPORT_C void* __get_typeid(void*); |
|
36 EXPORT_C void* __ARM_get_typeid(void* p) |
|
37 { |
|
38 return __get_typeid(p); |
|
39 } |
|
40 #endif |
|
41 |
|
42 } // extern "C" |
|
43 |
|
44 |
|
45 // |
|
46 // Create the type_info object for void. |
|
47 // |
|
48 |
|
49 extern const char * const $Sub$$_ZTSv = "v"; |
|
50 |
|
51 __asm void __rt_exporter_dummy() |
|
52 { |
|
53 IMPORT _ZTVN10__cxxabiv123__fundamental_type_infoE [DYNAMIC] |
|
54 IMPORT _ZTSv |
|
55 |
|
56 #if __ARMCC_VERSION < 300000 |
|
57 EXPORT |$Sub$$_ZTIv| |
|
58 #else |
|
59 EXPORT |$Sub$$_ZTIv| [DYNAMIC] |
|
60 #endif |
|
61 |
|
62 |$Sub$$_ZTIv| |
|
63 |
|
64 DCD _ZTVN10__cxxabiv123__fundamental_type_infoE |
|
65 DCD _ZTSv |
|
66 } |
|
67 |
|
68 #if __ARMCC_VERSION > 400000 |
|
69 asm void __symbian_prevent_export() |
|
70 { |
|
71 IMPORT __rt_uread4 |
|
72 IMPORT __rt_uread8 |
|
73 IMPORT __rt_uwrite4 |
|
74 IMPORT __rt_uwrite8 |
|
75 IMPORT _ll_mul |
|
76 IMPORT _ll_scmp |
|
77 IMPORT _ll_sdiv |
|
78 IMPORT _ll_shift_l |
|
79 IMPORT _ll_sshift_r |
|
80 IMPORT _ll_ucmp |
|
81 IMPORT _ll_udiv |
|
82 IMPORT _ll_udiv_donemoving |
|
83 IMPORT _ll_ushift_r |
|
84 |
|
85 IMPORT __ARM_array_delete_general |
|
86 IMPORT __ARM_array_new_general |
|
87 IMPORT __ARM_vec_cleanup_rethrow |
|
88 } |
|
89 #endif |
|
90 |