* MAINTAINERS: Add self as co-maintainer of FR-V.
authorAlexandre Oliva <aoliva@redhat.com>
Thu, 2 Sep 2004 08:25:06 +0000 (08:25 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Thu, 2 Sep 2004 08:25:06 +0000 (08:25 +0000)
* readelf.c (get_machine_flags): Print FR-V cpu types.

binutils/ChangeLog
binutils/MAINTAINERS
binutils/readelf.c

index 490d0916a03005519ae7a1657c7f4fb073b174f8..c9def8b30ffdc7253f0a3437837d0e29a5b1e0c2 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-02  Alexandre Oliva  <aoliva@redhat.com>
+
+       * MAINTAINERS: Add self as co-maintainer of FR-V.
+       * readelf.c (get_machine_flags): Print FR-V cpu types.
+
 2004-08-28  Alan Modra  <amodra@bigpond.net.au>
 
        * nm.c (show_synthetic): New var.
index 3eac78292291b307fbfddfefd3172879a2244f2f..85ed70469bccc872863193e5273c7633e6658374 100644 (file)
@@ -66,6 +66,7 @@ responsibility among the other maintainers.
   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 eb9b451181ecdf20f776d4667d5e21a69010f9c3..bf8409352cd2415d82fc607804deeb678840c4e2 100644 (file)
@@ -1872,6 +1872,46 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)
          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");