mirror of
https://github.com/Noratrieb/elven-forest.git
synced 2026-01-14 10:45:03 +01:00
cleanup
This commit is contained in:
parent
d0da80c3e8
commit
e2c76a1d37
2 changed files with 2 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
use crate::{
|
||||
consts::{self as c, DynamicTag, ShType},
|
||||
idx::{define_idx, ElfIndexExt, ToIdxUsize},
|
||||
Addr, Offset, write::Section,
|
||||
Addr, Offset,
|
||||
};
|
||||
use bstr::BStr;
|
||||
|
||||
|
|
|
|||
|
|
@ -144,6 +144,7 @@ pub fn run(opts: Opts) -> Result<()> {
|
|||
let data = elf.section_content(shdr)?;
|
||||
content.extend(iter::repeat(0).take(part.pad_from_prev.try_into().unwrap()));
|
||||
content.extend(data);
|
||||
// TODO: relocations here
|
||||
}
|
||||
|
||||
let name = writer.add_sh_string(§ion.name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue