diff options
-rw-r--r-- | macho64/aprofile.s | 4 | ||||
-rw-r--r-- | macho64/atrace.s | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/macho64/aprofile.s b/macho64/aprofile.s index b2a6da9..39d200f 100644 --- a/macho64/aprofile.s +++ b/macho64/aprofile.s @@ -536,7 +536,7 @@ write_profile_lp: push rdx - movsx rax,dword ptr (-4)[rdx] + movsxd rax,dword ptr (-4)[rdx] lea rdx,-4[rdx+rax] mov eax,dword ptr [rdx] add rdx,4 @@ -667,7 +667,7 @@ write_functions_on_stack: mov rcx,qword ptr name_[rbx] push rbp - +\ mov edx,dword ptr (-4)[rcx] add rcx,8 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 |