aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorgrischka <grischka>2009-05-16 22:30:13 +0200
committergrischka <grischka>2009-05-16 22:30:13 +0200
commit110a4edc154f6fb73ef3d312630455f68641123f (patch)
tree341bfb7efbeacd9cf78ae351d2ed931df7f03d08 /lib
parent68310299b67bef763ba1622dac2aec534e096bf1 (diff)
downloadtinycc-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.S4
-rw-r--r--lib/alloca86.S4
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