[5/5] RX: binutils - Add RXv3 support.

Message ID 20181225121646.47773-5-ysato@users.sourceforge.jp
State New
Headers show
Series
  • [1/5] RX: opcode - Add RXv3 instructions.
Related show

Commit Message

Yoshinori Sato Dec. 25, 2018, 12:16 p.m.
* readelf.c (get_machine_flags): Add RXv3 output.
---
 binutils/ChangeLog | 3 +++
 binutils/readelf.c | 2 ++
 2 files changed, 5 insertions(+)

-- 
2.11.0

Comments

Nick Clifton Jan. 4, 2019, 4:36 p.m. | #1
Hi Yoshinori,

> 	* readelf.c (get_machine_flags): Add RXv3 output.

 
Approved - please apply.

Cheers
  Nick

Patch

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: