layouting

This commit is contained in:
nora 2023-02-16 20:02:41 +01:00
parent 1520524d6f
commit 00c4a7ee66
4 changed files with 228 additions and 178 deletions

View file

@ -92,6 +92,7 @@ fn write_output(text: &[u8], entry_offset_from_text: u64) -> Result<()> {
flags: 0,
fixed_entsize: None,
content: text.to_vec(),
addr_align: None,
})?;
let elf_header_and_program_headers = ProgramHeader {