public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: tbsaunde+binutils@tbsaunde.org
To: binutils@sourceware.org
Subject: [PATCH 2/2] rx: make field type enum
Date: Wed, 18 May 2016 03:25:00 -0000	[thread overview]
Message-ID: <1463541902-11708-2-git-send-email-tbsaunde+binutils@tbsaunde.org> (raw)
In-Reply-To: <1463541902-11708-1-git-send-email-tbsaunde+binutils@tbsaunde.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

  reply	other threads:[~2016-05-18  3:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-18  3:25 [PATCH 1/2] change the type of some fields to bfd_reloc_code_real_type tbsaunde+binutils
2016-05-18  3:25 ` tbsaunde+binutils [this message]
2016-05-18  4:14   ` [PATCH 2/2] rx: make field type enum Alan Modra
2016-05-18  4:13 ` [PATCH 1/2] change the type of some fields to bfd_reloc_code_real_type Alan Modra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1463541902-11708-2-git-send-email-tbsaunde+binutils@tbsaunde.org \
    --to=tbsaunde+binutils@tbsaunde.org \
    --cc=binutils@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).