John Tobey scripsit:

> I am imagining a calling convention, usable in C via
> __attribute__((...)), that does not preserve the caller's stack
> pointer.  

Normally, what is preserved is the frame pointer and the return address.
You can suppress the frame pointer in gcc using the option -fomit-frame-pointer,
at the expense of debuggability.  I don't know any way to turn off retaining
the return address.

-- 
There is / One art                      John Cowan <co...@ccil.org>
No more / No less                       http://www.ccil.org/~cowan
To do / All things
With art- / Lessness                     --Piet Hein

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to