[RFA] Change bfd machine consts to enums.

Richard Earnshaw rearnsha@arm.com
Thu Feb 14 09:16:00 GMT 2002


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



More information about the Binutils mailing list