a question about trampolines and non-exec stacks

Richard Henderson rth@redhat.com
Thu Aug 29 16:21:00 GMT 2002


On Thu, Aug 29, 2002 at 08:01:42PM +0200, Marc Espie wrote:
> - I like m68k's FINALIZE_TRAMPOLINE code. Any issue in adding the
> same hook to other arches, e.g., i386 ?

Shouldn't be.

> - I'm a bit lost as to TRAMPOLINE_SIZE... Is it supposed to be exact,
> or should it be conservative?

AFAIK, it can be either.

> - where to stick a make_stack_executable function ?

TRANSFER_FROM_TRAMPOLINE.



r~



More information about the Gcc mailing list