]> granicus.if.org Git - esp-idf/commitdiff
bootloader: Link RTC clock functions to the iram_loader section
authorAngus Gratton <angus@espressif.com>
Tue, 10 Sep 2019 01:28:17 +0000 (11:28 +1000)
committerAngus Gratton <gus@projectgus.com>
Tue, 10 Sep 2019 01:28:17 +0000 (11:28 +1000)
As flash encryption & secure boot needs these functions after the app is loaded.

Fixes regression introduced in fb72a6f629a62c0655e8eff1d2d3f67d7aa9b62c

components/bootloader/subproject/main/esp32.bootloader.ld

index 847049096ac8843214d13963421c84b8d0831221..3dca75609794552db1427d965dc49744c1ad4f42 100644 (file)
@@ -40,6 +40,7 @@ SECTIONS
      *(.iram1 .iram1.*) /* catch stray IRAM_ATTR */
     *liblog.a:(.literal .text .literal.* .text.*)
     *libgcc.a:(.literal .text .literal.* .text.*)
+    *libbootloader_support.a:bootloader_clock.*(.literal .text .literal.* .text.*)
     *libbootloader_support.a:bootloader_common.*(.literal .text .literal.* .text.*)
     *libbootloader_support.a:bootloader_flash.*(.literal .text .literal.* .text.*)
     *libbootloader_support.a:bootloader_random.*(.literal .text .literal.* .text.*)
@@ -53,6 +54,7 @@ SECTIONS
     *libmicro-ecc.a:*.*(.literal .text .literal.* .text.*)
     *libspi_flash.a:*.*(.literal .text .literal.* .text.*)
     *libsoc.a:rtc_wdt.*(.literal .text .literal.* .text.*)
+    *libsoc.a:rtc_clk.*(.literal .text .literal.* .text.*)
     *libefuse.a:*.*(.literal .text .literal.* .text.*)
     *(.fini.literal)
     *(.fini)