Thanks for the link. The issue you see is caused by
register-clobbering of r10/r11 etc. Those are callee saved-registers.
So you need to save them too.
By adding following lines (without the +):
GSYM_PREFIX`'ecm_redc3:
push %rbp # Push registers
push %rbx
push %rsi
push %rdi
+ push %r10
+ push %r11
....
End:
addq $32, %rsp
+ pop %r11
+ pop %r10
pop %rdi
pop %rsi
pop %rbx
pop %rbp
ret
...
End2:
addq $32, %rsp
+ pop %r11
+ pop %r10
pop %rdi
pop %rsi
pop %rbx
pop %rbp
ret
Your problem should be gone. Please see as reference about registers
and their save-state either msdn x64 ABI documentation, or see the x64
calling-convention page on our Wiki.
Regards,
Kai
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public