Files
esp-idf/components/bootloader/subproject/main/ld/esp32c6/bootloader.sections.ld.in
Alexey Lapshin a1cbc20a91 feat(bootloader): split linker scripts into memory and sections
Replaced per-target bootloader.ld.in with bootloader.memory.ld.in and
bootloader.sections.ld.in.

Common code moved to file bootloader.sections.common.ld

Unify ESP32-P4 ECO4- and ECO4+ linker scripts into one shared script
Revision-specific code is selected with CONFIG_ESP32P4_SELECTS_REV_LESS_V3
2026-04-03 11:40:33 +07:00

46 lines
3.0 KiB
Plaintext

/*
* SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#define IRAM_LOADER_TEXT_INPUTS \
*liblog.a:(.literal .text .literal.* .text.*) \
/* we use either libgcc or compiler-rt, so put similar entries for them here */ \
*libgcc.a:(.literal .text .literal.* .text.*) \
*libclang_rt.builtins.a:(.literal .text .literal.* .text.*) \
*libbootloader_support.a:bootloader_clock_loader.*(.literal .text .literal.* .text.*) \
*libbootloader_support.a:bootloader_common_loader.*(.literal .text .literal.* .text.*) \
*libbootloader_support.a:bootloader_flash.*(.literal .text .literal.* .text.*) \
*libbootloader_support.a:bootloader_random.*(.literal .text .literal.* .text.*) \
*libbootloader_support.a:bootloader_random*.*(.literal.bootloader_random_disable .text.bootloader_random_disable) \
*libbootloader_support.a:bootloader_random*.*(.literal.bootloader_random_enable .text.bootloader_random_enable) \
*libbootloader_support.a:bootloader_efuse.*(.literal .text .literal.* .text.*) \
*libbootloader_support.a:bootloader_utility.*(.literal .text .literal.* .text.*) \
*libbootloader_support.a:bootloader_utility_tee.*(.literal .text .literal.* .text.*) \
*libbootloader_support.a:bootloader_sha.*(.literal .text .literal.* .text.*) \
*libbootloader_support.a:bootloader_console_loader.*(.literal .text .literal.* .text.*) \
*libbootloader_support.a:bootloader_panic.*(.literal .text .literal.* .text.*) \
*libbootloader_support.a:bootloader_soc.*(.literal .text .literal.* .text.*) \
*libbootloader_support.a:esp_image_format.*(.literal .text .literal.* .text.*) \
*libbootloader_support.a:flash_encrypt.*(.literal .text .literal.* .text.*) \
*libbootloader_support.a:flash_encryption_secure_features.*(.literal .text .literal.* .text.*) \
*libbootloader_support.a:flash_partitions.*(.literal .text .literal.* .text.*) \
*libbootloader_support.a:secure_boot.*(.literal .text .literal.* .text.*) \
*libbootloader_support.a:secure_boot_secure_features.*(.literal .text .literal.* .text.*) \
*libbootloader_support.a:secure_boot_signatures_bootloader.*(.literal .text .literal.* .text.*) \
*libmicro-ecc.a:*.*(.literal .text .literal.* .text.*) \
*libspi_flash.a:*.*(.literal .text .literal.* .text.*) \
*libhal.a:mmu_hal.*(.literal .text .literal.* .text.*) \
*libhal.a:cache_hal.*(.literal .text .literal.* .text.*) \
*libhal.a:efuse_hal.*(.literal .text .literal.* .text.*) \
*libesp_hal_wdt.a:wdt_hal_iram.*(.literal .text .literal.* .text.*) \
*libesp_hw_support.a:rtc_clk.*(.literal .text .literal.* .text.*) \
*libesp_hw_support.a:rtc_time.*(.literal .text .literal.* .text.*) \
*libesp_hw_support.a:regi2c_ctrl.*(.literal .text .literal.* .text.*) \
*libesp_hal_regi2c.a:regi2c_impl.*(.literal .text .literal.* .text.*) \
*libefuse.a:*.*(.literal .text .literal.* .text.*) \
*libriscv.a:rv_utils.*(.literal .text .literal.* .text.*)
#include "bootloader.sections.common.ld"