WIP function pad min

This commit is contained in:
Nikita Smith authored and Ryan Fleury committed 2025-06-25 10:53:24 -07:00
1 parent d7b8de5998
commit a5119e3b51
10 files changed
+204 -78

No files matched your search

+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;