mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
improve formatting so section alignments are easier to debug
This commit is contained in:
parent
3fb3641439
commit
86d2437f03
1 changed files with 2 additions and 2 deletions
|
|
@ -55,8 +55,8 @@ impl fmt::Display for MiniElfSection {
|
||||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||||
write!(
|
write!(
|
||||||
f,
|
f,
|
||||||
"Section {}: {} bytes loading @ {:08x} flags: {:?}",
|
"Section {:13} {:6} bytes loading into {:08x}..{:08x} flags: {:?}",
|
||||||
self.name, self.size, self.virt, self.flags
|
self.name, self.size, self.virt, self.virt + self.size, self.flags
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue