diff options
| author | grischka <grischka> | 2009-05-16 22:30:13 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2009-05-16 22:30:13 +0200 |
| commit | 110a4edc154f6fb73ef3d312630455f68641123f (patch) | |
| tree | 341bfb7efbeacd9cf78ae351d2ed931df7f03d08 /lib | |
| parent | 68310299b67bef763ba1622dac2aec534e096bf1 (diff) | |
| download | tinycc-110a4edc154f6fb73ef3d312630455f68641123f.tar.gz tinycc-110a4edc154f6fb73ef3d312630455f68641123f.tar.bz2 | |
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.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/alloca86-bt.S | 4 | ||||
| -rw-r--r-- | lib/alloca86.S | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/alloca86-bt.S b/lib/alloca86-bt.S index 037c845..994da20 100644 --- a/lib/alloca86-bt.S +++ b/lib/alloca86-bt.S @@ -3,9 +3,9 @@ #include "../config.h" -.globl __bound__alloca +.globl __bound_alloca -__bound__alloca: +__bound_alloca: pop %edx pop %eax mov %eax, %ecx diff --git a/lib/alloca86.S b/lib/alloca86.S index 3d5eb61..fb208a0 100644 --- a/lib/alloca86.S +++ b/lib/alloca86.S @@ -3,9 +3,9 @@ #include "../config.h" -.globl _alloca +.globl alloca -_alloca: +alloca: pop %edx pop %eax add $3,%eax |
