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

@ -3,9 +3,9 @@
#include "../config.h"
.globl __bound__alloca
.globl __bound_alloca
__bound__alloca:
__bound_alloca:
pop %edx
pop %eax
mov %eax, %ecx

View File

@ -3,9 +3,9 @@
#include "../config.h"
.globl _alloca
.globl alloca
_alloca:
alloca:
pop %edx
pop %eax
add $3,%eax