From 40e03fd99305ab3f85dac3b9951e7a9ebf4efbff Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 18 Dec 2013 05:26:54 +0100 Subject: Fix grt_stack_create for darwin/i386 --- translate/grt/config/i386.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'translate/grt/config/i386.S') diff --git a/translate/grt/config/i386.S b/translate/grt/config/i386.S index 5c8aa0d..c742be0 100644 --- a/translate/grt/config/i386.S +++ b/translate/grt/config/i386.S @@ -70,7 +70,8 @@ ENTRY(grt_stack_create) #if __APPLE__ call ___x86.get_pc_thunk.cx L1$pb: - movl L_grt_stack_loop$non_lazy_ptr-L1$pb(%ecx), %eax + movl L_grt_stack_loop$non_lazy_ptr-L1$pb(%ecx), %ecx + movl %ecx,-12(%eax) #else movl $NAME(grt_stack_loop), -12(%eax) #endif -- cgit