linker: esp32: fix cpp rom region
cplusplus-rom linker initialization was wrongly placed in RAM area when it should be in ROM area. Fixes #75853 Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This commit is contained in:
parent
9698df9dc4
commit
c374d3147b
1 changed files with 1 additions and 1 deletions
|
@ -646,7 +646,6 @@ SECTIONS
|
|||
} GROUP_DATA_LINK_IN(DRAM_REGION, ROMABLE_REGION)
|
||||
#endif /* CONFIG_ESP_SIMPLE_BOOT */
|
||||
|
||||
#include <zephyr/linker/cplusplus-rom.ld>
|
||||
#include <snippets-data-sections.ld>
|
||||
#include <zephyr/linker/common-ram.ld>
|
||||
#include <snippets-ram-sections.ld>
|
||||
|
@ -810,6 +809,7 @@ SECTIONS
|
|||
. = ALIGN(4);
|
||||
} GROUP_DATA_LINK_IN(RODATA_REGION, ROMABLE_REGION)
|
||||
|
||||
#include <zephyr/linker/cplusplus-rom.ld>
|
||||
#include <zephyr/linker/common-rom/common-rom-init.ld>
|
||||
#include <zephyr/linker/common-rom/common-rom-kernel-devices.ld>
|
||||
#include <zephyr/linker/common-rom/common-rom-ztest.ld>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue