summaryrefslogtreecommitdiff
path: root/lib/alloca86.S
diff options
context:
space:
mode:
authorMatteo Cypriani <mcy@lm7.fr>2014-09-05 22:23:49 -0400
committerMatteo Cypriani <mcy@lm7.fr>2014-09-05 22:23:49 -0400
commitc23b49885426f043d0dff7658deb6dc7ef82149d (patch)
treeca45695a2d8f7420e898978f94750a2e934805a2 /lib/alloca86.S
parent494749572823610f5ac6dcc3b3d4afe5ebb6371e (diff)
Imported Upstream version 0.9.27~git20140801.14745bd
Diffstat (limited to 'lib/alloca86.S')
-rw-r--r--lib/alloca86.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/alloca86.S b/lib/alloca86.S
index b836efb..a17e07f 100644
--- a/lib/alloca86.S
+++ b/lib/alloca86.S
@@ -13,10 +13,10 @@ alloca:
#ifdef TCC_TARGET_PE
p1:
cmp $4096,%eax
- jle p2
+ jbe p2
+ test %eax,-4096(%esp)
sub $4096,%esp
sub $4096,%eax
- test %eax,(%esp)
jmp p1
p2:
#endif