ctr_firmware/trunk/bootrom/include/brom/specfiles/ARM9-FIRM.ldscript.template
nakasima 6a5f4a9f39 ファームビルド追加。
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_firmware@244 b871894f-2f95-9b40-918c-086798483c85
2009-01-30 11:14:54 +00:00

81 lines
1.5 KiB
Plaintext

/*---------------------------------------------------------------------------*
Project: TwlBrom - specfiles
File: ARM9-FIRM.ldscript.template
Copyright 2009 Nintendo. 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.
$Date:: 2008-12-01#$
$Rev: 53 $
$Author: nakasima $
*---------------------------------------------------------------------------*/
//
// Scatter Loading Description File Templete
//
#define SDK_ASM
#include <brom/memorymap.h>
LOAD_STATIC HW_FIRM HW_FIRM_SIZE
{
STUP_ENTRY +0
{
*crt0_firm.*o (.emb_text, +FIRST)
#ifdef BROM_DEF_LINK_SCATLD
*crt0scat.*o (.emb_text)
__main.o (+RO)
* (Region$$Table)
* (ZISection$$$Table)
#endif // BROM_DEF_LINK_SCATLD
}
RO +0
{
* (+RO)
}
RW +0
{
* (+RW)
}
ZI +0
{
* (+ZI)
}
BUF_OVER_BARRIER HW_FIRM_END EMPTY 0
{
}
#ifndef BROM_DEF_LINK_SCATLD
DTCM HW_DTCM EMPTY 0
{
}
#else // BROM_DEF_LINK_SCATLD
ITCM (HW_ITCM + 0x100) (HW_ITCM_SIZE - 0x100)
{
* (.itcm)
* (.itcm.bss)
}
DTCM HW_DTCM HW_DTCM_SIZE
{
* (.dtcm)
* (.dtcm.bss)
}
#endif // BROM_DEF_LINK_SCATLD
}