diff options
author | John van Groningen | 2013-04-08 13:55:24 +0000 |
---|---|---|
committer | John van Groningen | 2013-04-08 13:55:24 +0000 |
commit | cd75680efbd5d3c6ffd9ad963e0760e5128a2cbc (patch) | |
tree | d24090d60520f0245bba8b7ce4e66fc9a63951b3 | |
parent | change result type of close_file to long, (diff) |
fix printing string parameter of function IO_error for 64 bit linux
-rw-r--r-- | astartup.asm | 3 |
1 files changed, 2 insertions, 1 deletions
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 |