summaryrefslogtreecommitdiff
path: root/ld_script.txt
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-10-31 16:36:31 -0400
committerGriffinR <griffin.g.richards@gmail.com>2021-10-31 16:39:54 -0400
commitdac4192fd3b875706a7f1ce8bfb97c813ea503de (patch)
treee84759860b79c132aae64d55577776f5b0eed714 /ld_script.txt
parent875be8a8a8e91d4662252f7a91831a2005aa307f (diff)
Split headers from crt0
Diffstat (limited to 'ld_script.txt')
-rw-r--r--ld_script.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld_script.txt b/ld_script.txt
index 3c1a25094..10abd8810 100644
--- a/ld_script.txt
+++ b/ld_script.txt
@@ -47,6 +47,8 @@ SECTIONS {
.text :
ALIGN(4)
{
+ src/rom_header.o(.text);
+ src/rom_header_gf.o(.text);
src/crt0.o(.text);
src/main.o(.text);
gflib/malloc.o(.text);
@@ -435,6 +437,8 @@ SECTIONS {
.rodata :
ALIGN(4)
{
+ src/rom_header.o(.rodata);
+ src/rom_header_gf.o(.rodata);
src/main.o(.rodata);
gflib/bg.o(.rodata);
gflib/window.o(.rodata);