esp32_flash.ld: Avoid having too many sections

Fixes an issue I saw when trying libcxx.

esptool.py has a limit of 16 sections.

It complains like:

    A fatal error occurred: Invalid segment count 23 (max 16).
    Usually this indicates a linker script problem.
This commit is contained in:
YAMAMOTO Takashi 2020-10-23 23:10:11 +09:00 committed by Xiang Xiao
parent 5386f972fa
commit d8bee6769a

View File

@ -136,6 +136,7 @@ SECTIONS
__XT_EXCEPTION_TABLE_ = ABSOLUTE(.);
*(.xt_except_table)
*(.gcc_except_table)
*(.gcc_except_table.*)
*(.gnu.linkonce.e.*)
*(.gnu.version_r)
*(.eh_frame)