This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Calling convention that gets frame pointer register clobbered
- From: Johan Rydberg <jrydberg at night dot trouble dot net>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 16 Dec 2003 16:09:28 +0100
- Subject: Re: Calling convention that gets frame pointer register clobbered
- References: <20031215191844.GA25175@ionkov.net>
Latchesar Ionkov <lucho@ionkov.net> wrote:
: Hi,
:
: Does gcc support calling conventions that get the frame pointer register
: clobbered?
A related question: Is it possible, by inline assembler, to get GCC
to save the frame pointer? I've tried to adding "ebp" to the clobbered
list, with no effect. It is of course possible to add push/pop insns
to the asm string, but that seems a bit risky, and does not look very
pretty.
brgds
johan