This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: pb with frame notes from hppa_expand_prologue ?
- To: Olivier Hainque <hainque at act-europe dot fr>
- Subject: Re: pb with frame notes from hppa_expand_prologue ?
- From: law at redhat dot com
- Date: Thu, 30 Aug 2001 11:04:06 -0600
- cc: alan at linuxcare dot com dot au, gcc-bugs at gcc dot gnu dot org
- Reply-To: law at redhat dot com
In message <15245.59124.442632.616392@berlin.int.act-europe.fr>you write:
> A side effect of this is to make r1 the new base register for CFA
> computation, which does not seem to work because r1 is caller-saved and it
> s
> value is not available when unwinding the stack at run-time.
>
> I temporarily kludged this by modifying rule 4 in dwarf2out_frame_debug_ex
> pr
> for the cases in which reg1 is caller-saved, but I think that's not the ri
> ght
> way to go.
>
> Any insight as to what should be done for this case ?
All true. But the use of r1 is merely due to limitations of the PA ISA.
Instead of creating a new base register for the CFA it would seem to me
that we could still use the stack/frame pointer with offsets.
jeff