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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Yoshinori Sato
        * 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 <[hidden email]>
+ * readelf.c (get_machine_flags): Add RXv3 output.
+
 2018-12-14  H.J. Lu  <[hidden email]>
 
  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

Reply | Threaded
Open this post in threaded view
|

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

Nick Clifton
Hi Yoshinori,

> * readelf.c (get_machine_flags): Add RXv3 output.
 
Approved - please apply.

Cheers
  Nick