From b4d01029c32dc1de8eb98355769e91efb791ac2c Mon Sep 17 00:00:00 2001 From: John van Groningen Date: Thu, 26 Oct 2006 15:14:45 +0000 Subject: fix min heap profile by restoring d0 after call_finalisers --- macho/pstartup.a | 3 +++ 1 file changed, 3 insertions(+) diff --git a/macho/pstartup.a b/macho/pstartup.a index 9a39479..319891e 100644 --- a/macho/pstartup.a +++ b/macho/pstartup.a @@ -2947,7 +2947,10 @@ end_garbage_collect_: .endif no_heap_use_message: .if FINALIZERS + stwu d0,-4(sp) bl call_finalizers + lwz d0,0(sp) + addi sp,sp,4 .endif .if WRITE_HEAP -- cgit v1.2.3