From 0b92ab21c5c6920cc18c05efadd3a52fbd35c825 Mon Sep 17 00:00:00 2001 From: Nick Hudson Date: Fri, 17 Feb 2006 12:58:46 +0000 Subject: [PATCH] * readelf.c (get_machine_flags): Add logic for missing EF_SH flags. --- binutils/ChangeLog | 4 ++++ binutils/readelf.c | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index b01e71935a..853610128a 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2006-02-17 Nick Hudson + + * readelf.c (get_machine_flags): Add logic for missing EF_SH flags. + 2006-02-14 Jakub Jelinek * config.in: Rebuilt. 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; }