summaryrefslogtreecommitdiff
path: root/pokediamond.lcf
diff options
context:
space:
mode:
Diffstat (limited to 'pokediamond.lcf')
-rw-r--r--pokediamond.lcf77
1 files changed, 5 insertions, 72 deletions
diff --git a/pokediamond.lcf b/pokediamond.lcf
index da357c97..452afd17 100644
--- a/pokediamond.lcf
+++ b/pokediamond.lcf
@@ -1,12 +1,7 @@
/* TEST */
MEMORY {
header (RWX) : ORIGIN=0, LENGTH=0
- arm9.text (RWX) : ORIGIN=0x02000000, LENGTH=0
- arm9.data (RWX) : ORIGIN=0x020EC710, LENGTH=0
- arm9.itcm (RWX) : ORIGIN=0x01FF8000, LENGTH=0x8000
- arm9.dtcm (RWX) : ORIGIN=0x027E0000, LENGTH=0x2000
- arm9.autoload (RWX) : ORIGIN=0x02107700, LENGTH=0
- arm9overlay (RWX) : ORIGIN=0, LENGTH=0
+ arm9 (RWX) : ORIGIN=0x02000000, LENGTH=0
arm7 (RWX) : ORIGIN=0x2380000, LENGTH=0
filenametable (RWX) : ORIGIN=0, LENGTH=0
fileallocationtable (RWX) : ORIGIN=0, LENGTH=0
@@ -377,72 +372,10 @@ SECTIONS {
} > header
.arm9 : AT (0x4000) {
- secure.o (.text)
- crt0.o (.text)
- main.o (.text)
- FUN_02000DF4.o (.text)
- unk_02000E0C.o (.text)
- string_util.o (.text)
- unk_020023C0.o (.text)
- filesystem.o (.text)
- unk_02006864.o (.text)
- script.o (.text)
- unk_02038C78.o (.text)
- scrcmd.o (.text)
- unk_02046030.o (.text)
- unk_0208AC14.o (.text)
- unk_020AF030.o (.text)
- /* SDK */
- GX_arm9.o (.text)
- OS_arm9.o (.text)
- MI_arm9.o (.text)
- SND_arm9.o (.text)
- PXI_arm9.o (.text)
- FS_arm9.o (.text)
- DGT_arm9.o (.text)
- CP_arm9.o (.text)
- SPI_arm9.o (.text)
- PM_arm9.o (.text)
- RTC_arm9.o (.text)
- CARD_arm9.o (.text)
- WM_arm9.o (.text)
- CTRDG_arm9.o (.text)
- MATH_arm9.o (.text)
- STD_arm9.o (.text)
- } > arm9.text
-
- .arm9.data : AT (0xF0710) {
- rom2.o (.data)
- string_util.o (.data)
- rom2_2.o (.data)
- } > arm9.data
-
- SDK_AUTOLOAD_START = .;
- SDK_STATIC_BSS_START = .;
- SDK_STATIC_BSS_END = . + 0xd0540;
-
- .arm9.itcm : AT (0x10AFA0)
- {
- arm9_itcm.o (.itcm)
- . = 0x01FF8720;
- SDK_SECTION_ARENA_ITCM_START = .;
- } > arm9.itcm
-
- .arm9.dtcm : AT (0x10B6A0) {
- SDK_AUTOLOAD_DTCM_START = .;
- OS_arm9.o (.dtcm)
- . = 0x027E0080;
- SDK_SECTION_ARENA_DTCM_START = .;
- } > arm9.dtcm
-
- .arm9.autoload : AT (0x10B700) {
- SDK_AUTOLOAD_LIST.o (.data)
- unk_10b724.o (.text)
- } > arm9.autoload
-
- .arm9overlay : AT (0x10B800) {
- arm9overlay.o (.text)
- } > arm9overlay
+ _start = .;
+ _start_AutoloadDoneCallback = . + 0xA74;
+ INCLUDE arm9.bin
+ } > arm9
.FILE_10C400 : AT (0x10C400) {
FILE_10C400.o (.text) /* 0x10C400 */