* readelf.c (get_machine_flags): Handle Octeon.
authorAdam Nemet <anemet@caviumnetworks.com>
Mon, 4 Feb 2008 19:16:53 +0000 (19:16 +0000)
committerAdam Nemet <anemet@caviumnetworks.com>
Mon, 4 Feb 2008 19:16:53 +0000 (19:16 +0000)
binutils/ChangeLog
binutils/readelf.c

index e8622c2d1d28408414f408c30f211098b2e66ac0..19de0853bcedbcd1a5563d7f0ad0eb35b37ed0bd 100644 (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.
index 404f0709286a736f096b8a44f43ba7614510319d..bcad624c712c681f44107fc12f1ac7e193233704 100644 (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