summaryrefslogtreecommitdiff
path: root/ld_script.txt
diff options
context:
space:
mode:
authorCleverking2003 <30466983+Cleverking2003@users.noreply.github.com>2020-04-13 20:39:18 +0300
committerGitHub <noreply@github.com>2020-04-13 20:39:18 +0300
commitf9b7d7411b74e29e048ea7d48cf6d8302e50d2d4 (patch)
tree63a748e326bd23a95e22830aa0f1a602aad00f95 /ld_script.txt
parentfba8117ac1edd6b3384500d9bf4a5f940c9d73ed (diff)
parent10b51e114a80206af90478f716181268ce06af9b (diff)
Merge pull request #3 from PikalaxALT/main
Resolve some hardcoded syms in main.s
Diffstat (limited to 'ld_script.txt')
-rw-r--r--ld_script.txt27
1 files changed, 26 insertions, 1 deletions
diff --git a/ld_script.txt b/ld_script.txt
index 33584719..4d20c18e 100644
--- a/ld_script.txt
+++ b/ld_script.txt
@@ -24,8 +24,8 @@ SECTIONS {
BEGIN_SEG(arm9, 0x2000000)
{
build/asm/secure.o(.text);
+ build/asm/entry.o(.text);
build/asm/main.o(.text);
- build/asm/rom.o(.text);
build/src/sub_02000DF4.o(.text);
build/asm/rom2.o(.text);
}
@@ -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)
}