kernel/eka/compsupp/rvct2_1/aeabidiv0.cpp
changeset 9 96e5fb8b040d
child 10 36bfc973b146
equal deleted inserted replaced
-1:000000000000 9:96e5fb8b040d
       
     1 /*
       
     2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <e32std.h>
       
    20 #include <e32std_private.h>
       
    21 
       
    22 extern "C" {
       
    23 
       
    24 IMPORT_C void __rt_div0();
       
    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 }