pokepinballrs/ld_script.txt
2019-08-04 10:34:11 -05:00

78 lines
1.7 KiB
Plaintext
Executable File

SECTIONS
{
/* start of ewram */
. = 0x02000000;
ewram (NOLOAD) :
ALIGN(4)
{
<EWRAM>
/* COMMON starts at ??? */
<COMMON>
}
/* start of iwram */
. = 0x03000000;
iwram (NOLOAD) :
ALIGN(4)
{
/* .bss starts at 0x3000000 */
<BSS>
/* .bss.code starts at 0x3007400 */
src/m4a.o(.bss.code);
. = 0x8000;
}
/* start of ROM */
. = 0x08000000;
.text :
{
asm/start.o(.text);
src/util.o(.text);
src/rom_850.o(.text);
src/main.o(.text);
src/gbplayer.o(.text);
asm/rom_9BC.o(.text);
asm/bonus_field_select.o(.text);
asm/ereader.o(.text);
asm/pokedex.o(.text);
asm/field_select.o(.text);
asm/intro.o(.text);
asm/high_scores.o(.text);
asm/rom_1068C.o(.text);
src/titlescreen.o(.text);
asm/titlescreen.o(.text);
asm/rom_11B9C.o(.text);
src/rom_3219C.o(.text);
asm/rom_3219C.o(.text);
asm/options.o(.text);
asm/rom_528AC.o(.text);
asm/m4a_1.o(.text);
src/m4a.o(.text);
asm/libagbsyscall.o(.text);
asm/unknown_lib.o(.text);
*libgcc.a:_call_via_rX.o(.text);
*libgcc.a:_divsi3.o(.text);
*libgcc.a:_dvmd_tls.o(.text);
*libgcc.a:_modsi3.o(.text);
*libgcc.a:_udivsi3.o(.text);
*libgcc.a:_umodsi3.o(.text);
*libc.a:memcpy.o(.text);
*libc.a:memset.o(.text);
asm/unknown_lib_2.o(.text);
}=0
.rodata :
{
data/rom.o(.rodata)
}=0xFF
/* Discard everything not specifically mentioned above. */
/DISCARD/ :
{
*(*);
}
}
INCLUDE ../../undefined_rom.txt