nxp_adsp: linker: Update linker scripts for C++ build
When linking, in crtbegin.o for C++ exception support, we pull in the .tm_clone_table section. Update the linker scripts to handle this, otherwise we get a "warning: orphan section `.tm_clone_table'". Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
This commit is contained in:
parent
24f2d2e136
commit
23c49e554a
1 changed files with 5 additions and 0 deletions
|
@ -415,6 +415,11 @@ SECTIONS
|
|||
|
||||
#include <zephyr/linker/common-ram.ld>
|
||||
|
||||
/* Used for C++ build */
|
||||
.tm_clone_table : {
|
||||
*(.tm_clone_table)
|
||||
} >sdram0 :sdram0_phdr
|
||||
|
||||
.bss (NOLOAD) : ALIGN(8)
|
||||
{
|
||||
. = ALIGN (8);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue