Calling convention that gets frame pointer register clobbered
Latchesar Ionkov
lucho@ionkov.net
Mon Dec 15 19:20:00 GMT 2003
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
More information about the Gcc
mailing list