equal
deleted
inserted
replaced
|
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 #include <e32std.h> |
|
19 #include <e32std_private.h> |
|
20 |
|
21 |
|
22 extern "C" { |
|
23 |
|
24 IMPORT_C void __rt_div0(); // Import from drtrvct.dll. |
|
25 |
|
26 EXPORT_C int __aeabi_idiv0 (int return_value) |
|
27 { |
|
28 __rt_div0(); |
|
29 return return_value; |
|
30 } |
|
31 |
|
32 EXPORT_C long long __aeabi_ldiv0 (long long return_value) |
|
33 { |
|
34 __rt_div0(); |
|
35 return return_value; |
|
36 } |
|
37 } |
|
38 |