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/readelf.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'binutils/readelf.c') 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