summaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2003-01-02 21:17:59 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2003-01-02 21:17:59 +0000
commitcb44e358cfb2ddc38bcb8b3f0c6feebee0e15152 (patch)
tree906c3bbefe55268a24960efb0e3015d355a26442 /binutils
parent794ac9d07479b2baec21699a1e44b302f7513426 (diff)
downloadbinutils-gdb-cb44e358cfb2ddc38bcb8b3f0c6feebee0e15152.tar.gz
* readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/readelf.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 97a03393108..2f6d1b06ddb 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2003-01-02 Richard Sandiford <rsandifo@redhat.com>
+
+ * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
+
2002-12-30 Chris Demetriou <cgd@broadcom.com>
* doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
diff --git a/binutils/readelf.c b/binutils/readelf.c
index d5ddb4b44c5..b3d36234faf 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 <eric@andante.jic.com>
Modifications by Nick Clifton <nickc@redhat.com>
@@ -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;
}