Calling convention that gets frame pointer register clobbered
Johan Rydberg
jrydberg@night.trouble.net
Tue Dec 16 17:48:00 GMT 2003
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
More information about the Gcc
mailing list