[PATCH 2/2] rx: make field type enum

Alan Modra amodra@gmail.com
Wed May 18 04:14:00 GMT 2016


On Tue, May 17, 2016 at 11:25:02PM -0400, tbsaunde+binutils@tbsaunde.org wrote:
> 	* config/tc-rx.c (struct cpu_type): Change the type of a field from
> 	int to enum rx_cpu_types.

OK, but

> --- a/gas/config/tc-rx.c
> +++ b/gas/config/tc-rx.c
> @@ -109,7 +109,7 @@ size_t md_longopts_size = sizeof (md_longopts);
>  struct cpu_type
>  {
>    const char *cpu_name;
> -  int type;
> +enum rx_cpu_types type;
>  };

Formatting.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list