From 84ea6cf2c5170547163a4bf09ac2bbb3cd424685 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Sat, 2 Dec 2000 00:55:22 +0000 Subject: Add MIPS V and MIPS 64 machine numbers --- binutils/ChangeLog | 3 +++ binutils/readelf.c | 6 ++++++ 2 files changed, 9 insertions(+) (limited to 'binutils') diff --git a/binutils/ChangeLog b/binutils/ChangeLog index c12ee4c..d104f4f 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -4,6 +4,9 @@ EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly. + * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5, + and E_MIPS_ARCH_64. + 2000-11-30 Richard Earnshaw * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value. diff --git a/binutils/readelf.c b/binutils/readelf.c index a9c5cbf..03dce77 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -1471,9 +1471,15 @@ get_machine_flags (e_flags, e_machine) if ((e_flags & EF_MIPS_ARCH) == E_MIPS_ARCH_4) strcat (buf, ", mips4"); + if ((e_flags & EF_MIPS_ARCH) == E_MIPS_ARCH_5) + strcat (buf, ", mips5"); + if ((e_flags & EF_MIPS_ARCH) == E_MIPS_ARCH_32) strcat (buf, ", mips32"); + if ((e_flags & EF_MIPS_ARCH) == E_MIPS_ARCH_64) + strcat (buf, ", mips64"); + switch ((e_flags & EF_MIPS_MACH)) { case E_MIPS_MACH_3900: strcat (buf, ", 3900"); break; -- cgit v1.1