kernel/eka/compsupp/rvct3_1/rtexit.cpp
author Mike Kinghan <mikek@symbian.org>
Fri, 13 Aug 2010 14:17:31 +0100
branchGCC_SURGE
changeset 246 4a60358e2cbf
parent 0 a41df078684a
permissions -rw-r--r--
Workaround for bug 3560 - [GCCE] elf2e32 puts unresolved weak function symbols in data segment.

// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "ARM EABI LICENCE.txt"
// which accompanies this distribution, and is available
// in kernel/eka/compsupp.
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// This file is part of drtrvct.dll and drtrvct_vfpv2.dll
// 
//

#include <e32std.h>
#include <e32std_private.h>


// The run-time system can call this function to exit the process, 'finalizing' the
// run-time library but avoiding atexit processing.
extern "C" EXPORT_C void __rt_exit(TInt aReturnCode) /* never returns */
    {
    User::Exit(aReturnCode);
    }