0
|
1 |
// Copyright (c) 2004-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 |
//
|
|
15 |
|
|
16 |
#include <e32std.h>
|
|
17 |
#include <e32std_private.h>
|
|
18 |
|
|
19 |
extern "C" {
|
|
20 |
|
|
21 |
IMPORT_C void __rt_div0();
|
|
22 |
|
|
23 |
EXPORT_C int __aeabi_idiv0 (int return_value)
|
|
24 |
{
|
|
25 |
__rt_div0();
|
|
26 |
return return_value;
|
|
27 |
}
|
|
28 |
|
|
29 |
EXPORT_C long long __aeabi_ldiv0 (long long return_value)
|
|
30 |
{
|
|
31 |
__rt_div0();
|
|
32 |
return return_value;
|
|
33 |
}
|
|
34 |
|
|
35 |
}
|