summaryrefslogtreecommitdiff
path: root/macho64
diff options
context:
space:
mode:
authorJohn van Groningen2016-04-01 14:29:16 +0000
committerJohn van Groningen2016-04-01 14:29:16 +0000
commit90c625102c5f3b48982dce846823f226e8da773e (patch)
tree1a5519778119a4810fe4eebc11311518e1749ca4 /macho64
parentfix unsaturated curried apply of 3 arguments on ARM (diff)
fix sfreadc interface for AMD64
Diffstat (limited to 'macho64')
-rw-r--r--macho64/afileIO3.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/macho64/afileIO3.s b/macho64/afileIO3.s
index c59a1cb..8da450a 100644
--- a/macho64/afileIO3.s
+++ b/macho64/afileIO3.s
@@ -654,11 +654,11 @@ readSFC:
mov rsi,r13
mov rdi,r14
- cmp rax,-1
+ cmp eax,-1
je readSFC_eof
+ mov r10d,eax
pop rax
- mov r10,rax
mov r11,1
ret