Disable call to __fini as it breaks stuff.

This commit is contained in:
James Benton 2018-05-26 18:18:16 +01:00
parent 9a3cbcd2ef
commit 37228a095d

View File

@ -1,6 +1,5 @@
.extern main
.extern exit
.extern __init_wut_newlibc
.global _start
_start:
@ -11,6 +10,7 @@ _start:
lwz 3, 0(1)
lwz 4, 4(1)
bl main
bl __fini
# Calling __fini is leading to crashes!
# bl __fini
addi 1, 1, 0x8
b exit