From c33df319084bfe5f778cc7d8229c759ee1ab81a4 Mon Sep 17 00:00:00 2001 From: Amand Tihon Date: Sun, 13 Mar 2011 17:03:06 +0100 Subject: [PATCH] Runtime: Cosmetic changes in x86_64 ASM code, rebuild object file. --- runtime/bold_ibh-x86_64.asm | 5 +++-- runtime/bold_ibh-x86_64.o | Bin 1504 -> 1504 bytes 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/runtime/bold_ibh-x86_64.asm b/runtime/bold_ibh-x86_64.asm index afee6a1..a9a3732 100644 --- a/runtime/bold_ibh-x86_64.asm +++ b/runtime/bold_ibh-x86_64.asm @@ -84,6 +84,7 @@ _bold__ibh_start: lea rdx, [rdx + 16] ; add rdx, 16 xor eax, eax cmp [rdx], eax + ;cmp [rdx], dword 0 ; Gut feeling: would harm compression jnz short .dynamic_loop ; All DYNAMIC entries have been read. @@ -127,13 +128,13 @@ _bold__ibh_start: ; When all is resolved, call main() call main - xchg edi, eax exit: ; Exit cleanly + xchg edi, eax push byte SYS_exit pop rax syscall %assign code_size $ - _bold__ibh_start -%warning "Code size is:" code_size +%warning Code size is: code_size diff --git a/runtime/bold_ibh-x86_64.o b/runtime/bold_ibh-x86_64.o index 44e212f3b7a27790394193f92db8c2601a0c1c1f..b72a08bb7c6cbca470093a90230f6a1a6a230ec0 100644 GIT binary patch delta 17 YcmaFB{eXJ|2Mc4zL`R9uiY)sX0XP-~o&W#< delta 17 YcmaFB{eXJ|2Mc58L`R9uiY)sX0XQE8p8x;= -- 2.39.5