aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
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/readelf.c
parent794ac9d07479b2baec21699a1e44b302f7513426 (diff)
downloadgdb-cb44e358cfb2ddc38bcb8b3f0c6feebee0e15152.zip
gdb-cb44e358cfb2ddc38bcb8b3f0c6feebee0e15152.tar.gz
gdb-cb44e358cfb2ddc38bcb8b3f0c6feebee0e15152.tar.bz2
* readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c3
1 files changed, 2 insertions, 1 deletions
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 <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;
}