summaryrefslogtreecommitdiff
path: root/macho64/atrace.s
diff options
context:
space:
mode:
Diffstat (limited to 'macho64/atrace.s')
-rw-r--r--macho64/atrace.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/macho64/atrace.s b/macho64/atrace.s
index 4f9bf6d..b60de3b 100644
--- a/macho64/atrace.s
+++ b/macho64/atrace.s
@@ -316,7 +316,7 @@ write_functions_on_stack:
push rbp
.if LINUX
- movsx rdx,dword ptr (-4)[rcx]
+ movsxd rdx,dword ptr (-4)[rcx]
lea rdx,-4[rcx+rdx]
lea rdi,8[rcx]
mov r12,rdx