mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-08 12:10:42 +01:00
wutnewlib: Call __fini for global dtors.
main calls __eabi which calls __init, but main doesn't call __fini? y u do this
This commit is contained in:
parent
33bff6ccb9
commit
9a3cbcd2ef
@ -11,5 +11,6 @@ _start:
|
|||||||
lwz 3, 0(1)
|
lwz 3, 0(1)
|
||||||
lwz 4, 4(1)
|
lwz 4, 4(1)
|
||||||
bl main
|
bl main
|
||||||
|
bl __fini
|
||||||
addi 1, 1, 0x8
|
addi 1, 1, 0x8
|
||||||
b exit
|
b exit
|
||||||
|
Loading…
Reference in New Issue
Block a user