summaryrefslogtreecommitdiff
path: root/macho64/aprofile.s
diff options
context:
space:
mode:
authorJohn van Groningen2015-09-23 11:17:39 +0000
committerJohn van Groningen2015-09-23 11:17:39 +0000
commit5c19d645f853972c4fc92dc965425f35629c0401 (patch)
treea8678a072f230f22a902aafd623fec23922cde0c /macho64/aprofile.s
parentone qword ptr is enough (diff)
use movsxd instead of movsx because the llvm assembler does not support it
Diffstat (limited to 'macho64/aprofile.s')
-rw-r--r--macho64/aprofile.s4
1 files changed, 2 insertions, 2 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