fix(system): place idf's stray sections while linking

This commit is contained in:
Alexey Lapshin
2024-05-20 14:07:06 +04:00
parent 70fc0e3037
commit 5320ec20f9
20 changed files with 551 additions and 126 deletions
@@ -461,13 +461,7 @@ SECTIONS
_heap_start = ABSOLUTE(.);
} > dram0_0_seg
/DISCARD/ :
{
#if !(CONFIG_COMPILER_CXX_EXCEPTIONS || CONFIG_ESP_SYSTEM_USE_EH_FRAME)
*(.eh_frame_hdr)
*(.eh_frame)
#endif // !(CONFIG_COMPILER_CXX_EXCEPTIONS || CONFIG_ESP_SYSTEM_USE_EH_FRAME)
}
#include "elf_misc.ld.in"
}
ASSERT(((_iram_end - ORIGIN(iram0_0_seg)) <= LENGTH(iram0_0_seg)),