summaryrefslogtreecommitdiff
path: root/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 /macho64/afileIO3.s
parentcall clean_init and clean_fini for shared libraries (diff)
fix positionF for AMD64
Diffstat (limited to 'macho64/afileIO3.s')
-rw-r--r--macho64/afileIO3.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/macho64/afileIO3.s b/macho64/afileIO3.s
index 8246ec7..c59a1cb 100644
--- a/macho64/afileIO3.s
+++ b/macho64/afileIO3.s
@@ -558,10 +558,10 @@ errorF:
ret
positionF:
+ mov rbp,rsp
and rsp,-16
mov r13,rsi
mov r14,rdi
- mov rbp,rsp
mov rdi,rbx
att_call _file_position
mov rsp,rbp