mirror of
https://github.com/reactos/reactos.git
synced 2024-10-01 23:14:53 +00:00
fcd06d286b
Thomas Faber thinks that it's a bit more safe to just move "after .rsrc" instead of the proper "after .reloc". A temporary tribute until ROSBE-154 will be fixed properly. For now we use this just for NTOSKRNL, but not for drivers yet, see MODULE TYPE sdk/cmake/gcc.cmake As using also for drivers would immediately lead to BSODs like CORE-16183. To allow installing DVDWritenow without BSOD, we need the script at least for ntoskrnl! The regression was introduced by SVN r55835 == git6ebf8c2537
This patch (after .rsrc) was already committed into 0.4.15-dev-220-gd28677795e
12 lines
228 B
Plaintext
12 lines
228 B
Plaintext
/* Make sure the INIT section is at the end of the module so we can reclaim the space */
|
|
SECTIONS
|
|
{
|
|
INIT BLOCK(__section_alignment__) :
|
|
{
|
|
__init_start__ = . ;
|
|
*(INIT)
|
|
__init_end__ = . ;
|
|
}
|
|
}
|
|
INSERT AFTER .rsrc;
|