This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 5/5] RX: binutils - Add RXv3 support.
- From: Yoshinori Sato <ysato at users dot sourceforge dot jp>
- To: binutils at sourceware dot org
- Cc: Yoshinori Sato <ysato at users dot sourceforge dot jp>
- Date: Tue, 25 Dec 2018 21:16:46 +0900
- Subject: [PATCH 5/5] RX: binutils - Add RXv3 support.
- References: <20181225121646.47773-1-ysato@users.sourceforge.jp>
* readelf.c (get_machine_flags): Add RXv3 output.
---
binutils/ChangeLog | 3 +++
binutils/readelf.c | 2 ++
2 files changed, 5 insertions(+)
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 3a251e9760..c0aa85c7bf 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,6 @@
+2018-12-25 Yoshinori Sato <ysato@users.sourceforge.jp>
+ * readelf.c (get_machine_flags): Add RXv3 output.
+
2018-12-14 H.J. Lu <hongjiu.lu@intel.com>
PR ld/23900
diff --git a/binutils/readelf.c b/binutils/readelf.c
index dd84a1996f..4f7b3699d6 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -3689,6 +3689,8 @@ get_machine_flags (Filedata * filedata, unsigned e_flags, unsigned e_machine)
? ", uses String instructions" : ", bans String instructions");
if (e_flags & E_FLAG_RX_V2)
strcat (buf, ", V2");
+ if (e_flags & E_FLAG_RX_V3)
+ strcat (buf, ", V3");
break;
case EM_S390:
--
2.11.0