summaryrefslogtreecommitdiff
path: root/ld_script.txt
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2017-02-03 16:44:06 -0800
committerYamaArashi <shadow962@live.com>2017-02-03 16:44:06 -0800
commite2b834d21d96332c5bcf788b390a09e285c7a5cb (patch)
tree03034791bdc8e08ccbeeec1bce4777305c46e486 /ld_script.txt
parentae1f731e60360437044c724675627c56bf404f25 (diff)
begin decompiling main.s
Diffstat (limited to 'ld_script.txt')
-rw-r--r--ld_script.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/ld_script.txt b/ld_script.txt
index 05f72c340..c35695dbf 100644
--- a/ld_script.txt
+++ b/ld_script.txt
@@ -9,6 +9,8 @@ SECTIONS {
ewram (NOLOAD) :
ALIGN(4)
{
+ gHeap = .;
+
. = 0x20000;
<EWRAM>
@@ -39,6 +41,7 @@ SECTIONS {
ALIGN(4)
{
asm/crt0.o(.text);
+ src/main.o(.text);
asm/main.o(.text);
src/malloc.o(.text);
asm/dma3_manager.o(.text);
@@ -251,7 +254,7 @@ SECTIONS {
.rodata :
ALIGN(4)
{
- data/main.o(.rodata);
+ src/main.o(.rodata);
data/bg.o(.rodata);
data/window.o(.rodata);
data/text.o(.rodata);