From 2c155bad487f4a5ae4da88e4238a88cc9294bea3 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Thu, 13 Oct 2022 08:36:07 -0700 Subject: [PATCH] Separate stack size increase and comment to make clearer --- ldscript.lcf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldscript.lcf b/ldscript.lcf index 748fd778..5436fef0 100644 --- a/ldscript.lcf +++ b/ldscript.lcf @@ -24,7 +24,7 @@ SECTIONS } > text /* Stack size upped from the default of 65535 */ - _stack_addr = (_f_sbss2 + SIZEOF(.sbss2) + 68608 + 0x7) & ~0x7; + _stack_addr = (_f_sbss2 + SIZEOF(.sbss2) + 65535 + 3073 /* Retro Addition */ + 0x7) & ~0x7; _stack_end = _f_sbss2 + SIZEOF(.sbss2); _db_stack_addr = (_stack_addr + 0x2000); _db_stack_end = _stack_addr;