public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Additional FR-V binutils maintainer
@ 2004-08-30 16:02 Dave Brolley
  2004-09-02  8:26 ` Alexandre Oliva
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Brolley @ 2004-08-30 16:02 UTC (permalink / raw)
  To: binutils; +Cc: Alexandre Oliva

Alexandre Oliva has offered to assume co-maintainership of this port 
along with me and I have agreed.

Welcome aboard Alex!

Dave


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Additional FR-V binutils maintainer
  2004-08-30 16:02 Additional FR-V binutils maintainer Dave Brolley
@ 2004-09-02  8:26 ` Alexandre Oliva
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 2004-09-02  8:26 UTC (permalink / raw)
  To: Dave Brolley; +Cc: binutils

[-- Attachment #1: Type: text/plain, Size: 445 bytes --]

On Aug 30, 2004, Dave Brolley <brolley@redhat.com> wrote:

> Alexandre Oliva has offered to assume co-maintainership of this port
> along with me and I have agreed.

> Welcome aboard Alex!

Thanks, Dave.

My first patch as official co-maintainer follows.  It was driving me
nuts to have to mentally map the flags to FR-V machine types, so I
figured readelf should do that.

I'm checking in it, regression tested on i686-pc-linux-gnu-x-frv-elf.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: frv-readelf-cpu.patch --]
[-- Type: text/x-patch, Size: 2218 bytes --]

Index: binutils/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>

	* MAINTAINERS: Add self as co-maintainer of FR-V.
	* readelf.c (get_machine_flags): Print FR-V cpu types.

Index: binutils/MAINTAINERS
===================================================================
RCS file: /cvs/uberbaum/./binutils/MAINTAINERS,v
retrieving revision 1.75
diff -u -p -r1.75 MAINTAINERS
--- binutils/MAINTAINERS 7 Jul 2004 17:28:48 -0000 1.75
+++ binutils/MAINTAINERS 2 Sep 2004 08:21:18 -0000
@@ -66,6 +66,7 @@ responsibility among the other maintaine
   DWARF2	   Jason Merrill <jason@redhat.com>
   FR30		   Dave Brolley <brolley@redhat.com>
   FRV		   Dave Brolley <brolley@redhat.com>
+  FRV		   Alexandre Oliva <aoliva@redhat.com>
   HPPA		   Dave Anglin <dave.anglin@nrc.ca>
   HPPA elf32	   Alan Modra <amodra@bigpond.net.au>
   HPPA elf64	   Jeff Law <law@redhat.com> [Basic maintainance only]
Index: binutils/readelf.c
===================================================================
RCS file: /cvs/uberbaum/./binutils/readelf.c,v
retrieving revision 1.250
diff -u -p -r1.250 readelf.c
--- binutils/readelf.c 16 Aug 2004 00:09:19 -0000 1.250
+++ binutils/readelf.c 2 Sep 2004 08:21:22 -0000
@@ -1872,6 +1872,46 @@ get_machine_flags (unsigned e_flags, uns
 	  decode_ARM_machine_flags (e_flags, buf);
 	  break;
 
+	case EM_CYGNUS_FRV:
+	  switch (e_flags & EF_FRV_CPU_MASK)
+	    {
+	    case EF_FRV_CPU_GENERIC:
+	      break;
+
+	    default:
+	      strcat (buf, ", fr???");
+	      break;
+	      
+	    case EF_FRV_CPU_FR300:
+	      strcat (buf, ", fr300");
+	      break;
+
+	    case EF_FRV_CPU_FR400:
+	      strcat (buf, ", fr400");
+	      break;
+	    case EF_FRV_CPU_FR405:
+	      strcat (buf, ", fr405");
+	      break;
+
+	    case EF_FRV_CPU_FR450:
+	      strcat (buf, ", fr450");
+	      break;
+
+	    case EF_FRV_CPU_FR500:
+	      strcat (buf, ", fr500");
+	      break;
+	    case EF_FRV_CPU_FR550:
+	      strcat (buf, ", fr550");
+	      break;
+
+	    case EF_FRV_CPU_SIMPLE:
+	      strcat (buf, ", simple");
+	      break;
+	    case EF_FRV_CPU_TOMCAT:
+	      strcat (buf, ", tomcat");
+	      break;
+	    }
+
 	case EM_68K:
 	  if (e_flags & EF_CPU32)
 	    strcat (buf, ", cpu32");

[-- Attachment #3: Type: text/plain, Size: 188 bytes --]


-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-02  8:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-30 16:02 Additional FR-V binutils maintainer Dave Brolley
2004-09-02  8:26 ` Alexandre Oliva

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).