libmach: remove redundant check for big endian
This commit is contained in:
parent
8e78804fc0
commit
23215e14d0
|
@ -736,7 +736,7 @@ elf32dotout(int fd, Fhdr *fp, ExecHdr *hp)
|
||||||
if(ep->ident[DATA] == ELFDATA2LSB){
|
if(ep->ident[DATA] == ELFDATA2LSB){
|
||||||
fp->type = FMIPSLE;
|
fp->type = FMIPSLE;
|
||||||
fp->name = "mips le ELF32 executable";
|
fp->name = "mips le ELF32 executable";
|
||||||
} else if(ep->ident[DATA] == ELFDATA2MSB){
|
} else {
|
||||||
fp->type = FMIPS;
|
fp->type = FMIPS;
|
||||||
fp->name = "mips be ELF32 executable";
|
fp->name = "mips be ELF32 executable";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue