2021-03-18 08:48:22 +00:00
|
|
|
/* Make sure the INIT & .rsrc sections are at the end of the module so we can reclaim the space */
|
2019-06-29 17:24:28 +00:00
|
|
|
SECTIONS
|
|
|
|
{
|
2021-04-12 17:59:52 +00:00
|
|
|
INIT BLOCK(__section_alignment__) : ALIGN(__file_alignment__)
|
2019-06-29 17:24:28 +00:00
|
|
|
{
|
|
|
|
__init_start__ = . ;
|
|
|
|
*(INIT)
|
|
|
|
__init_end__ = . ;
|
|
|
|
}
|
2021-04-12 17:59:52 +00:00
|
|
|
.rsrc BLOCK(__section_alignment__) : ALIGN(__file_alignment__)
|
2021-03-18 08:48:22 +00:00
|
|
|
{
|
|
|
|
__rsrc_start__ = . ;
|
|
|
|
*(.rsrc)
|
|
|
|
__rsrc_end__ = . ;
|
|
|
|
}
|
2019-06-29 17:24:28 +00:00
|
|
|
}
|
2021-02-23 17:26:43 +00:00
|
|
|
INSERT BEFORE .reloc; /* .reloc is always at the end */
|