[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Re: Other Cheney-MTA systems?
From: |
Felix |
Subject: |
Re: [Chicken-users] Re: Other Cheney-MTA systems? |
Date: |
Sun, 14 Nov 2010 15:56:34 +0100 (CET) |
From: John Cowan <address@hidden>
Subject: Re: [Chicken-users] Re: Other Cheney-MTA systems?
Date: Sat, 13 Nov 2010 14:30:49 -0500
> 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.
__attribute__((noreturn)) does help, but gcc doesn't do as much as it
could.
cheers,
felix