summaryrefslogtreecommitdiff
path: root/config/RZDP01
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-12-23 00:55:51 -0500
committerGitHub <noreply@github.com>2025-12-22 21:55:51 -0800
commitce895330ed994de32f55a17a3d2dc5dbbb2ccb9b (patch)
treea6e8e9c81d1e032eeba257b556caa7b08350344f /config/RZDP01
parent9767e76ba049ce20ac0d2236758f050bcd36d90f (diff)
Add missing RVL .init splits (#2989)
* Fix Debug_BBA being in the wrong split for GCN * Add .init splits/symbols for Wii versions * Fix incorrect relocations detected to __check_pad3 for Wii * Add .init splits and fix __check_pad3 for Shield versions
Diffstat (limited to 'config/RZDP01')
-rw-r--r--config/RZDP01/config.yml4
-rw-r--r--config/RZDP01/splits.txt13
-rw-r--r--config/RZDP01/symbols.txt17
3 files changed, 25 insertions, 9 deletions
diff --git a/config/RZDP01/config.yml b/config/RZDP01/config.yml
index 1348dd55c4..2439a78d64 100644
--- a/config/RZDP01/config.yml
+++ b/config/RZDP01/config.yml
@@ -13,6 +13,10 @@ force_active: [
_MetroTRK_Has_Framing,
]
+block_relocations:
+- source: .text:0x8032f778
+- source: .text:0x8032f7f0
+
modules:
- object: files/RELS.arc:mmem/f_pc_profile_lst.rel
hash: 55347a0f55d15a6901d297ee3e198b76cb8242ee
diff --git a/config/RZDP01/splits.txt b/config/RZDP01/splits.txt
index 72593255ea..51998fba6d 100644
--- a/config/RZDP01/splits.txt
+++ b/config/RZDP01/splits.txt
@@ -3167,7 +3167,11 @@ revolution/os/OSStateTM.c:
.text start:0x8033A9F0 end:0x8033B0E4
.data start:0x80424FE8 end:0x804250B0
.bss start:0x804D24E0 end:0x804D25A0
- .sbss start:0x80521C98 end:0x80521CC0
+ .sbss start:0x80521C98 end:0x80521CB8
+
+revolution/os/__start.c:
+ .init start:0x80004000 end:0x800042E0
+ .sbss start:0x80521CB8 end:0x80521CC0
revolution/os/OSPlayRecord.c:
.text start:0x8033B0E4 end:0x8033B7BC
@@ -3181,6 +3185,7 @@ revolution/os/OSStateFlags.c:
.bss start:0x804D27A0 end:0x804D27C0
revolution/os/__ppc_eabi_init.cpp:
+ .init start:0x800042E0 end:0x80004338
.text start:0x8033B9B4 end:0x8033BA68
revolution/exi/EXIBios.c:
@@ -3918,6 +3923,7 @@ revolution/gd/GDGeometry.c:
.data start:0x80431088 end:0x804310F0
PowerPC_EABI_Support/Runtime/Src/__mem.c:
+ .init start:0x80004338 end:0x8000446C
.text start:0x803A89F4 end:0x803A8A10
PowerPC_EABI_Support/Runtime/Src/__va_arg.c:
@@ -4260,6 +4266,7 @@ TRK_MINNOW_DOLPHIN/debugger/embedded/MetroTRK/Processor/ppc/Generic/flush_cache.
.text start:0x803B57D4 end:0x803B580C
TRK_MINNOW_DOLPHIN/debugger/embedded/MetroTRK/Portable/mem_TRK.c:
+ .init start:0x8000446C end:0x800044C0
.text start:0x803B580C end:0x803B58C4
TRK_MINNOW_DOLPHIN/debugger/embedded/MetroTRK/Portable/string_TRK.c:
@@ -4280,7 +4287,11 @@ TRK_MINNOW_DOLPHIN/debugger/embedded/MetroTRK/Processor/ppc/Generic/mpc_7xx_603e
TRK_MINNOW_DOLPHIN/debugger/embedded/MetroTRK/Export/mslsupp.c:
.text start:0x803B7690 end:0x803B7808
+TRK_MINNOW_DOLPHIN/debugger/embedded/MetroTRK/Processor/ppc/Generic/exception.s:
+ .init start:0x800044C0 end:0x800063F4
+
TRK_MINNOW_DOLPHIN/debugger/embedded/MetroTRK/Os/dolphin/dolphin_trk.c:
+ .init start:0x800063F4 end:0x80006420
.text start:0x803B7808 end:0x803B7B24
.data start:0x804318C0 end:0x80431900
.bss start:0x8051D960 end:0x8051D968
diff --git a/config/RZDP01/symbols.txt b/config/RZDP01/symbols.txt
index 694c5b2595..570d80796b 100644
--- a/config/RZDP01/symbols.txt
+++ b/config/RZDP01/symbols.txt
@@ -1,20 +1,21 @@
__check_pad3 = .init:0x80004000; // type:function size:0x28 scope:local
__set_debug_bba = .init:0x80004028; // type:function size:0xC scope:local
-__get_debug_bba = .init:0x80004034; // type:function scope:local
+__get_debug_bba = .init:0x80004034; // type:function size:0x8 scope:local
__start = .init:0x8000403C; // type:function size:0x16C scope:weak
__init_registers = .init:0x800041A8; // type:function size:0x90 scope:local
__init_data = .init:0x80004238; // type:function size:0xA8 scope:local
__init_hardware = .init:0x800042E0; // type:function size:0x24 scope:global
-__flush_cache = .init:0x80004304; // type:function scope:global
-memcpy = .init:0x80004338; // type:function scope:global
-__fill_mem = .init:0x80004388; // type:function scope:global
+__flush_cache = .init:0x80004304; // type:function size:0x34 scope:global
+memcpy = .init:0x80004338; // type:function size:0x50 scope:global
+__fill_mem = .init:0x80004388; // type:function size:0xB4 scope:global
memset = .init:0x8000443C; // type:function size:0x30 scope:global
-lbl_8000446C = .init:0x8000446C; // type:label
-lbl_8000449C = .init:0x8000449C; // type:label
-lbl_800044C0 = .init:0x800044C0; // type:label
+TRK_memset = .init:0x8000446C; // type:function size:0x30 scope:global align:4
+TRK_memcpy = .init:0x8000449C; // type:function size:0x24 scope:global align:4
+gTRKInterruptVectorTable = .init:0x800044C0; // type:label scope:global
lbl_80004600 = .init:0x80004600; // type:label
lbl_80005400 = .init:0x80005400; // type:label
-lbl_800063F4 = .init:0x800063F4; // type:label
+__TRK_reset = .init:0x800063F4; // type:function size:0x2C scope:global align:4
+gTRKInterruptVectorTableEnd = .init:0x800063F4; // type:label scope:global
_rom_copy_info = .init:0x80006420; // type:object size:0x84 scope:global data:4byte
_bss_init_info = .init:0x800064A4; // type:object size:0x20 scope:global data:4byte
@etb_800064E0 = extab:0x800064E0; // type:object size:0x18 scope:local hidden