[PATCH/RFA] Allow register other than SP for DWARF2 CFA

John David Anglin dave@hiauly1.hia.nrc.ca
Tue Jun 18 11:38:00 GMT 2002


> 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.

The case for >255 arguments used to be in call patterns but was removed
when it was necessary to use expanders for the call patterns.  See
<http://gcc.gnu.org/ml/gcc-patches/2001-01/msg01121.html>.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)



More information about the Gcc-patches mailing list