Questions about trampolines
Clifford Wolf
clifford@clifford.at
Wed Mar 16 15:21:00 GMT 2005
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20050316/b8c4a817/attachment.sig>
More information about the Gcc
mailing list