[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] alloca for tcc - first cut
From: |
David A. Wheeler |
Subject: |
[Tinycc-devel] alloca for tcc - first cut |
Date: |
Tue, 08 May 2007 02:17:30 -0400 (EDT) |
I've attached a first cut implementation of alloca for tcc. This one allocates
cleanly straight off the stack - no monkeying with malloc() at all. It
currently doesn't actually call the bounds-checking functions, though I know in
principle what it needs to call. Runs on Linux; _may_ work on Windows, but I
suspect that there's some oddities involving page access that would need to be
accounted for.
My thanks to those who have sent me constructive criticism!
--- David A. Wheeler
alloca.S
Description: Binary data
alloca.h
Description: Text Data
testalloca.c
Description: Text Data
- [Tinycc-devel] alloca for tcc - first cut,
David A. Wheeler <=
- Re: [Tinycc-devel] alloca for tcc - first cut, Rob Landley, 2007/05/09
- [Tinycc-devel] alloca for tcc (x86) - second cut, David A. Wheeler, 2007/05/09
- Re: [Tinycc-devel] alloca for tcc (x86) - second cut, Rob Landley, 2007/05/09
- Re: [Tinycc-devel] alloca for tcc (x86) - second cut, Daniel Glöckner, 2007/05/09
- Re: [Tinycc-devel] alloca for tcc (x86) - second cut, Rob Landley, 2007/05/09
- Re: [Tinycc-devel] alloca for tcc (x86) - second cut, David A. Wheeler, 2007/05/10
- Re: [Tinycc-devel] alloca for tcc (x86) - second cut, Daniel Glöckner, 2007/05/10
- Re: [Tinycc-devel] alloca for tcc (x86) - second cut, Rob Landley, 2007/05/10
- [Tinycc-devel] alloca for tcc (x86) - v3, David A. Wheeler, 2007/05/09
- Re: [Tinycc-devel] alloca for tcc (x86) - v3, Rob Landley, 2007/05/12