This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Calling convention that gets frame pointer register clobbered
- From: Latchesar Ionkov <lucho at ionkov dot net>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 15 Dec 2003 14:18:44 -0500
- Subject: Calling convention that gets frame pointer register clobbered
Hi,
Does gcc support calling conventions that get the frame pointer register
clobbered?
I am trying to port gcc (the i386 target) to an operating system. The
calling convention is an extreme caller-saves one. It does not guarantee
that any register (except the stack pointer) will be preserved.
Does anybody have an idea how to instruct gcc to save the frame pointer
register before function calls?
Thanks,
Lucho