* readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
authorNick Hudson <nick.hudson@dsl.pipex.com>
Fri, 17 Feb 2006 12:58:46 +0000 (12:58 +0000)
committerNick Hudson <nick.hudson@dsl.pipex.com>
Fri, 17 Feb 2006 12:58:46 +0000 (12:58 +0000)
binutils/ChangeLog
binutils/readelf.c

index b01e71935a13ab1d3deb23ce4aee49f56ccb54ec..853610128a6cd88c6a20c1e080293b01fd70b204 100644 (file)
@@ -1,3 +1,7 @@
+2006-02-17  Nick Hudson  <nick.hudson@dsl.pipex.com>
+
+       * readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
+
 2006-02-14  Jakub Jelinek  <jakub@redhat.com>
 
        * config.in: Rebuilt.
index 208b6d43e49eaffd89b8538b35198098956ecbe2..b8b23117bc3baa5b558c783a00bb50e4cbcffdd2 100644 (file)
@@ -2124,6 +2124,12 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)
            case EF_SH4_NOFPU: strcat (buf, ", sh4-nofpu"); break;
            case EF_SH4A_NOFPU: strcat (buf, ", sh4a-nofpu"); break;
            case EF_SH2A_NOFPU: strcat (buf, ", sh2a-nofpu"); break;
+           case EF_SH3_NOMMU: strcat (buf, ", sh3-nommu"); break;
+           case EF_SH4_NOMMU_NOFPU: strcat (buf, ", sh4-nommu-nofpu"); break;
+           case EF_SH2A_SH4_NOFPU: strcat (buf, ", sh2a-nofpu-or-sh4-nommu-nofpu"); break;
+           case EF_SH2A_SH3_NOFPU: strcat (buf, ", sh2a-nofpu-or-sh3-nommu"); break;
+           case EF_SH2A_SH4: strcat (buf, ", sh2a-or-sh4"); break;
+           case EF_SH2A_SH3E: strcat (buf, ", sh2a-or-sh3e"); break;
            default: strcat (buf, ", unknown ISA"); break;
            }