Skip to content

Commit 002927b

Browse files
committed
add comment
1 parent 0ab3b66 commit 002927b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/binary/load_kernel.rs

+1
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ where
368368
);
369369

370370
match rela.get_type() {
371+
// R_AMD64_RELATIVE
371372
8 => {
372373
let offset_in_file = find_offset(elf_file, rela.get_offset())?
373374
.ok_or("Destination of relocation is not mapped in physical memory")?;

0 commit comments

Comments
 (0)