summaryrefslogtreecommitdiff
path: root/ld_script.txt
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2020-04-13 08:56:02 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2020-04-13 08:56:02 -0400
commit10b51e114a80206af90478f716181268ce06af9b (patch)
tree63a748e326bd23a95e22830aa0f1a602aad00f95 /ld_script.txt
parent4e18addc9e835fb38428a21c68e09bdcd6483b30 (diff)
Fill out the header fields, 1
Diffstat (limited to 'ld_script.txt')
-rw-r--r--ld_script.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/ld_script.txt b/ld_script.txt
index ff0b1b18..4d20c18e 100644
--- a/ld_script.txt
+++ b/ld_script.txt
@@ -36,4 +36,29 @@ SECTIONS {
build/asm/rom3.o(.text);
}
END_SEG(rom3)
+
+ BEGIN_SEG(gap1, 0x2000000 + SIZEOF(rom3) + SIZEOF(arm9))
+ {
+ build/asm/gap1.o(.text);
+ }
+ END_SEG(gap1)
+
+ BEGIN_SEG(arm7, 0x02380000)
+ {
+ build/asm/arm7_rom.o(.text);
+ }
+ END_SEG(arm7)
+
+ BEGIN_SEG(gap2, 0x02380000 + SIZEOF(arm7))
+ {
+ build/asm/gap2.o(.text)
+ }
+ END_SEG(gap2)
+
+ . = 0x336400;
+ BEGIN_SEG(FileNameTable, 0x02400000)
+ {
+ build/asm/filenametable.o(.text);
+ }
+ END_SEG(FileNameTable)
}