1#----------------------------------------------------------------------------
2# Project:  TwlSDK - FS - demos - file-1
3# File:     main.TWL.lsf
4#
5# Copyright 2003-2009 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:: 2009-06-04 #$
14# $Rev: 10698 $
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
28Autoload ITCM
29{
30	Address		$(ADDRESS_ITCM)
31	Object		*     		 (.itcm)
32	Object		$(OBJS_AUTOLOAD) (.text)
33	Object		$(OBJS_AUTOLOAD) (.rodata)
34}
35
36Autoload DTCM
37{
38	Address		$(ADDRESS_DTCM)
39	Object		*     		 (.dtcm)
40	Object		$(OBJS_AUTOLOAD) (.data)
41	Object		$(OBJS_AUTOLOAD) (.sdata)
42	Object		$(OBJS_AUTOLOAD) (.bss)
43	Object		$(OBJS_AUTOLOAD) (.sbss)
44}
45
46Overlay main_overlay_0
47{
48	After		$(TARGET_NAME)
49	Object		$(OBJDIR)/boo.o
50	Object		GROUP(main_overlay_0)
51}
52
53Overlay main_overlay_1
54{
55	After		main_overlay_0
56	Object		$(OBJDIR)/foo.o \
57			$(OBJDIR)/woo.o
58	Object		GROUP(main_overlay_1)
59}
60
61Ltdautoload LTDMAIN
62{
63	# If there is a shared overlay for NITRO/TWL, must put it after that
64	After		$(TARGET_NAME)
65	After		main_overlay_0
66	After		main_overlay_1
67	Object		* (.ltdmain)
68	Object		$(OBJS_LTDAUTOLOAD)
69	Library		$(LLIBS_EX) $(GLIBS_EX)
70}
71