1 /* |
1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
3 * All rights reserved. |
3 // This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
4 // under the terms of the License "ARM EABI LICENCE.txt" |
5 * under the terms of the License "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
6 // in kernel/eka/compsupp. |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // |
8 * |
8 // Initial Contributors: |
9 * Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
10 // |
11 * |
11 // Contributors: |
12 * Contributors: |
12 // |
13 * |
13 // Description: |
14 * Description: |
14 // toplevel initialization/destruction routines for 'user side' code compiled |
15 * toplevel initialization/destruction routines for 'user side' code compiled |
15 // with the ARMCC EABI compiler. intended for static linking |
16 * with the ARMCC EABI compiler. intended for static linking |
16 // The code supports 2.2 both bpabi and non-bpabi. The values in .init_array are |
17 * The code supports 2.2 both bpabi and non-bpabi. The values in .init_array are |
17 // pointers in both environments, so the library is common to both. |
18 * pointers in both environments, so the library is common to both. |
18 // |
19 * |
19 // |
20 */ |
|
21 |
|
22 |
20 |
23 extern "C" { |
21 extern "C" { |
24 |
22 |
25 // This calls each of the compiler constructed functions referenced from pi_ctorvec. |
23 // This calls each of the compiler constructed functions referenced from pi_ctorvec. |
26 // These functions arrange to 'call' the appropriate constructor for the 'static' instance |
24 // These functions arrange to 'call' the appropriate constructor for the 'static' instance |