aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-05-14 04:33:53 -0400
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-05-18 06:26:27 -0400
commit42e58860e260edf7d92734c01b95fccf9ddb2431 (patch)
treef35d52132d65e09f181a852f58f464a83b26325f /gas
parent4bfaa1cae74531b8c7a7ccfb95e202ab9772dfdd (diff)
downloadgdb-42e58860e260edf7d92734c01b95fccf9ddb2431.zip
gdb-42e58860e260edf7d92734c01b95fccf9ddb2431.tar.gz
gdb-42e58860e260edf7d92734c01b95fccf9ddb2431.tar.bz2
rx: make field type enum
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.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-rx.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 1cd95a5..aa50770 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
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
int to bfd_reloc_code_real_type.
* config/tc-tic4x.c: Likewise.
diff --git a/gas/config/tc-rx.c b/gas/config/tc-rx.c
index a1590ac..f87aac1 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[] =