lkml.org 
[lkml]   [1996]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Stack overflows.



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

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.045 / U:0.928 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site