From cb44e358cfb2ddc38bcb8b3f0c6feebee0e15152 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Thu, 2 Jan 2003 21:17:59 +0000 Subject: [PATCH] * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2. --- binutils/ChangeLog | 4 ++++ binutils/readelf.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 97a0339..2f6d1b0 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2003-01-02 Richard Sandiford + + * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2. + 2002-12-30 Chris Demetriou * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register) diff --git a/binutils/readelf.c b/binutils/readelf.c index d5ddb4b..b3d3623 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -1,5 +1,5 @@ /* readelf.c -- display contents of an ELF format file - Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. Originally developed by Eric Youngdale Modifications by Nick Clifton @@ -1994,6 +1994,7 @@ get_machine_flags (e_flags, e_machine) case E_MIPS_ARCH_4: strcat (buf, ", mips4"); break; case E_MIPS_ARCH_5: strcat (buf, ", mips5"); break; case E_MIPS_ARCH_32: strcat (buf, ", mips32"); break; + case E_MIPS_ARCH_32R2: strcat (buf, ", mips32r2"); break; case E_MIPS_ARCH_64: strcat (buf, ", mips64"); break; default: strcat (buf, ", unknown ISA"); break; } -- 2.7.4