mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 20:02:55 +00:00
[CMAKE:GCC] Enforce file alignment on driver & kernel images
This commit is contained in:
parent
382426f02e
commit
97a8953538
|
@ -1,13 +1,13 @@
|
||||||
/* Make sure the INIT & .rsrc sections are at the end of the module so we can reclaim the space */
|
/* Make sure the INIT & .rsrc sections are at the end of the module so we can reclaim the space */
|
||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
INIT BLOCK(__section_alignment__) :
|
INIT BLOCK(__section_alignment__) : ALIGN(__file_alignment__)
|
||||||
{
|
{
|
||||||
__init_start__ = . ;
|
__init_start__ = . ;
|
||||||
*(INIT)
|
*(INIT)
|
||||||
__init_end__ = . ;
|
__init_end__ = . ;
|
||||||
}
|
}
|
||||||
.rsrc BLOCK(__section_alignment__) :
|
.rsrc BLOCK(__section_alignment__) : ALIGN(__file_alignment__)
|
||||||
{
|
{
|
||||||
__rsrc_start__ = . ;
|
__rsrc_start__ = . ;
|
||||||
*(.rsrc)
|
*(.rsrc)
|
||||||
|
|
Loading…
Reference in a new issue