From: Trevor Saunders Date: Sat, 14 May 2016 08:33:53 +0000 (-0400) Subject: rx: make field type enum X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=42e58860e260edf7d92734c01b95fccf9ddb2431;p=deliverable%2Fbinutils-gdb.git rx: make field type enum gas/ChangeLog: 2016-05-18 Trevor Saunders * config/tc-rx.c (struct cpu_type): Change the type of a field from int to enum rx_cpu_types. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 1cd95a5343..aa507703ff 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2016-05-18 Trevor Saunders + + * config/tc-rx.c (struct cpu_type): Change the type of a field from + int to enum rx_cpu_types. + 2016-05-18 Trevor Saunders * config/tc-dlx.c (struct machine_it): change the type of a field from diff --git a/gas/config/tc-rx.c b/gas/config/tc-rx.c index a1590acf17..f87aac15d5 100644 --- 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; }; struct cpu_type cpu_type_list[] =