This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFA] Change bfd machine consts to enums.
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Nick Clifton <nickc at cambridge dot redhat dot com>
- Cc: Richard dot Earnshaw at arm dot com, Michael Snyder <msnyder at cygnus dot com>, binutils at sources dot redhat dot com
- Date: Thu, 14 Feb 2002 16:06:00 +0000
- Subject: Re: [RFA] Change bfd machine consts to enums.
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> Hi Richard,
>
> > It's the cpu-arm.c code that's all messed up: bfd_mach_arm_... is
> > being used to initialize a field of type enum bfd_archticture (which
> > should be using bfd_arch_arm, if it gets anything).
> >
> > Nick, any idea where this bit of bogosity came from?
>
> Me being very stupid I suspect.
>
> This patch should fix things. Any objections ?
>
> Cheers
> Nick
>
> 2002-02-14 Nick Clifton <nickc@cambridge.redhat.com>
>
> * cpu-arm.c (processor): Replace 'arch' field with 'mach'.
> (scan): Examine 'mach' field of info structure.
That certainly makes much more sense.
R.