From 90c625102c5f3b48982dce846823f226e8da773e Mon Sep 17 00:00:00 2001 From: John van Groningen Date: Fri, 1 Apr 2016 14:29:16 +0000 Subject: fix sfreadc interface for AMD64 --- macho64/afileIO3.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'macho64') 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 -- cgit v1.2.3