pokeruby/ld_script.txt

104 lines
2.5 KiB
Plaintext
Raw Normal View History

2016-01-23 12:25:42 -08:00
ENTRY(Start)
2016-05-12 23:30:01 -07:00
gNumMusicPlayers = 4;
gMaxLines = 60;
2016-01-23 12:25:42 -08:00
SECTIONS {
2016-05-12 23:30:01 -07:00
. = 0x3000000;
iwram (NOLOAD) :
2016-04-30 04:19:00 -07:00
ALIGN(4)
{
2016-05-12 23:30:01 -07:00
. = 0xF28;
src/agb_flash.o(.bss);
2016-05-15 07:44:25 -07:00
. = 0xF36;
2016-05-12 23:30:01 -07:00
src/siirtc.o(.bss);
2016-04-30 04:19:00 -07:00
tools/agbcc/lib/libgcc.a:dp-bit.o(.bss);
tools/agbcc/lib/libgcc.a:fp-bit.o(.bss);
2016-05-12 23:30:01 -07:00
src/m4a_2.o(.bss.code);
. = 0x5FD0;
src/m4a_2.o(iwram_data);
2016-04-30 04:19:00 -07:00
}
2016-01-23 12:25:42 -08:00
. = 0x8000000;
.text :
ALIGN(4)
{
asm/crt0.o(.text);
asm/rom1.o(.text);
src/string_util.o(.text);
asm/rom2.o(.text);
src/rtc.o(.text);
asm/rom3.o(.text);
src/play_time.o(.text);
asm/rom4.o(.text);
src/task.o(.text);
asm/rom5.o(.text);
} =0
script_data :
ALIGN(4)
{
data/data1.o(script_data);
} =0
lib_text :
ALIGN(4)
{
asm/libgcnmultiboot.o(.text);
2016-05-12 23:30:01 -07:00
asm/m4a_1.o(.text);
src/m4a_2.o(.text);
asm/m4a_3.o(.text);
src/m4a_4.o(.text);
src/agb_flash.o(.text);
src/agb_flash_1m.o(.text);
src/agb_flash_mx.o(.text);
src/siirtc.o(.text);
asm/libagbsyscall.o(.text);
2016-04-30 04:19:00 -07:00
tools/agbcc/lib/libgcc.a:_call_via_rX.o(.text);
tools/agbcc/lib/libgcc.a:_divsi3.o(.text);
tools/agbcc/lib/libgcc.a:_dvmd_tls.o(.text);
tools/agbcc/lib/libgcc.a:_fixunsdfsi.o(.text);
tools/agbcc/lib/libgcc.a:_fixunssfsi.o(.text);
tools/agbcc/lib/libgcc.a:_modsi3.o(.text);
tools/agbcc/lib/libgcc.a:_muldi3.o(.text);
tools/agbcc/lib/libgcc.a:_udivdi3.o(.text);
tools/agbcc/lib/libgcc.a:_udivsi3.o(.text);
tools/agbcc/lib/libgcc.a:_umodsi3.o(.text);
tools/agbcc/lib/libgcc.a:dp-bit.o(.text);
tools/agbcc/lib/libgcc.a:fp-bit.o(.text);
tools/agbcc/lib/libgcc.a:_lshrdi3.o(.text);
tools/agbcc/lib/libgcc.a:_negdi2.o(.text);
asm/libc.o(.text);
} =0
.rodata :
ALIGN(4)
{
data/data2.o(.rodata);
2016-05-12 23:30:01 -07:00
src/m4a_tables.o(.rodata);
data/sound_data.o(.rodata);
2016-04-30 04:19:00 -07:00
src/agb_flash.o(.rodata);
src/agb_flash_1m.o(.rodata);
src/agb_flash_mx.o(.rodata);
src/agb_flash_le.o(.rodata);
src/siirtc.o(.rodata);
tools/agbcc/lib/libgcc.a:_udivdi3.o(.rodata);
} =0
. = 0x8D00000;
gfx_data :
ALIGN(4)
{
data/graphics.o(gfx_data);
} =0
/* Discard everything not specifically mentioned above. */
/DISCARD/ :
{
*(*);
}
2016-01-23 12:25:42 -08:00
}