This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: document RETURN_ADDR_OFFSET (Was: Re: RFC / RFA: dwarf2unwinding for targets with call-part-clobbered registers)
- From: Jim Wilson <wilson at tuliptree dot org>
- To: Joern Rennecke <joern dot rennecke at superh dot com>
- Cc: gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: 09 Jul 2003 15:49:51 -0700
- Subject: Re: RFA: document RETURN_ADDR_OFFSET (Was: Re: RFC / RFA: dwarf2unwinding for targets with call-part-clobbered registers)
- References: <200307091213.h69CDYb02703@linsvr1.uk.superh.com>
On Wed, 2003-07-09 at 05:13, Joern Rennecke wrote:
> If it is, than it is broken. The mode bit gets masked out, but isn't put
> back in before using the address for returning.
I misunderstood your problem. You need the bits masked out for
compares, but put back in for the return. In that case
RETURN_ADDR_OFFSET is what you want.
> * tm.texi (RETURN_ADDR_OFFSET): Document.
OK.
Jim