This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH/RFA] Allow register other than SP for DWARF2 CFA
On Tue, Jun 18, 2002 at 11:09:08AM -0700, Matt Thomas wrote:
> >This is almost, but not quite, already done in the vax backend. At
> >present the extra count word is not included, and the case for >255
> >arguments uses a 0. Note that in the later case, you would still
> >be using "calls $0", but you would be telling dwarf2out.c how much
> >storage the subsequent manual stack adjustment would have removed.
>
> Do we adjust this in the instruction pattern? Or someplace else?
Yes. In the call pattern expanders.
> Do we need to tell dwarf2 that the AP and FP have new values?
No. You only tell dwarf2 where you saved the old values.
r~