Merge pull request #1 from encounter/fix

Fix DOL link issues
This commit is contained in:
InputEvelution
2023-09-23 21:36:28 +09:30
committed by GitHub
4 changed files with 30 additions and 3 deletions

View File

@@ -3,6 +3,7 @@ hash: 93b41984897b3f1622dcf56a56d89b56a85bb47f
symbols: config/SUPP01/symbols.txt
splits: config/SUPP01/splits.txt
mw_comment_version: 15 # GC Linker 3.0
ldscript_template: config/SUPP01/ldscript.tpl
modules:
- object: orig/SUPP01/rel/boot.rel

View File

@@ -0,0 +1,25 @@
MEMORY
{
text : origin = $ORIGIN
}
SECTIONS
{
GROUP:
{
$SECTIONS
.stack ALIGN(0x100):{}
} > text
_stack_end = _f_sbss2 + SIZEOF(.sbss2);
_stack_addr = (_stack_end + 0x10000 + 0x7) & ~0x7;
_db_stack_addr = (_stack_addr + 0x2000);
_db_stack_end = _stack_addr;
__ArenaLo = _db_stack_addr; // Originally (_db_stack_addr + 0x1f) & ~0x1f
__ArenaHi = $ARENAHI;
}
FORCEACTIVE
{
$FORCEACTIVE
}

View File

@@ -19,6 +19,7 @@ Runtime.PPCEABI.H/global_destructor_chain.c:
Runtime.PPCEABI.H/__init_cpp_exceptions.cpp:
.text start:0x801C89AC end:0x801C8A1C
.ctors start:0x801DD000 end:0x801DD004
.dtors start:0x801DD0C0 end:0x801DD0C8
.ctors start:0x801DD000 end:0x801DD004 rename:.ctors$10
.dtors start:0x801DD0C0 end:0x801DD0C4 rename:.dtors$10
.dtors start:0x801DD0C4 end:0x801DD0C8 rename:.dtors$15
.sdata start:0x802F5CF0 end:0x802F5CF8

View File

@@ -143,7 +143,7 @@ LIBS = []
# Tool versions
COMPILERS_TAG = "1"
DTK_TAG = "v0.5.2"
DTK_TAG = "v0.5.3"
SJISWRAP_TAG = "v1.1.1"
WIBO_TAG = "0.5.1"