[PATCH 2/2] rx: make field type enum
tbsaunde+binutils@tbsaunde.org
tbsaunde+binutils@tbsaunde.org
Wed May 18 03:25:00 GMT 2016
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
More information about the Binutils
mailing list