diff options
author | Nick Clifton <nickc@redhat.com> | 2000-12-01 21:35:38 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-12-01 21:35:38 +0000 |
commit | e7af610e147b2f6f35e2f7dcec4c707027a53757 (patch) | |
tree | 981ed717ac072d086d1100528456686af62f1bf2 /binutils/readelf.c | |
parent | b23da31b1cf7d0b7d2ae1d1c4378f8ff77feaf43 (diff) | |
download | gdb-e7af610e147b2f6f35e2f7dcec4c707027a53757.zip gdb-e7af610e147b2f6f35e2f7dcec4c707027a53757.tar.gz gdb-e7af610e147b2f6f35e2f7dcec4c707027a53757.tar.bz2 |
Add MIPS32 as a seperate MIPS architecture
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index 99d1b98..a9c5cbf 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -1471,6 +1471,9 @@ 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_32) + strcat (buf, ", mips32"); + switch ((e_flags & EF_MIPS_MACH)) { case E_MIPS_MACH_3900: strcat (buf, ", 3900"); break; @@ -1478,7 +1481,8 @@ get_machine_flags (e_flags, e_machine) case E_MIPS_MACH_4100: strcat (buf, ", 4100"); break; case E_MIPS_MACH_4650: strcat (buf, ", 4650"); break; case E_MIPS_MACH_4111: strcat (buf, ", 4111"); break; - case E_MIPS_MACH_MIPS32: strcat (buf, ", mips32"); break; + case E_MIPS_MACH_MIPS32_4K: strcat (buf, ", mips32-4k"); break; + default: strcat (buf, " UNKNOWN"); break; } break; |