aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/readelf.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index d19e878..e3bea6d 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2004-07-29 Alexandre Oliva <aoliva@redhat.com>
+
+ * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and
+ EF_SH2A_NOFPU.
+
2004-07-28 Alexandre Oliva <aoliva@redhat.com>
2003-07-08 Alexandre Oliva <aoliva@redhat.com>
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 194bfba..2a750ce 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -2009,8 +2009,10 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)
case EF_SH5: strcat (buf, ", sh5"); break;
case EF_SH2E: strcat (buf, ", sh2e"); break;
case EF_SH4A: strcat (buf, ", sh4a"); break;
+ case EF_SH2A: strcat (buf, ", sh2a"); break;
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;
default: strcat (buf, ", unknown ISA"); break;
}