From 3667408a5756a47edcc99d38535f544de7e5867a Mon Sep 17 00:00:00 2001 From: grischka Date: Wed, 16 Jan 2008 20:16:35 +0000 Subject: Just warn about unknown directives, define __STDC_VERSION__=199901L --- alloca86-bt.S | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'alloca86-bt.S') 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 -- cgit v1.3.1