This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 2/2] rx: make field type enum
- From: Alan Modra <amodra at gmail dot com>
- To: tbsaunde+binutils at tbsaunde dot org
- Cc: binutils at sourceware dot org
- Date: Wed, 18 May 2016 13:43:16 +0930
- Subject: Re: [PATCH 2/2] rx: make field type enum
- Authentication-results: sourceware.org; auth=none
- References: <1463541902-11708-1-git-send-email-tbsaunde+binutils at tbsaunde dot org> <1463541902-11708-2-git-send-email-tbsaunde+binutils at tbsaunde dot org>
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