diff options
author | Nick Hudson <nick.hudson@dsl.pipex.com> | 2006-02-17 12:58:46 +0000 |
---|---|---|
committer | Nick Hudson <nick.hudson@dsl.pipex.com> | 2006-02-17 12:58:46 +0000 |
commit | 3aa662522219e23c100f40abf241c49639814939 (patch) | |
tree | 39aaa336780a19226f912cd3aabdb4dfbd4cb538 /binutils/readelf.c | |
parent | ff04f2166b15ed660bfdaedb672fb2273bcdcf3f (diff) | |
download | binutils-redhat-3aa662522219e23c100f40abf241c49639814939.tar.gz |
* readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index 208b6d43e4..b8b23117bc 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -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; } |