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:
James Benton 2018-05-25 21:20:39 +01:00
parent 33bff6ccb9
commit 9a3cbcd2ef

View File

@ -11,5 +11,6 @@ _start:
lwz 3, 0(1)
lwz 4, 4(1)
bl main
bl __fini
addi 1, 1, 0x8
b exit