summaryrefslogtreecommitdiff
path: root/thread_macho64/afileIO3.s
diff options
context:
space:
mode:
authorJohn van Groningen2016-03-03 10:42:13 +0000
committerJohn van Groningen2016-03-03 10:42:13 +0000
commit0cfb931552ebab2d3a0437fbfe43bd63e85d93b2 (patch)
treee3f59eb63446c3dd17d4ba029d9735687080e572 /thread_macho64/afileIO3.s
parentcall clean_init and clean_fini for shared libraries (diff)
fix positionF for AMD64
Diffstat (limited to 'thread_macho64/afileIO3.s')
-rw-r--r--thread_macho64/afileIO3.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_macho64/afileIO3.s b/thread_macho64/afileIO3.s
index 207f04f..75c0e51 100644
--- a/thread_macho64/afileIO3.s
+++ b/thread_macho64/afileIO3.s
@@ -596,11 +596,11 @@ errorF:
ret
positionF:
+ mov rbp,rsp
and rsp,-16
mov r12,r9
mov r13,rsi
mov r14,rdi
- mov rbp,rsp
mov rdi,rbx
att_call _file_position
mov rsp,rbp