decomp-toolkit/assets/ldscript.lcf

26 lines
446 B
Plaintext
Raw Permalink Normal View History

2023-07-21 21:59:07 +00:00
MEMORY
{
text : origin = $ORIGIN
2023-07-21 21:59:07 +00:00
}
SECTIONS
{
GROUP:
{
$SECTIONS
.stack ALIGN(0x100):{}
} > text
2023-08-03 22:57:18 +00:00
_stack_end = $LAST_SECTION_SYMBOL + SIZEOF($LAST_SECTION_NAME);
_stack_addr = (_stack_end + $STACKSIZE + 0x7) & ~0x7;
2023-07-21 21:59:07 +00:00
_db_stack_addr = (_stack_addr + 0x2000);
_db_stack_end = _stack_addr;
__ArenaLo = (_db_stack_addr + 0x1f) & ~0x1f;
__ArenaHi = $ARENAHI;
2023-07-21 21:59:07 +00:00
}
FORCEACTIVE
{
$FORCEACTIVE
2023-07-21 21:59:07 +00:00
}