4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-01 01:30:26 +08:00

[bsp][nxp/mcxn10] Add RTT constant table sections to GNU lds.

Details: Please check #8525

Signed-off-by: Yilin Sun <imi415@imi.moe>
This commit is contained in:
Yilin Sun 2024-02-06 16:10:29 +08:00 committed by Meco Man
parent a8629421ba
commit 08983b74c5

View File

@ -102,6 +102,26 @@ SECTIONS
. = ALIGN(4);
} > m_text
.rtt_const_tables :
{
/* section information for finsh shell */
. = ALIGN(4);
__fsymtab_start = .;
KEEP(*(FSymTab))
__fsymtab_end = .;
. = ALIGN(4);
__vsymtab_start = .;
KEEP(*(VSymTab))
__vsymtab_end = .;
/* section information for initial. */
. = ALIGN(4);
__rt_init_start = .;
KEEP(*(SORT(.rti_fn*)))
__rt_init_end = .;
} > m_text
.ARM.extab :
{
*(.ARM.extab* .gnu.linkonce.armextab.*)