From cd75680efbd5d3c6ffd9ad963e0760e5128a2cbc Mon Sep 17 00:00:00 2001 From: John van Groningen Date: Mon, 8 Apr 2013 13:55:24 +0000 Subject: fix printing string parameter of function IO_error for 64 bit linux --- astartup.asm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/astartup.asm b/astartup.asm index 4690725..5967db2 100644 --- a/astartup.asm +++ b/astartup.asm @@ -3017,10 +3017,11 @@ IO_error: mov rbp,rsp and rsp,-16 - mov rbx,rcx ifdef LINUX + mov rbx,rdi lea rdi,IO_error_string else + mov rbx,rcx sub rsp,32 lea rcx,IO_error_string endif -- cgit v1.2.3