0
|
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 <e32std_private.h>
|
|
21 |
#include <e32panic.h>
|
|
22 |
|
|
23 |
extern "C" {
|
|
24 |
|
|
25 |
// Import these functions from drtrvct.dll.
|
|
26 |
IMPORT_C int __rt_raise(int signal, int type);
|
|
27 |
IMPORT_C int __rt_exit(int aReturnCode);
|
|
28 |
|
|
29 |
int raise(int signal)
|
|
30 |
{
|
|
31 |
return __rt_raise(signal, 0);
|
|
32 |
}
|
|
33 |
|
|
34 |
EXPORT_C void abort(int signal)
|
|
35 |
{
|
|
36 |
__rt_raise(signal, 1);
|
|
37 |
__rt_exit(1);
|
|
38 |
}
|
|
39 |
|
|
40 |
EXPORT_C void __cxa_pure_virtual()
|
|
41 |
{
|
|
42 |
User::Panic( _L("Pure virtual"), EPureVirtualCalled );
|
|
43 |
}
|
|
44 |
|
|
45 |
} // extern "C"
|
|
46 |
|
|
47 |
|
|
48 |
//
|
|
49 |
// Create the type_info object for void.
|
|
50 |
//
|
|
51 |
|
|
52 |
extern char * _ZTVN10__cxxabiv123__fundamental_type_infoE;
|
|
53 |
extern const char * const $Sub$$_ZTSv = "v";
|
|
54 |
|
|
55 |
__asm void __rt_exporter_dummy()
|
|
56 |
{
|
|
57 |
EXTERN _ZTVN10__cxxabiv123__fundamental_type_infoE
|
|
58 |
EXTERN _ZTSv
|
|
59 |
EXPORT |$Sub$$_ZTIv|
|
|
60 |
|
|
61 |
|$Sub$$_ZTIv|
|
|
62 |
|
|
63 |
DCD _ZTVN10__cxxabiv123__fundamental_type_infoE
|
|
64 |
DCD _ZTSv
|
|
65 |
}
|
|
66 |
|