#---------------------------------------------------------------------------- # Project: TwlSDK - demos - FS - overlay # File: ARM9.TWL-TS.lsf # # Copyright 2007-2008 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:: 2009-10-20#$ # $Rev: 11101 $ # $Author: mizutani_nakaba $ #---------------------------------------------------------------------------- # # TWL LCF SPEC FILE # Static $(TARGET_NAME) { Address $(ADDRESS_STATIC) Object $(OBJS_STATIC) Library $(LLIBS) $(GLIBS) $(CW_LIBS) } Autoload ITCM { Address $(ADDRESS_ITCM) Object * (.itcm) Object $(OBJS_AUTOLOAD) (.text) Object $(OBJS_AUTOLOAD) (.rodata) } Autoload DTCM { Address $(ADDRESS_DTCM) Object * (.dtcm) Object $(OBJS_AUTOLOAD) (.data) Object $(OBJS_AUTOLOAD) (.sdata) Object $(OBJS_AUTOLOAD) (.bss) Object $(OBJS_AUTOLOAD) (.sbss) } # main_overlay_1 and main_overlay_2 are same area (after main). # main_overlay_3 is in ITCM (from 0x01FF8000, after ITCM). Overlay main_overlay_1 { After $(TARGET_NAME) Object $(OBJDIR)/func_1.o } Overlay main_overlay_2 { After $(TARGET_NAME) Object $(OBJDIR)/func_2.o Compress SMART } Overlay main_overlay_3 { After ITCM Object $(OBJDIR)/func_3.o Compress EXCLUSION } Ltdautoload LTDMAIN { # If there is a shared overlay for NITRO/TWL, must put it after that After $(TARGET_NAME) After main_overlay_1 After main_overlay_2 After main_overlay_3 Object * (.ltdmain) Object $(OBJS_LTDAUTOLOAD) Library $(LLIBS_EX) $(GLIBS_EX) }