https://git.reactos.org/?p=reactos.git;a=commitdiff;h=97a8953538ac48240f0f9c4b102c9ecbfbac7c1d
commit 97a8953538ac48240f0f9c4b102c9ecbfbac7c1d Author: Jérôme Gardou <jerome.gar...@reactos.org> AuthorDate: Mon Apr 12 19:59:52 2021 +0200 Commit: Jérôme Gardou <zefk...@users.noreply.github.com> CommitDate: Wed Apr 28 13:10:23 2021 +0200 [CMAKE:GCC] Enforce file alignment on driver & kernel images --- sdk/cmake/init-section.lds | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/cmake/init-section.lds b/sdk/cmake/init-section.lds index a40433ae91b..51f8299dbd0 100644 --- a/sdk/cmake/init-section.lds +++ b/sdk/cmake/init-section.lds @@ -1,13 +1,13 @@ /* Make sure the INIT & .rsrc sections are at the end of the module so we can reclaim the space */ SECTIONS { - INIT BLOCK(__section_alignment__) : + INIT BLOCK(__section_alignment__) : ALIGN(__file_alignment__) { __init_start__ = . ; *(INIT) __init_end__ = . ; } - .rsrc BLOCK(__section_alignment__) : + .rsrc BLOCK(__section_alignment__) : ALIGN(__file_alignment__) { __rsrc_start__ = . ; *(.rsrc)