drop alloca #define

(Because GNU's alloca.h unconditionally #undef's alloca)

Also, remove gcc specific sections in headers. and
instead change tests such that gcc does not use them.
This commit is contained in:
grischka
2009-05-16 22:30:13 +02:00
parent 68310299b6
commit 110a4edc15
10 changed files with 27 additions and 37 deletions

View File

@ -694,7 +694,7 @@ static void put_extern_sym2(Sym *sym, Section *section,
case TOK_memset:
case TOK_strlen:
case TOK_strcpy:
case TOK__alloca:
case TOK_alloca:
strcpy(buf, "__bound_");
strcat(buf, name);
name = buf;