Just warn about unknown directives, define __STDC_VERSION__=199901L

This commit is contained in:
grischka
2008-01-16 20:16:35 +00:00
parent 5342b32eef
commit 3667408a57
5 changed files with 39 additions and 17 deletions

View File

@ -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