ldgen: Remove some remaining references to TARGET.project.ld.in

This commit is contained in:
Angus Gratton
2021-07-07 11:55:33 +10:00
committed by Michael (XIAO Xufeng)
parent 1e628c0f30
commit c1ca7a35b0
4 changed files with 4 additions and 4 deletions

View File

@@ -162,7 +162,7 @@ size_t __cxx_eh_arena_size_get(void)
* The rest of the init_array sections is sorted for iteration in descending order during startup, however. * The rest of the init_array sections is sorted for iteration in descending order during startup, however.
* Hence a different section is generated for the init_priority functions which is looped * Hence a different section is generated for the init_priority functions which is looped
* over in ascending direction instead of descending direction. * over in ascending direction instead of descending direction.
* The RISC-V-specific behavior is dependent on the linker script esp32c3.project.ld.in. * The RISC-V-specific behavior is dependent on the linker script ld/esp32c3/sections.ld.in.
*/ */
static void do_global_ctors(void) static void do_global_ctors(void)
{ {

View File

@@ -79,7 +79,7 @@ const soc_memory_region_t soc_memory_regions[] = {
const size_t soc_memory_region_count = sizeof(soc_memory_regions) / sizeof(soc_memory_region_t); const size_t soc_memory_region_count = sizeof(soc_memory_regions) / sizeof(soc_memory_region_t);
extern int _data_start, _heap_start, _iram_start, _iram_end; // defined in esp32s3.project.ld.in extern int _data_start, _heap_start, _iram_start, _iram_end; // defined in sections.ld.in
/** /**
* Reserved memory regions. * Reserved memory regions.

View File

@@ -619,4 +619,4 @@ Then the corresponding excerpt from the generated linker script will be as follo
Rule generated from the default scheme entry ``iram -> iram0_text``. Since the default scheme specifies an ``iram -> iram0_text`` entry, it too is placed wherever ``iram0_text`` is referenced by a marker. Since it is a rule generated from the default scheme, it comes first among all other rules collected under the same target name. Rule generated from the default scheme entry ``iram -> iram0_text``. Since the default scheme specifies an ``iram -> iram0_text`` entry, it too is placed wherever ``iram0_text`` is referenced by a marker. Since it is a rule generated from the default scheme, it comes first among all other rules collected under the same target name.
The linker script template currently used is :component_file:`{IDF_TARGET_PATH_NAME}/ld/{IDF_TARGET_PATH_NAME}.project.ld.in`, specified by the ``{IDF_TARGET_PATH_NAME}`` component; the generated output script is put under its build directory. The linker script template currently used is :component_file:`esp_system/ld/{IDF_TARGET_PATH_NAME}/sections.ld.in`; the generated output script ``sections.ld`` is put under its build directory.

View File

@@ -619,4 +619,4 @@ ESP-IDF v4.0 变更了链接器脚本片段文件使用的一些语法:
这是根据默认协议条目 ``iram -> iram0_text`` 生成的规则。默认协议指定了 ``iram -> iram0_text`` 条目,因此生成的规则同样也放在被 ``iram0_text`` 标记的地方。由于该规则是根据默认协议生成的,因此在同一目标下收集的所有规则下排在第一位。 这是根据默认协议条目 ``iram -> iram0_text`` 生成的规则。默认协议指定了 ``iram -> iram0_text`` 条目,因此生成的规则同样也放在被 ``iram0_text`` 标记的地方。由于该规则是根据默认协议生成的,因此在同一目标下收集的所有规则下排在第一位。
目前使用的链接器脚本模板是 :component_file:`{IDF_TARGET_PATH_NAME}/ld/{IDF_TARGET_PATH_NAME}.project.ld.in```{IDF_TARGET_PATH_NAME}`` 组件指定,生成的脚本存放在构建目录下。 目前使用的链接器脚本模板是 :component_file:`esp_system/ld/{IDF_TARGET_PATH_NAME}/sections.ld.in`,生成的脚本存放在构建目录下。