1/*---------------------------------------------------------------------------*
2  Project:  Horizon
3  File:     CTR.Process.MPCore.ldscript.template
4
5  Copyright (C)2008 Nintendo Co., Ltd.  All rights reserved.
6
7  These coded instructions, statements, and computer programs contain
8  proprietary information of Nintendo of America Inc. and/or Nintendo
9  Company Ltd., and are protected by Federal copyright law.  They may
10  not be disclosed to third parties or copied or duplicated in any form,
11  in whole or in part, without the prior written consent of Nintendo.
12
13  $Rev: 46978 $
14 *---------------------------------------------------------------------------*/
15//
16// Scatter Loading Description File Templete
17//
18
19#define NN_SWITCH_INCLUDE_FROM_NON_C
20#include <nn/os/os_MemoryMapSelect.h>
21
22TEXT_SECTION NN_OS_ADDR_CODE_BEGIN NN_OS_ADDR_CODE_SIZE
23{
24    STUP_ENTRY NN_OS_ADDR_CODE_BEGIN
25    {
26        * (:gdef:__ctr_start, +FIRST)
27        * (+RO-CODE)
28    }
29}
30
31RO_SECTION  +0  ALIGN   0x1000
32{
33    RO +0
34    {
35        * (+RO-DATA)
36    }
37    STATIC_INIT  +0
38    {
39        * (.static_init)
40    }
41    ET +0
42    {
43        * (.ARM.exidx)
44        * (.ARM.extab)
45    }
46}
47
48RW_SECTION  +0  ALIGN   0x1000
49{
50    RW +0
51    {
52        * (+RW-DATA)
53    }
54    ZI +0
55    {
56        * (+ZI)
57    }
58}
59
60END_SECTION +ImageLength(ZI)    ALIGN   0x1000
61{
62    STATIC_END +0
63    {
64    	* (.nn.dummy)
65    }
66}
67
68MODULE_INFO     (NN_OS_ADDR_CODE_BEGIN + NN_OS_ADDR_CODE_SIZE)
69{
70    .module_id  (NN_OS_ADDR_CODE_BEGIN + NN_OS_ADDR_CODE_SIZE)
71    {
72        * (.module_id)
73    }
74}
75