This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 2/2] rx: make field type enum
- From: tbsaunde+binutils at tbsaunde dot org
- To: binutils at sourceware dot org
- Date: Tue, 17 May 2016 23:25:02 -0400
- Subject: [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>
From: Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
Hi,
Same as previous with a different enum type.
built and regtested cross to rx-elf, ok?
Trev
gas/ChangeLog:
2016-05-17 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* config/tc-rx.c (struct cpu_type): Change the type of a field from
int to enum rx_cpu_types.
---
gas/config/tc-rx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gas/config/tc-rx.c b/gas/config/tc-rx.c
index a1590ac..834a76b 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.7.0