This is the mail archive of the
mailing list for the GCC project.
Re: SPARC, register renaming, __builtin_return_address
- To: dje at watson dot ibm dot com
- Subject: Re: SPARC, register renaming, __builtin_return_address
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Mon, 14 May 2001 09:15:25 -0700
- Cc: Franz dot Sirl-kernel at lauterbach dot com, gcc at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <Franz.Sirlfirstname.lastname@example.org><200105141436.KAA26544@makai.watson.ibm.com>
>>>>> "David" == David Edelsohn <email@example.com> writes:
David> I think this is the key point: either return 0 for
David> b_r_a(1) or force a stack-frame when b_r_a() is detected.
We can't control the caller. To do b_r_a (N) we have to make
assumptions about the the call frames up the stack. I think we can
assume whatever the psABI requires on the platform, which is usually
enough to do the unwinding.
But, I'm not sure what "force a stack frame" means.
Mark Mitchell firstname.lastname@example.org
CodeSourcery, LLC http://www.codesourcery.com