mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
bump image size
This commit is contained in:
parent
a798552dee
commit
06e24fb44f
1 changed files with 9 additions and 0 deletions
|
@ -662,6 +662,15 @@ impl Preprocessor {
|
|||
.size_of_headers
|
||||
.set(LE, self.new_headers_size as u32);
|
||||
|
||||
// this is required to run the intermediate product, the final surgery process will
|
||||
// overwrite this again. But we want to run the intermediate product (the preprocessedhost)
|
||||
// to be runnable for debugging purposes.
|
||||
nt_headers.optional_header.size_of_image.set(
|
||||
LE,
|
||||
nt_headers.optional_header.size_of_image.get(LE)
|
||||
+ (self.section_alignment * extra_sections.len()) as u32,
|
||||
);
|
||||
|
||||
// update the section file offsets
|
||||
//
|
||||
// Sections:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue