Merge pull request #317 from AnonymousRandomPerson/master
Some checks are pending
GithubCI / build (push) Waiting to run

This commit is contained in:
Seth Barberee
2025-02-03 18:36:01 -08:00
committed by GitHub
3 changed files with 180900 additions and 22967 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -11,13 +11,13 @@ MEMORY
}
SECTIONS {
ewram 0x2000000 (NOLOAD) :
ALIGN(4)
{
ewram_start = .;
data/sound_data.o(.bss);
INCLUDE "sym_ewram.ld"
src/agb_flash.o(.bss);
@@ -28,7 +28,7 @@ SECTIONS {
src/m4a.o(ewram_lib);
src/agb_flash.o(ewram_lib);
*libc.a:sbrkr.o(COMMON);
ewram_end = .;
} > EWRAM
@@ -727,7 +727,7 @@ SECTIONS {
*libc.a:syscalls.o(.rodata);
. = ALIGN(4);
} > ROM =0
ewram_init :
ALIGN(4)
{
@@ -737,29 +737,29 @@ SECTIONS {
*libc.a:impure.o(.data);
*libc.a:locale.o(.data);
*libc.a:mallocr.o(.data);
ewram_init_end = .;
. = 0x2724; /* This doesn't really do anything other than setting following 0x2724 bytes to 0 in rom */
} > EWRAM AT>ROM
EWRAM_INIT_ROM_START = LOADADDR(ewram_init);
iwram_init :
ALIGN(4)
{
iwram_init_start = .;
INCLUDE "sym_iwram_init.ld"
iwram_init_end = .;
} > IWRAM AT>ROM
IWRAM_INIT_ROM_START = LOADADDR(iwram_init);
iwram_lib (NOLOAD) :
ALIGN(4)
{
end = .; /* This is needed for the libc.a function _sbrk */
end = .; /* This is needed for the libc.a function _sbrk */
. = 0x2090;
gUnknown_3004000 = .; /* Used by sub_80001E0 */
} > IWRAM
@@ -770,7 +770,7 @@ SECTIONS {
data/unk_data.o(.rodata);
} > ROM =0
system_sbin_section 0x8300500 :
system_sbin_section :
ALIGN(4)
{
data/system_sbin.o(.rodata);
@@ -794,19 +794,19 @@ SECTIONS {
data/monster_sbin.o(.rodata);
} > ROM =0
effect_sbin_section 0x9740000 :
effect_sbin_section :
ALIGN(4)
{
data/effect_sbin.o(.rodata);
} > ROM =0
ground_sbin_section 0x9890000 :
ground_sbin_section :
ALIGN(4)
{
data/ground_sbin.o(.rodata);
} > ROM =0
ornament_sbin_section 0x9E60000 :
ornament_sbin_section :
ALIGN(4)
{
data/ornament_sbin.o(.rodata);
@@ -1406,7 +1406,7 @@ SECTIONS {
sound/songs/seq_938.o(.rodata);
sound/songs/seq_939.o(.rodata);
} > ROM =0
unk_data_9FBD5D0 :
ALIGN(4)
{