diff options
author | Nick Clifton <nickc@redhat.com> | 2000-12-02 00:55:22 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-12-02 00:55:22 +0000 |
commit | 84ea6cf2c5170547163a4bf09ac2bbb3cd424685 (patch) | |
tree | 1fb075a0ae4d0564fa882e22e5fad7cb13c0de9a /binutils/readelf.c | |
parent | 481294f002ca17aecedd61f586ddef21b278a634 (diff) | |
download | gdb-84ea6cf2c5170547163a4bf09ac2bbb3cd424685.zip gdb-84ea6cf2c5170547163a4bf09ac2bbb3cd424685.tar.gz gdb-84ea6cf2c5170547163a4bf09ac2bbb3cd424685.tar.bz2 |
Add MIPS V and MIPS 64 machine numbers
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 6 |
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; |