shithub: riscv

Download patch

ref: 8e78804fc05e70caf71cfcfe393de22aea1ac22c
parent: 7844dafe621c7151a301220948edf494af2b8af9
author: mischief <mischief@offblast.org>
date: Wed Aug 5 02:30:57 EDT 2015

libmach: remove useless error check from previous commit

--- a/sys/src/libmach/executable.c
+++ b/sys/src/libmach/executable.c
@@ -739,9 +739,6 @@
 		} else if(ep->ident[DATA] == ELFDATA2MSB){
 			fp->type = FMIPS;
 			fp->name = "mips be ELF32 executable";
-		} else {
-			werrstr("bad ELF32 encoding - not big or little endian");
-			return 0;
 		}
 		break;
 	case SPARC64: