Hi, On Wed, Mar 16, 2005 at 01:50:32PM +0000, Joern RENNECKE wrote: > These can be provided in a separate module of the static libgcc, together > with allocation and deallocation of individual trampolines from the pool > (the latter has to be called from the epilogue of functions that use > initialize (and thus allocate) trampolines).
I also thought about that already. It's a good idea, but not good enough. :-( what's about longjmp(), gotos from nested functions to their surrounding functions (with a complex calltree inbetween) and (c++) exceptions? always preserving frame pointers, unrolling the stack frame by frame and executing this epilogues might be possible - but I don't think that we really want to go this way.. yours, - clifford -- SSSS PPPP L The SPL Programming Language S P P L http://www.clifford.at/spl/ SSSS PPPP L ---------------------------------------------------- S P L A statefull, simple, small, c-like, object oriented, SSSS P LLLL embeddable, feature rich, dynamic scripting language Opinions expressed here are mine. And if you don't agree with them, you are racist, sexist, elitist, imperialist, baptist and possibly even right.
pgpDVUGEEmaC8.pgp
Description: PGP signature