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]

Re: Calling convention that gets frame pointer register clobbered


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


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