diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2019-07-20 11:51:22 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2019-07-20 11:51:22 -0400 |
commit | 8d0d5cfd557b6c96b61a40c1997cf84a4f8fc3ed (patch) | |
tree | 3a47f1d927c8fc9cb6510de88ed65a8953240bac /ld_script.txt | |
parent | 4a239c4604e42c838e0b0b68f7f59eb4562484a2 (diff) | |
parent | 3f762629e830c0cad66c4efeea5b918bdf4cce20 (diff) |
Merge branch 'master' into modern_gcc
Diffstat (limited to 'ld_script.txt')
-rw-r--r-- | ld_script.txt | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/ld_script.txt b/ld_script.txt index 42a94e9aa..0a08cc75f 100644 --- a/ld_script.txt +++ b/ld_script.txt @@ -3,6 +3,12 @@ ENTRY(Start) gNumMusicPlayers = 4; gMaxLines = 0; +/* Modify the following load addresses as needed to make more room. Alternately, delete both the + declarations below and their references further down to get rid of the gaps. */ + +__anim_mon_load_address = 0x8b00000; +__gfx_load_address = 0x8c00000; + SECTIONS { . = 0x2000000; @@ -1237,27 +1243,13 @@ SECTIONS { data/multiboot_pokemon_colosseum.o(.rodata); } =0 - gap1 : - { - gap1_start = ABSOLUTE(.); - BYTE(0x00) - . = 0x8B00000 - gap1_start; - } =0 - - anim_mon_front_pic_data : + anim_mon_front_pic_data __anim_mon_load_address : ALIGN(4) { src/anim_mon_front_pics.o(.rodata); } =0 - gap2 : - { - gap2_start = ABSOLUTE(.); - BYTE(0x00) - . = 0x8C00000 - gap2_start; - } =0 - - gfx_data : + gfx_data __gfx_load_address : ALIGN(4) { src/graphics.o(.rodata); |