From b1c5c4a4e58793344eb75a8bb374c451cef9825d Mon Sep 17 00:00:00 2001 From: James Benton Date: Thu, 13 Apr 2017 00:44:05 +0100 Subject: [PATCH] Fix trampling of r3,r4 in crt0.S --- crt/crt0.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crt/crt0.S b/crt/crt0.S index bbc4a23..92e64fb 100644 --- a/crt/crt0.S +++ b/crt/crt0.S @@ -5,9 +5,9 @@ .global _start _start: stwu 1, -0x8(1) - bl __init_wut_newlibc stw 3, 0(1) stw 4, 4(1) + bl __init_wut_newlibc bl fsDevInit lwz 3, 0(1) lwz 4, 4(1)