This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]