aboutsummaryrefslogtreecommitdiff
path: root/alloca86-bt.S
diff options
context:
space:
mode:
authorgrischka <grischka>2008-01-16 20:16:35 +0000
committergrischka <grischka>2008-01-16 20:16:35 +0000
commit3667408a5756a47edcc99d38535f544de7e5867a (patch)
treee03306d2a6337107b656f6b39a1a23b76c46dae8 /alloca86-bt.S
parent5342b32eef56a73dfc9c932bf4c77963de2f6f8e (diff)
downloadtinycc-3667408a5756a47edcc99d38535f544de7e5867a.tar.gz
tinycc-3667408a5756a47edcc99d38535f544de7e5867a.tar.bz2
Just warn about unknown directives, define __STDC_VERSION__=199901L
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