aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-12-02 00:55:22 +0000
committerNick Clifton <nickc@redhat.com>2000-12-02 00:55:22 +0000
commit84ea6cf2c5170547163a4bf09ac2bbb3cd424685 (patch)
tree1fb075a0ae4d0564fa882e22e5fad7cb13c0de9a /binutils/readelf.c
parent481294f002ca17aecedd61f586ddef21b278a634 (diff)
downloadfsf-binutils-gdb-84ea6cf2c5170547163a4bf09ac2bbb3cd424685.zip
fsf-binutils-gdb-84ea6cf2c5170547163a4bf09ac2bbb3cd424685.tar.gz
fsf-binutils-gdb-84ea6cf2c5170547163a4bf09ac2bbb3cd424685.tar.bz2
Add MIPS V and MIPS 64 machine numbers
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c6
1 files changed, 6 insertions, 0 deletions
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;