WIP function pad min

This commit is contained in:
Nikita Smith
2025-06-25 10:53:24 -07:00
committed by Ryan Fleury
parent d7b8de5998
commit a5119e3b51
10 changed files with 204 additions and 78 deletions
+1 -1
View File
@@ -347,7 +347,7 @@ lnk_finalize_section_layout(LNK_Section *sect, U64 file_align, U64 function_pad_
for (U64 sc_idx = 0; sc_idx < sc_chunk->count; sc_idx += 1) {
LNK_SectionContrib *sc = sc_chunk->v[sc_idx];
// assign offset and size
// assign offset
cursor = AlignPow2(cursor, sc->align);
sc->u.off = cursor;