1#----------------------------------------------------------------------------
2# Project:  TwlSDK - MB - demos - cloneboot
3# File:     main.lsf
4#
5# Copyright 2004-2008 Nintendo. 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# $Date:: 2008-09-18#$
14# $Rev: 8573 $
15# $Author: okubata_ryoma $
16#----------------------------------------------------------------------------
17#
18#  Twl LCF SPEC FILE
19#
20
21Static $(TARGET_NAME)
22{
23	Address		$(ADDRESS_STATIC)
24	Object		$(OBJS_STATIC)
25	Library		$(LLIBS) $(GLIBS) $(CW_LIBS)
26
27#	Increase capacity of IRQ stack
28	StackSize	0 0x800
29}
30
31Autoload ITCM
32{
33	Address		$(ADDRESS_ITCM)
34	Object		*     		 (.itcm)
35	Object		$(OBJS_AUTOLOAD) (.text)
36	Object		$(OBJS_AUTOLOAD) (.rodata)
37	Object		$(OBJS_AUTOLOAD) (.init)
38	Object		$(OBJS_AUTOLOAD) (.ctor)
39	Object		$(OBJS_AUTOLOAD) (.sinit)
40}
41
42Autoload DTCM
43{
44	Address		$(ADDRESS_DTCM)
45	Object		*     		 (.dtcm)
46	Object		$(OBJS_AUTOLOAD) (.data)
47	Object		$(OBJS_AUTOLOAD) (.sdata)
48	Object		$(OBJS_AUTOLOAD) (.bss)
49	Object		$(OBJS_AUTOLOAD) (.sbss)
50}
51
52Ltdautoload LTDMAIN
53{
54	# If there is a shared overlay for NITRO/TWL, must put it after that
55	After		$(TARGET_NAME)
56	Object		* (.ltdmain)
57	Object		$(OBJS_LTDAUTOLOAD)
58	Library		$(LLIBS_EX) $(GLIBS_EX)
59}
60