0
|
1 |
// Copyright (c) 1995-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 "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// e32\euser\epoc\arm\uc_gcch.cia
|
|
15 |
// This file contains general gcc helper functions
|
|
16 |
//
|
|
17 |
//
|
|
18 |
|
|
19 |
#include <u32std.h>
|
|
20 |
|
|
21 |
extern "C" {
|
|
22 |
|
|
23 |
#ifdef __MARM_THUMB__
|
|
24 |
__NAKED__ void _call_via_r0() { asm(" bx r0"); }
|
|
25 |
__NAKED__ void _call_via_r1() { asm(" bx r1"); }
|
|
26 |
__NAKED__ void _call_via_r2() { asm(" bx r2"); }
|
|
27 |
__NAKED__ void _call_via_r3() { asm(" bx r3"); }
|
|
28 |
__NAKED__ void _call_via_r4() { asm(" bx r4"); }
|
|
29 |
__NAKED__ void _call_via_r5() { asm(" bx r5"); }
|
|
30 |
__NAKED__ void _call_via_r6() { asm(" bx r6"); }
|
|
31 |
__NAKED__ void _call_via_r7() { asm(" bx r7"); }
|
|
32 |
__NAKED__ void _call_via_r8() { asm(" bx r8"); }
|
|
33 |
__NAKED__ void _call_via_r9() { asm(" bx r9"); }
|
|
34 |
__NAKED__ void _call_via_sl() { asm(" bx sl"); }
|
|
35 |
__NAKED__ void _call_via_fp() { asm(" bx fp"); }
|
|
36 |
__NAKED__ void _call_via_ip() { asm(" bx ip"); }
|
|
37 |
__NAKED__ void _call_via_lr() { asm(" bx lr"); }
|
|
38 |
#endif
|
|
39 |
|
|
40 |
}
|