Dolphin sbss fully sorted

finished sorting Dolphin sbss
This commit is contained in:
EpochFlame 2021-10-21 18:02:26 -04:00
parent ae64382db3
commit 5863572518
9 changed files with 49 additions and 31 deletions

View File

@ -1,4 +1,18 @@
.include "macros.inc"
.section .sbss # 0x80514D80 - 0x80516360
.balign 0x8
.global __aborting
__aborting:
.skip 0x4
.global __atexit_curr_func
__atexit_curr_func:
.skip 0x4
.global __stdio_exit
__stdio_exit:
.skip 0x4
.global __console_exit
__console_exit:
.skip 0x4
.section .text, "ax" # 0x800056C0 - 0x80472F00
.global exit

View File

@ -10,6 +10,12 @@ fix_pool_sizes:
.4byte 0x00000034
.4byte 0x00000044
.section .sbss # 0x80514D80 - 0x80516360
.balign 0x8
.global init$193
init$193:
.skip 0x8
.section .text, "ax" # 0x800056C0 - 0x80472F00
.global free
free:

View File

@ -68,6 +68,12 @@ lbl_80479E18:
.4byte 0x325F496E
.4byte 0x69740A00
.section .sbss # 0x80514D80 - 0x80516360
.balign 0x8
.global gIsInitialized
gIsInitialized:
.skip 0x8
.section .text, "ax" # 0x800056C0 - 0x80472F00
.global ddh_cc_initinterrupts
ddh_cc_initinterrupts:

5
asm/Dolphin/errno.s Normal file
View File

@ -0,0 +1,5 @@
.section .sbss # 0x80514D80 - 0x80516360
.balign 0x8
.global errno
errno:
.skip 0x8

View File

@ -1,4 +1,9 @@
.include "macros.inc"
.section .sbss # 0x80514D80 - 0x80516360
.balign 0x8
.global __global_destructor_chain
__global_destructor_chain:
.skip 0x8
.section .text, "ax" # 0x800056C0 - 0x80472F00
.global __destroy_global_chain

View File

@ -1,7 +1,6 @@
.include "macros.inc"
.section .rodata # 0x804732E0 - 0x8049E220
.balign 0x8
.global lbl_80479E30
lbl_80479E30:
.4byte 0x6363206E
@ -69,6 +68,12 @@ lbl_80479EF8:
.4byte 0x325F496E
.4byte 0x69740A00
.section .sbss # 0x80514D80 - 0x80516360
.balign 0x8
.global gIsInitialized_1
gIsInitialized_1:
.skip 0x8
.section .text, "ax" # 0x800056C0 - 0x80472F00
.global gdev_cc_initinterrupts
gdev_cc_initinterrupts:

View File

@ -104,6 +104,12 @@ lbl_80479740:
.4byte 0x00000000
.4byte 0x00000000
.section .sbss # 0x80514D80 - 0x80516360
.balign 0x8
.global gTRKInputPendingPtr
gTRKInputPendingPtr:
.skip 0x8
.section .text, "ax" # 0x800056C0 - 0x80472F00
.global TRKTerminateSerialHandler
TRKTerminateSerialHandler:

View File

@ -939,33 +939,3 @@ init$484:
.global oRandom$483
oRandom$483:
.skip 0x4
.global gTRKInputPendingPtr
gTRKInputPendingPtr:
.skip 0x8
.global gIsInitialized
gIsInitialized:
.skip 0x8
.global gIsInitialized_1
gIsInitialized_1:
.skip 0x8
.global __global_destructor_chain
__global_destructor_chain:
.skip 0x8
.global __aborting
__aborting:
.skip 0x4
.global __atexit_curr_func
__atexit_curr_func:
.skip 0x4
.global __stdio_exit
__stdio_exit:
.skip 0x4
.global __console_exit
__console_exit:
.skip 0x4
.global init$193
init$193:
.skip 0x8
.global errno
errno:
.skip 0x8

View File

@ -284,6 +284,7 @@ TEXT_O_FILES:=\
$(BUILD_DIR)/asm/Dolphin/ctype.o\
$(BUILD_DIR)/src/Dolphin/ctype.o\
$(BUILD_DIR)/asm/Dolphin/direct_io.o\
$(BUILD_DIR)/asm/Dolphin/errno.o\
$(BUILD_DIR)/asm/Dolphin/file_io.o\
$(BUILD_DIR)/asm/Dolphin/FILE_POS.o\
$(BUILD_DIR)/asm/Dolphin/locale.o\