Re: Stack overflows.

Bernd Schmidt (crux@pool.informatik.rwth-aachen.de)
Fri, 20 Dec 1996 12:02:06 +0100 (MET)


On Thu, 19 Dec 1996, Systemkennung Linux wrote:
>
> The trampolines generated by GCC for code like
[snip]
> or for certain objective C constructs assume that the stack frame is
> executable. Trampolines are being used in the GNU libc and it's dynamic
> linker, so it's a really bad idea to make the stack non-executable.
>
> Btw, performancewise trampolines really suck on architecture that have to
> maintain their I/D-cache consistence in software like 68k or MIPS. Even
> Intel from Pentium on get a performance hit so better don't use them.

Why does GNU libc use them, then? Shouldn't this be fixed?

Bernd