mirror of
https://github.com/pine64/bl_iot_sdk.git
synced 2024-07-03 03:28:46 +00:00
fix issue #18
This commit is contained in:
parent
25fb041d1c
commit
71e5f5e303
|
@ -67,6 +67,23 @@ SECTIONS
|
|||
|
||||
*(.gnu.linkonce.r.*)
|
||||
} > flash
|
||||
|
||||
.preinit_array :
|
||||
{
|
||||
. = ALIGN(4);
|
||||
__preinit_array_start = .;
|
||||
KEEP (*(.preinit_array))
|
||||
__preinit_array_end = .;
|
||||
} > flash
|
||||
|
||||
.init_array :
|
||||
{
|
||||
. = ALIGN(4);
|
||||
__init_array_start = .;
|
||||
KEEP (*(SORT_BY_INIT_PRIORITY(.init_array.*)))
|
||||
KEEP (*(.init_array))
|
||||
__init_array_end = .;
|
||||
} > flash
|
||||
|
||||
/*put wifibss in the first place*/
|
||||
.wifibss (NOLOAD) :
|
||||
|
|
|
@ -23,6 +23,23 @@ SECTIONS
|
|||
*(.text .text.*)
|
||||
*(.gnu.linkonce.t.*)
|
||||
} >ram
|
||||
|
||||
.preinit_array :
|
||||
{
|
||||
. = ALIGN(4);
|
||||
__preinit_array_start = .;
|
||||
KEEP (*(.preinit_array))
|
||||
__preinit_array_end = .;
|
||||
} > ram
|
||||
|
||||
.init_array :
|
||||
{
|
||||
. = ALIGN(4);
|
||||
__init_array_start = .;
|
||||
KEEP (*(SORT_BY_INIT_PRIORITY(.init_array.*)))
|
||||
KEEP (*(.init_array))
|
||||
__init_array_end = .;
|
||||
} > ram
|
||||
|
||||
.rodata :
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user