diff options
author | John van Groningen | 2013-04-08 14:34:16 +0000 |
---|---|---|
committer | John van Groningen | 2013-04-08 14:34:16 +0000 |
commit | 20eb18a41a2b3a5470df1b6a8f662877803a97ee (patch) | |
tree | c8940b71b97b2ab9fcf25e69f3309c4bbfba0ad3 /macho64 | |
parent | fix printing string parameter of function IO_error for 64 bit linux (diff) |
fix printing string parameter of function IO_error for mac os x
Diffstat (limited to 'macho64')
-rw-r--r-- | macho64/astartup.s | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/macho64/astartup.s b/macho64/astartup.s index 55e5027..31bfce3 100644 --- a/macho64/astartup.s +++ b/macho64/astartup.s @@ -3108,10 +3108,11 @@ _IO_error: mov rbp,rsp and rsp,-16 - mov rbx,rcx .if LINUX + mov rbx,rdi lea rdi,IO_error_string[rip] .else + mov rbx,rcx sub rsp,32 lea rcx,IO_error_string .endif |