aboutsummaryrefslogtreecommitdiff
path: root/alloca86-bt.S
diff options
context:
space:
mode:
Diffstat (limited to 'alloca86-bt.S')
-rw-r--r--alloca86-bt.S7
1 files changed, 5 insertions, 2 deletions
diff --git a/alloca86-bt.S b/alloca86-bt.S
index b6071ff..3fa8a53 100644
--- a/alloca86-bt.S
+++ b/alloca86-bt.S
@@ -1,6 +1,8 @@
/* ---------------------------------------------- */
/* alloca86b.S */
+#include "config.h"
+
.globl __bound__alloca
__bound__alloca:
@@ -11,6 +13,7 @@ __bound__alloca:
and $-4,%eax
jz p6
+#ifdef TCC_TARGET_PE
p4:
cmp $4096,%eax
jle p5
@@ -20,17 +23,17 @@ p4:
jmp p4
p5:
+#endif
+
sub %eax,%esp
mov %esp,%eax
push %edx
push %eax
-
push %ecx
push %eax
call __bound_new_region
add $8, %esp
-
pop %eax
pop %edx