1#---------------------------------------------------------------------------- 2# Project: TwlSDK - demos - FS - overlay 3# File: ARM9.TWL-TS.lsf 4# 5# Copyright 2007 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:: 2007-12-05#$ 14# $Rev: 2841 $ 15# $Author: yosizaki $ 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 46# main_overlay_1 and main_overlay_2 are same area (after main). 47# main_overlay_3 is in ITCM (from 0x01FF8000, after ITCM). 48 49Overlay main_overlay_1 50{ 51 After $(TARGET_NAME) 52 Object $(OBJDIR)/func_1.o 53} 54 55Overlay main_overlay_2 56{ 57 After $(TARGET_NAME) 58 Object $(OBJDIR)/func_2.o 59} 60 61Overlay main_overlay_3 62{ 63 After ITCM 64 Object $(OBJDIR)/func_3.o 65} 66