mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-01 11:48:10 +00:00
section align fixes
This commit is contained in:
committed by
Ryan Fleury
parent
681c1619fb
commit
c0613c2a7e
+1
-1
@@ -2239,7 +2239,7 @@ lnk_build_win32_image(TP_Arena *arena, TP_Context *tp, LNK_Config *config, LNK_S
|
||||
String8 sect_data = str8_substr(obj->data, rng_1u64(sect_header->foff, sect_header->foff + sect_header->fsize));
|
||||
|
||||
// extract align
|
||||
U16 sc_align = coff_align_size_from_section_flags(COFF_SectionFlags_ExtractAlign(sect_header->flags));
|
||||
U16 sc_align = coff_align_size_from_section_flags(sect_header->flags);
|
||||
if (sc_align == 0) {
|
||||
sc_align = default_align;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user