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: 25011 $ 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 STATIC_INIT +0 30 { 31 * (.static_init) 32 } 33 INIT_ARRAY +0 34 { 35 * (.init_array) 36 init_aeabi.o(+RO) 37 } 38} 39 40RO_SECTION +0 ALIGN 0x1000 41{ 42 RO +0 43 { 44 * (+RO-DATA) 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 60MODULE_INFO (NN_OS_ADDR_CODE_BEGIN + NN_OS_ADDR_CODE_SIZE) 61{ 62 .module_id (NN_OS_ADDR_CODE_BEGIN + NN_OS_ADDR_CODE_SIZE) 63 { 64 * (.module_id) 65 } 66} 67