lkml.org 
[lkml]   [1999]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Unexecutable stack
On Mon, Dec 27, 1999 at 10:49:43PM +0100, Martin Dalecki wrote:
> And it would prevent anything from working which is emplying the stack
> as a trampoline to pass around ... guess what ... for example thrown
> exceptions.

Just to be clear, it is not nested functions per se that needs trampolines, but
taking the address of a nested function. The address then points to the thunk
on the stack that sets up the hidden parameter that passes the enclosing frame
information, and jumps to the real function.

--
Michael Meissner, Cygnus Solutions
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886
email: meissner@cygnus.com phone: 978-486-9304 fax: 978-692-4482

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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