This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]