Skip to content

Commit

Permalink
[REVERT] Don't enforce OSABI
Browse files Browse the repository at this point in the history
  • Loading branch information
mkroening committed May 31, 2022
1 parent c037bb6 commit 913135a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/kernel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,6 @@ impl<'a> Object<'a> {
data_encoding,
"kernel object is not little endian"
);
let os_abi = header.e_ident[header::EI_OSABI];
assert_eq!(
header::ELFOSABI_STANDALONE,
os_abi,
"kernel is not a hermit application"
);

assert!(
matches!(header.e_type, header::ET_DYN | header::ET_EXEC),
Expand Down

0 comments on commit 913135a

Please sign in to comment.