This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFA] CFI improvements
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Michal Ludvig <mludvig at suse dot cz>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 21 May 2003 11:06:32 -0400 (EDT)
- Subject: Re: [RFA] CFI improvements
On Wed, 21 May 2003, Michal Ludvig wrote:
> Hans-Peter Nilsson told me that:
> > On Tue, 20 May 2003, Michal Ludvig wrote:
> >
> >>the attached patch adds some new features to the CFI engine:
> >>- register names can start with '%' as requested by GCC guys.
> >
> > This should be handled by the target's tc_regname_to_dw2regnum,
> > not in target-independent code. (No creeping ix86-isms, please.)
>
> No problem. Something like this?
Oh, sorry: consider redefining tc_regname_to_dw2regnum to take a
char ** and to handle incrementing it over the register name.
Then you won't have to make assumptions on the syntax of the
regname in cfi_parse_arg.
The testcase augmentation you sent seem obvious.
brgds, H-P