summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvisa <visa@openbsd.org>2016-04-26 15:52:28 +0000
committervisa <visa@openbsd.org>2016-04-26 15:52:28 +0000
commit83d1adcb99d8512a40438dd1c6cd824aedc93350 (patch)
treecdd5e020ca4ca314e3f54f288ce4cc3e38225f69
parentConvert some magic numbers into #defines - this is needed for some MTRR (diff)
downloadwireguard-openbsd-83d1adcb99d8512a40438dd1c6cd824aedc93350.tar.xz
wireguard-openbsd-83d1adcb99d8512a40438dd1c6cd824aedc93350.zip
Show octeon in readelf -h output.
-rw-r--r--gnu/usr.bin/binutils-2.17/binutils/readelf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils-2.17/binutils/readelf.c b/gnu/usr.bin/binutils-2.17/binutils/readelf.c
index fa3ce65cfef..fba8e9925e4 100644
--- a/gnu/usr.bin/binutils-2.17/binutils/readelf.c
+++ b/gnu/usr.bin/binutils-2.17/binutils/readelf.c
@@ -2079,6 +2079,7 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)
case E_MIPS_MACH_5500: strcat (buf, ", 5500"); break;
case E_MIPS_MACH_SB1: strcat (buf, ", sb1"); break;
case E_MIPS_MACH_9000: strcat (buf, ", 9000"); 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