* readelf.c (get_machine_flags): Handle Octeon.

This commit is contained in:
Adam Nemet 2008-02-04 19:16:53 +00:00
parent 6f179bd0a4
commit 05c6f0503c
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-02-03 Adam Nemet <anemet@caviumnetworks.com>
* readelf.c (get_machine_flags): Handle Octeon.
2008-01-30 Tristan Gingold <gingold@adacore.com>
* readelf.c (dump_relocations): Decode OpenVMS-specific sections.

View File

@ -2260,6 +2260,7 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)
case E_MIPS_MACH_9000: strcat (buf, ", 9000"); break;
case E_MIPS_MACH_LS2E: strcat (buf, ", loongson-2e"); break;
case E_MIPS_MACH_LS2F: strcat (buf, ", loongson-2f"); break;
case E_MIPS_MACH_OCTEON: strcat (buf, ", octeon"); break;
case 0:
/* We simply ignore the field in this case to avoid confusion:
MIPS ELF does not specify EF_MIPS_MACH, it is a GNU