diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2024-08-01 08:33:17 +0200 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2024-08-01 08:33:17 +0200 |
commit | b616893b365572efe90e1482aa9d3a62c112bf74 (patch) | |
tree | 16c6bf9c5901753d9925b64b52e547e25c68d919 | |
parent | cfa77100929e31771730e964f63ff28b0e6ce387 (diff) | |
download | bxgen-b616893b365572efe90e1482aa9d3a62c112bf74.zip |
Fix num program headers
-rwxr-xr-x | bxgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2565,7 +2565,7 @@ i64 unit_write_in_memory( emit_unit(pool, codegen, unit, arch); - u16 num_program_headers = 9; + u16 num_program_headers = 10; i64 program_offset = align(ELF_HEADER_SIZE + ELF_PROGRAM_HEADER_SIZE * num_program_headers, X86_64_PAGE_SIZE); i64 base_address = X86_64_BASE_ADDRESS; |