From f2ee6b1759af005a060d638676a3e12ab8e42f9d Mon Sep 17 00:00:00 2001 From: Carlos Montiers Date: Thu, 10 Jul 2014 20:41:51 -0400 Subject: Fix mistake. Change jb by jbe. tiny c round (INT_MAX = 0x7FFFFFFF) to a DWORD boundary and it becomes 0x80000000. Jle treats as -214783648, but Jbe treats as 214783648. Thanks to Jason Hood for explain me this. --- lib/alloca86.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/alloca86.S') diff --git a/lib/alloca86.S b/lib/alloca86.S index 5bb38b1..a17e07f 100644 --- a/lib/alloca86.S +++ b/lib/alloca86.S @@ -13,7 +13,7 @@ alloca: #ifdef TCC_TARGET_PE p1: cmp $4096,%eax - jb p2 + jbe p2 test %eax,-4096(%esp) sub $4096,%esp sub $4096,%eax -- cgit v1.3.1