aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorDavid Daney <ddaney@avtrex.com>2009-12-03 17:01:46 +0000
committerDavid Daney <ddaney@avtrex.com>2009-12-03 17:01:46 +0000
commit67c2a3e8c9a9ca0dc251c64eeeb812021a436723 (patch)
treeae9e3980cb2bc2d61d37f5242a648746d499fda1 /binutils/readelf.c
parentca55d848d811b5073b10e40a5c74b132ecae3647 (diff)
downloadgdb-67c2a3e8c9a9ca0dc251c64eeeb812021a436723.zip
gdb-67c2a3e8c9a9ca0dc251c64eeeb812021a436723.tar.gz
gdb-67c2a3e8c9a9ca0dc251c64eeeb812021a436723.tar.bz2
include/
2009-12-03 David Daney <ddaney@caviumnetworks.com> Adam Nemet <adambnemet@gmail.com> * elf/mips.h (E_MIPS_MACH_OCTEON2): New machine flag. binutils/ 2009-12-03 David Daney <ddaney@caviumnetworks.com> Adam Nemet <adambnemet@gmail.com> * readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON2 case.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c1
1 files changed, 1 insertions, 0 deletions
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: