From 464581667412865d988ee8bd9eee5f6fec9c3457 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Tue, 10 Mar 2020 14:43:15 +0800 Subject: [PATCH] tools: elf: add comment and dead code for alignment fixing This issue was spotted when the kernel address was wrong. This fixed the test, but was indicative of something else being wrong. Signed-off-by: Sean Cross --- tools/src/elf.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/src/elf.rs b/tools/src/elf.rs index 0559471f2..95c876420 100644 --- a/tools/src/elf.rs +++ b/tools/src/elf.rs @@ -176,6 +176,10 @@ pub fn read_program>(filename: P) -> Result