shithub: riscv

Download patch

ref: 23215e14d0a15c8274c62bffa326f768bebe54e9
parent: 8e78804fc05e70caf71cfcfe393de22aea1ac22c
author: mischief <mischief@offblast.org>
date: Wed Aug 5 02:37:02 EDT 2015

libmach: remove redundant check for big endian

--- a/sys/src/libmach/executable.c
+++ b/sys/src/libmach/executable.c
@@ -736,7 +736,7 @@
 		if(ep->ident[DATA] == ELFDATA2LSB){
 			fp->type = FMIPSLE;
 			fp->name = "mips le ELF32 executable";
-		} else if(ep->ident[DATA] == ELFDATA2MSB){
+		} else {
 			fp->type = FMIPS;
 			fp->name = "mips be ELF32 executable";
 		}