mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-08 12:00:39 +01:00
Disable call to __fini as it breaks stuff.
This commit is contained in:
parent
9a3cbcd2ef
commit
37228a095d
@ -1,6 +1,5 @@
|
|||||||
.extern main
|
.extern main
|
||||||
.extern exit
|
.extern exit
|
||||||
.extern __init_wut_newlibc
|
|
||||||
|
|
||||||
.global _start
|
.global _start
|
||||||
_start:
|
_start:
|
||||||
@ -11,6 +10,7 @@ _start:
|
|||||||
lwz 3, 0(1)
|
lwz 3, 0(1)
|
||||||
lwz 4, 4(1)
|
lwz 4, 4(1)
|
||||||
bl main
|
bl main
|
||||||
bl __fini
|
# Calling __fini is leading to crashes!
|
||||||
|
# bl __fini
|
||||||
addi 1, 1, 0x8
|
addi 1, 1, 0x8
|
||||||
b exit
|
b exit
|
||||||
|
Loading…
Reference in New Issue
Block a user