decomp-toolkit/assets/ldscript.lcf

30 lines
466 B
Plaintext

MEMORY
{
text : origin = 0x80003100
}
SECTIONS
{
GROUP:
{
$SECTIONS
.stack ALIGN(0x100):{}
} > text
_stack_end = $LAST_SECTION_SYMBOL + SIZEOF($LAST_SECTION_NAME);
_stack_addr = (_stack_end + $STACKSIZE + 0x7) & ~0x7;
_db_stack_addr = (_stack_addr + 0x2000);
_db_stack_end = _stack_addr;
__ArenaLo = (_db_stack_addr + 0x1f) & ~0x1f;
__ArenaHi = 0x81700000;
}
FORCEFILES
{
$FORCEFILES
}
FORCEACTIVE
{
}