From bf6ecaeeb9955218c2d95db40714ea97312c0150 Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Mon, 2 Dec 2013 19:37:28 +0100 Subject: [PATCH] stub: minor cosmetic cleanups. --- src/stub/src/amd64-linux.elf-entry.S | 2 +- src/stub/src/amd64-win64.pep.S | 2 +- src/stub/src/i386-win32.pe.S | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/stub/src/amd64-linux.elf-entry.S b/src/stub/src/amd64-linux.elf-entry.S index 765a3e45..b17f03df 100644 --- a/src/stub/src/amd64-linux.elf-entry.S +++ b/src/stub/src/amd64-linux.elf-entry.S @@ -241,7 +241,7 @@ unfold: */ .byte 0x68; .int JMPU // push $ JMPU (R_X86_64_32) push %rax // for unmap in fold - .byte 0x68; .int LENU // push $ JMPU (R_X86_64_32) + .byte 0x68; .int LENU // push $ LENU (R_X86_64_32) #else push $ JMPU // for unmap in fold push %rax // for unmap in fold diff --git a/src/stub/src/amd64-win64.pep.S b/src/stub/src/amd64-win64.pep.S index b68e1c8d..ac8123be 100644 --- a/src/stub/src/amd64-win64.pep.S +++ b/src/stub/src/amd64-win64.pep.S @@ -265,7 +265,7 @@ section PEK32ORD jmp SHORT(next_imp) not_kernel32: section PEIMORD1 - movzxw rdx, word ptr [rdi] + movzx rdx, word ptr [rdi] add rdi, 2 jmp SHORT(first_imp) diff --git a/src/stub/src/i386-win32.pe.S b/src/stub/src/i386-win32.pe.S index be98a9f5..8a5f4dfb 100644 --- a/src/stub/src/i386-win32.pe.S +++ b/src/stub/src/i386-win32.pe.S @@ -114,7 +114,7 @@ section PEK32ORD jmps next_imp not_kernel32: section PEIMORD1 - movzxw eax, word ptr [edi] + movzx eax, word ptr [edi] inc edi push eax inc edi