From b84af27a867afd7147835765262d09806bb7c39e Mon Sep 17 00:00:00 2001 From: John Reiser Date: Sun, 1 Oct 2006 16:19:17 -0700 Subject: [PATCH] typo "pop %eax" [not caught by assembler?] --- src/stub/src/amd64-linux.elf-fold.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stub/src/amd64-linux.elf-fold.S b/src/stub/src/amd64-linux.elf-fold.S index 15c13d31..ceaa6520 100644 --- a/src/stub/src/amd64-linux.elf-fold.S +++ b/src/stub/src/amd64-linux.elf-fold.S @@ -88,7 +88,7 @@ L90: movl $4096,%arg3l # buflen movq %rdi,%arg2 # buffer movq %arg6,%arg1 # "/proc/self/exe" - push $ __NR_readlink; pop %eax + push $ __NR_readlink; pop %rax syscall; testl %eax,%eax; js 0f; movb $0,(%arg2,%rax) 0: addq $ L90b - L90a,%arg6 # &amdbxx: f_unfilter