1#----------------------------------------------------------------------------
2# Project:  TwlSDK - include
3# File:     ARM9-TS.lsf
4#
5# Copyright 2007-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) $(CC_LIBS)
26}
27
28Autoload ITCM
29{
30	Address		$(ADDRESS_ITCM)
31	Object		*     		 (.itcm)
32	Object		$(OBJS_AUTOLOAD) (.text)
33	Object		$(OBJS_AUTOLOAD) (.rodata)
34	Object		$(OBJS_AUTOLOAD) (.init)
35	Object		$(OBJS_AUTOLOAD) (.ctor)
36	Object		$(OBJS_AUTOLOAD) (.sinit)
37}
38
39Autoload DTCM
40{
41	Address		$(ADDRESS_DTCM)
42	Object		*     		 (.dtcm)
43	Object		$(OBJS_AUTOLOAD) (.data)
44	Object		$(OBJS_AUTOLOAD) (.sdata)
45	Object		$(OBJS_AUTOLOAD) (.bss)
46	Object		$(OBJS_AUTOLOAD) (.sbss)
47}
48
49Ltdautoload LTDMAIN
50{
51	# If there is a shared overlay for NITRO/TWL, must put it after that
52	After		$(TARGET_NAME)
53	Object		* (.ltdmain)
54	Object		$(OBJS_LTDAUTOLOAD)
55	Library		$(LLIBS_EX) $(GLIBS_EX)
56}
57