Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Freax13 committed Dec 15, 2021
1 parent b29ecb6 commit 6794dee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/binary/load_kernel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ where
);

match rela.get_type() {
// R_AMD64_RELATIVE
8 => {
let offset_in_file = find_offset(elf_file, rela.get_offset())?
.ok_or("Destination of relocation is not mapped in physical memory")?;
Expand Down

0 comments on commit 6794dee

Please sign in to comment.