From: Alexandre Oliva Date: Thu, 2 Sep 2004 08:25:06 +0000 (+0000) Subject: * MAINTAINERS: Add self as co-maintainer of FR-V. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ec2dfb421058c199bb2ba35368e9cc5f2c3e2284;p=binutils-gdb.git * MAINTAINERS: Add self as co-maintainer of FR-V. * readelf.c (get_machine_flags): Print FR-V cpu types. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 490d0916a03..c9def8b30ff 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2004-09-02 Alexandre Oliva + + * MAINTAINERS: Add self as co-maintainer of FR-V. + * readelf.c (get_machine_flags): Print FR-V cpu types. + 2004-08-28 Alan Modra * nm.c (show_synthetic): New var. diff --git a/binutils/MAINTAINERS b/binutils/MAINTAINERS index 3eac7829229..85ed70469bc 100644 --- a/binutils/MAINTAINERS +++ b/binutils/MAINTAINERS @@ -66,6 +66,7 @@ responsibility among the other maintainers. DWARF2 Jason Merrill FR30 Dave Brolley FRV Dave Brolley + FRV Alexandre Oliva HPPA Dave Anglin HPPA elf32 Alan Modra HPPA elf64 Jeff Law [Basic maintainance only] diff --git a/binutils/readelf.c b/binutils/readelf.c index eb9b451181e..bf8409352cd 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -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");