/*---------------------------------------------------------------------------* Project: Horizon File: CTR.Ro.MPCore.ldscript.template Copyright (C)2011 Nintendo Co., Ltd. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo of America Inc. and/or Nintendo Company Ltd., and are protected by Federal copyright law. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. $Rev: 37323 $ *---------------------------------------------------------------------------*/ // // Scatter Loading Description File Templete // #define CRO_HEADER_SIZE 0x180 #define SECTION_SPACE_SIZE 0x10000000 #define SPACE_BEGIN 0 #define TEXT_SECTION_ADDR (SPACE_BEGIN + CRO_HEADER_SIZE) #define RO_SECTION_ADDR (SPACE_BEGIN + SECTION_SPACE_SIZE) #define RW_SECTION_ADDR (RO_SECTION_ADDR + SECTION_SPACE_SIZE) #define MODULE_INFO_ADDR (RW_SECTION_ADDR + SECTION_SPACE_SIZE) TEXT_SECTION TEXT_SECTION_ADDR RELOC { CODE +0 { * (+RO-CODE) } CODE_INIT_ARRAY +0 { * (.init_array) } RO +0 ALIGN 0x1000 { * (+RO-DATA) } RO_STATIC_INIT +0 { * (.static_init) } RO_ET +0 { * (.ARM.exidx) * (.ARM.extab) } } RW_SECTION RW_SECTION_ADDR RELOC { RW +0 { * (+RW-DATA) } } ZI_SECTION +0 { ZI +0 { * (+ZI) } } MODULE_INFO MODULE_INFO_ADDR { .module_id +0 { * (.module_id) } }