From 42e58860e260edf7d92734c01b95fccf9ddb2431 Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Sat, 14 May 2016 04:33:53 -0400 Subject: [PATCH] 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. --- gas/ChangeLog | 5 +++++ gas/config/tc-rx.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 1cd95a53438..aa507703ff0 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 a1590acf17b..f87aac15d5a 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[] = -- 2.30.2