diff options
author | Tristan Gingold | 2013-12-18 05:26:54 +0100 |
---|---|---|
committer | Tristan Gingold | 2013-12-18 05:26:54 +0100 |
commit | 40e03fd99305ab3f85dac3b9951e7a9ebf4efbff (patch) | |
tree | b8dc2f9be0bfd172be8bf0a23798c4c9a6cf9328 /translate/grt/config/i386.S | |
parent | 48448a12ef628218db298d8b7c6879e28cdd019a (diff) | |
download | ghdl-40e03fd99305ab3f85dac3b9951e7a9ebf4efbff.tar.gz ghdl-40e03fd99305ab3f85dac3b9951e7a9ebf4efbff.tar.bz2 ghdl-40e03fd99305ab3f85dac3b9951e7a9ebf4efbff.zip |
Fix grt_stack_create for darwin/i386
Diffstat (limited to 'translate/grt/config/i386.S')
-rw-r--r-- | translate/grt/config/i386.S | 3 |
1 files changed, 2 insertions, 1 deletions
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 |