rx: make field type enum
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Sat, 14 May 2016 08:33:53 +0000 (04:33 -0400)
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Wed, 18 May 2016 10:26:27 +0000 (06:26 -0400)
gas/ChangeLog:

2016-05-18  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/ChangeLog
gas/config/tc-rx.c

index 1cd95a534388814a7372db00f983d51edbc011bb..aa507703ff0dea3347563d1d742a3405d1c2fb8d 100644 (file)
@@ -1,3 +1,8 @@
+2016-05-18  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.
+
 2016-05-18  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
 
        * config/tc-dlx.c (struct machine_it): change the type of a field from
index a1590acf17b3fcf9e5e129820403a5a79a4de896..f87aac15d5a589af27f629ed7467be0bef1d7572 100644 (file)
@@ -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[] =
This page took 0.045109 seconds and 4 git commands to generate.