From ec498ad86d0980fa2fc00179b239043095001a6a Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Tue, 16 May 2017 16:53:45 +1000 Subject: [PATCH] libgcc: Place assembly functions (including __xtensa_libgcc_window_spill) in IRAM --- components/esp32/ld/esp32.common.ld | 1 + 1 file changed, 1 insertion(+) diff --git a/components/esp32/ld/esp32.common.ld b/components/esp32/ld/esp32.common.ld index a46a3e25a9..99f9dd5434 100644 --- a/components/esp32/ld/esp32.common.ld +++ b/components/esp32/ld/esp32.common.ld @@ -94,6 +94,7 @@ SECTIONS *librtc.a:(.literal .text .literal.* .text.*) *libsoc.a:(.literal .text .literal.* .text.*) *libhal.a:(.literal .text .literal.* .text.*) + *libgcc.a:lib2funcs.o(.literal .text .literal.* .text.*) *libspi_flash.a:spi_flash_rom_patch.o(.literal .text .literal.* .text.*) _iram_text_end = ABSOLUTE(.); } > iram0_0_seg