From 8d177ca634ca1a9a026f91a1db952126145ab926 Mon Sep 17 00:00:00 2001 From: nemet Date: Mon, 4 Feb 2008 19:16:53 +0000 Subject: [PATCH] * readelf.c (get_machine_flags): Handle Octeon. --- binutils/ChangeLog | 4 ++++ binutils/readelf.c | 1 + 2 files changed, 5 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index e8622c2d1d..19de0853bc 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2008-02-03 Adam Nemet + + * readelf.c (get_machine_flags): Handle Octeon. + 2008-01-30 Tristan Gingold * readelf.c (dump_relocations): Decode OpenVMS-specific sections. diff --git a/binutils/readelf.c b/binutils/readelf.c index 404f070928..bcad624c71 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -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 -- 2.11.0