diff options
| author | Yilin Sun <[email protected]> | 2024-02-06 16:10:29 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2024-02-18 23:38:56 -0500 |
| commit | 08983b74c5bb46053fbf76c8fd45c99603d61f9d (patch) | |
| tree | f3700f9e435a73a251426b38917afc88ab0ae79a | |
| parent | a8629421ba1c80c63ccd6afd13b1c183c9162405 (diff) | |
[bsp][nxp/mcxn10] Add RTT constant table sections to GNU lds.
Details: Please check #8525
Signed-off-by: Yilin Sun <[email protected]>
| -rw-r--r-- | bsp/nxp/mcxn/frdm-mcxn947/board/linker_scripts/MCXN947_cm33_core0_flash.ld | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/bsp/nxp/mcxn/frdm-mcxn947/board/linker_scripts/MCXN947_cm33_core0_flash.ld b/bsp/nxp/mcxn/frdm-mcxn947/board/linker_scripts/MCXN947_cm33_core0_flash.ld index d6dc5acca2..f180814340 100644 --- a/bsp/nxp/mcxn/frdm-mcxn947/board/linker_scripts/MCXN947_cm33_core0_flash.ld +++ b/bsp/nxp/mcxn/frdm-mcxn947/board/linker_scripts/MCXN947_cm33_core0_flash.ld @@ -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.*) |
