aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/readelf.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 5c43079..0f4c7db 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-03 David Daney <ddaney@caviumnetworks.com>
+ Adam Nemet <adambnemet@gmail.com>
+
+ * readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON2 case.
+
2009-12-03 Nick Clifton <nickc@redhat.com>
PR binutils/11045
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 7f64da3..92a2142 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -2337,6 +2337,7 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)
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 E_MIPS_MACH_OCTEON2: strcat (buf, ", octeon2"); break;
case E_MIPS_MACH_XLR: strcat (buf, ", xlr"); break;
case 0:
/* We simply ignore the field in this case to avoid confusion: