pokeemerald/ld_script.txt

150 lines
3.6 KiB
Plaintext
Raw Normal View History

ENTRY(Start)
2016-09-03 10:11:14 +02:00
gNumMusicPlayers = 4;
gMaxLines = 60;
SECTIONS {
2016-09-03 10:11:14 +02:00
. = 0x2020000;
ewram (NOLOAD) :
ALIGN(4)
{
}
. = 0x3000000;
iwram (NOLOAD) :
ALIGN(4)
{
2016-09-03 13:11:10 +02:00
. = 0x1A80;
tools/agbcc/lib/libgcc.a:dp-bit.o(.bss);
tools/agbcc/lib/libgcc.a:fp-bit.o(.bss);
2016-09-03 10:11:14 +02:00
}
. = 0x8000000;
2016-09-03 10:11:14 +02:00
.text :
ALIGN(4)
{
asm/crt0.o(.text);
asm/main.o(.text);
src/malloc.o(.text);
asm/dma3_manager.o(.text);
src/gpu_regs.o(.text);
asm/gpu_bg.o(.text);
asm/pixel_buffer.o(.text);
asm/window.o(.text);
asm/text_renderer.o(.text);
asm/gpu_obj.o(.text);
asm/string_util.o(.text);
asm/rom_80093CC.o(.text);
asm/rtc.o(.text);
asm/main_menu.o(.text);
asm/rom_8032654.o(.text);
asm/tileset_animation.o(.text);
asm/rom_80A18F4.o(.text);
asm/task.o(.text);
asm/rom_80A92F4.o(.text);
asm/multiboot.o(.text);
asm/rom_81BAD84.o(.text);
} =0
script_data :
ALIGN(4)
{
2016-09-03 19:20:06 +02:00
data/event_scripts.o(script_data);
data/battle_anim_scripts.o(script_data);
data/battle_scripts_1.o(script_data);
data/field_effect_scripts.o(script_data);
data/battle_scripts_2.o(script_data);
data/battle_ai_scripts.o(script_data);
data/contest_ai_scripts.o(script_data);
data/script_funcs.o(script_data);
2016-09-03 10:11:14 +02:00
} =0
lib_text :
ALIGN(4)
{
asm/libgcnmultiboot.o(.text);
asm/libmks4agb.o(.text);
asm/libagbbackup.o(.text);
asm/librtc.o(.text);
asm/librfu.o(.text);
asm/libagbsyscall.o(.text);
2016-09-03 13:11:10 +02:00
tools/agbcc/lib/libgcc.a:_call_via_rX.o(.text);
tools/agbcc/lib/libgcc.a:_divdi3.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);
2016-09-03 10:11:14 +02:00
asm/libc.o(.text);
} =0
.rodata :
ALIGN(4)
{
data/data2.o(.rodata);
2016-09-03 18:25:58 +02:00
data/m4a_tables.o(.rodata);
data/sound_data.o(.rodata);
2016-09-03 10:11:14 +02:00
} =0
2016-09-03 13:11:10 +02:00
lib_rodata :
ALIGN(4)
{
2016-09-03 18:25:58 +02:00
data/libagbbackup_rodata.o(.rodata);
data/librtc_rodata.o(.rodata);
2016-09-03 13:29:59 +02:00
data/librfu_rodata.o(.rodata);
2016-09-03 13:11:10 +02:00
tools/agbcc/lib/libgcc.a:_divdi3.o(.rodata);
tools/agbcc/lib/libgcc.a:_udivdi3.o(.rodata);
} =0
other_data :
ALIGN(4)
{
data/unknown_serial_data.o(.rodata);
data/multiboot_berry_glitch_fix.o(.rodata);
data/multiboot_pokemon_colosseum.o(.rodata);
} =0
2016-09-03 12:03:50 +02:00
gap1 :
{
gap1_start = ABSOLUTE(.);
BYTE(0x00)
. = 0x8B00000 - gap1_start;
} =0
anim_mon_front_pic_data :
ALIGN(4)
{
data/anim_mon_front_pics.o(anim_mon_front_pic_data);
} =0
gap2 :
{
gap2_start = ABSOLUTE(.);
BYTE(0x00)
. = 0x8C00000 - gap2_start;
} =0
gfx_data :
ALIGN(4)
{
data/graphics.o(gfx_data);
} =0
2016-09-03 10:11:14 +02:00
/* Discard everything not specifically mentioned above. */
/DISCARD/ :
{
*(*);
}
}