soc: xtensa: linker: Update linker scripts for C++ build
When we link in crtbegin.o for C++ exception support we end up pulling in the .tm_clone_table section. We need to update the linker scripts to handle this. soc/xtensa/sample_controller/linker.ld was already updated, this fixes the others. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
106ca70997
commit
79e0ab743e
5 changed files with 25 additions and 0 deletions
|
@ -426,6 +426,11 @@ SECTIONS
|
|||
} >ram :ram_phdr
|
||||
#include <linker/common-ram.ld>
|
||||
|
||||
.tm_clone_table :
|
||||
{
|
||||
*(.tm_clone_table)
|
||||
} >ram :ram_phdr
|
||||
|
||||
.bss (NOLOAD) : ALIGN(8)
|
||||
{
|
||||
. = ALIGN (8);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue