Home
last modified time | relevance | path

Searched full:linker (Results 1 – 25 of 920) sorted by relevance

12345678910>>...37

/Zephyr-latest/cmake/linker/
Dlinker_flags_template.cmake6 # Basic linker properties which should always be applied for a Zephyr build.
7 set_property(TARGET linker PROPERTY base)
10 # Basic linker properties which should always be applied for a Zephyr build
12 set_property(TARGET linker PROPERTY cpp_base)
15 set_property(TARGET linker PROPERTY baremetal)
17 # Property for controlling linker reporting / handling when placing orphaned sections.
18 set_property(TARGET linker PROPERTY orphan_warning)
19 set_property(TARGET linker PROPERTY orphan_error)
21 # coverage is a property holding the linker flag required for coverage support on the toolchain.
24 set_property(TARGET linker PROPERTY coverage)
[all …]
/Zephyr-latest/cmake/linker/ld/
Dlinker_flags.cmake5 check_set_linker_property(TARGET linker PROPERTY base
10 check_set_linker_property(TARGET linker PROPERTY baremetal
17 check_set_linker_property(TARGET linker PROPERTY orphan_warning
21 check_set_linker_property(TARGET linker PROPERTY orphan_error
25 check_set_linker_property(TARGET linker PROPERTY memusage "${LINKERFLAGPREFIX},--print-memory-usage…
32 set_property(TARGET linker PROPERTY no_position_independent "${LINKERFLAGPREFIX},-no-pie")
34 set_property(TARGET linker PROPERTY no_position_independent)
37 set_property(TARGET linker PROPERTY partial_linking "-r")
39 set_property(TARGET linker PROPERTY lto_arguments -flto=auto -fno-ipa-sra -ffunction-sections -fdat…
41 check_set_linker_property(TARGET linker PROPERTY no_relax ${LINKERFLAGPREFIX},--no-relax)
[all …]
Dtarget.cmake2 set_property(TARGET linker PROPERTY devices_start_symbol "_device_list_start")
27 "set(FORMAT \"$<TARGET_PROPERTY:linker,FORMAT>\" CACHE INTERNAL \"\")\n
28 set(ENTRY \"$<TARGET_PROPERTY:linker,ENTRY>\" CACHE INTERNAL \"\")\n
29 set(MEMORY_REGIONS \"$<TARGET_PROPERTY:linker,MEMORY_REGIONS>\" CACHE INTERNAL \"\")\n
30 set(GROUPS \"$<TARGET_PROPERTY:linker,GROUPS>\" CACHE INTERNAL \"\")\n
31 set(SECTIONS \"$<TARGET_PROPERTY:linker,SECTIONS>\" CACHE INTERNAL \"\")\n
32 set(SECTION_SETTINGS \"$<TARGET_PROPERTY:linker,SECTION_SETTINGS>\" CACHE INTERNAL \"\")\n
33 set(SYMBOLS \"$<TARGET_PROPERTY:linker,SYMBOLS>\" CACHE INTERNAL \"\")\n
43 -P ${ZEPHYR_BASE}/cmake/linker/ld/ld_script.cmake
56 # TODO: How would the linker script dependencies work for non-linker
[all …]
Dtarget_configure.cmake11 ${ZEPHYR_BASE}/include/zephyr/linker/app_smem.ld
15 ${ZEPHYR_BASE}/include/zephyr/linker/app_smem_aligned.ld
19 ${ZEPHYR_BASE}/include/zephyr/linker/app_smem_unaligned.ld
24 ${ZEPHYR_BASE}/include/zephyr/linker/app_smem_pinned.ld
28 ${ZEPHYR_BASE}/include/zephyr/linker/app_smem_pinned_aligned.ld
32 ${ZEPHYR_BASE}/include/zephyr/linker/app_smem_pinned_unaligned.ld
/Zephyr-latest/include/zephyr/linker/
Dcommon-rom.ld3 #include <zephyr/linker/common-rom/common-rom-kernel-devices.ld>
5 #include <zephyr/linker/common-rom/common-rom-ztest.ld>
7 #include <zephyr/linker/common-rom/common-rom-init.ld>
9 #include <zephyr/linker/common-rom/common-rom-net.ld>
11 #include <zephyr/linker/common-rom/common-rom-bt.ld>
13 #include <zephyr/linker/common-rom/common-rom-logging.ld>
15 #include <zephyr/linker/common-rom/common-rom-debug.ld>
17 #include <zephyr/linker/common-rom/common-rom-interrupt-controllers.ld>
19 #include <zephyr/linker/common-rom/common-rom-misc.ld>
Dlinker-tool.h9 * @brief Toolchain-agnostic linker defs
12 * definitions (based on the toolchain) for the linker script.
20 #include <zephyr/linker/linker-tool-gcc.h>
22 #include <zephyr/linker/linker-tool-mwdt.h>
24 #include <zephyr/linker/linker-tool-lld.h>
/Zephyr-latest/tests/application_development/code_relocation/
Dlinker_arm_sram2.ld9 * @brief Linker command/script file
11 * Linker script for the Cortex-M platforms.
14 #include <zephyr/linker/sections.h>
17 #include <zephyr/linker/linker-defs.h>
18 #include <zephyr/linker/linker-tool.h>
39 /* Include the SoC-specific linker file */
40 #include <linker.ld>
Dlinker_riscv_qemu_sram2.ld7 #include <zephyr/linker/sections.h>
10 #include <zephyr/linker/linker-defs.h>
11 #include <zephyr/linker/linker-tool.h>
27 #include <zephyr/arch/riscv/common/linker.ld>
Dlinker_xtensa_qemu_sram2.ld7 #include <zephyr/linker/sections.h>
10 #include <zephyr/linker/linker-defs.h>
11 #include <zephyr/linker/linker-tool.h>
/Zephyr-latest/cmake/linker/xt-ld/
Dlinker_flags.cmake5 check_set_linker_property(TARGET linker PROPERTY base
11 set_property(TARGET linker PROPERTY cpp_base -lstdc++)
14 check_set_linker_property(TARGET linker PROPERTY baremetal
21 check_set_linker_property(TARGET linker PROPERTY orphan_warning
25 check_set_linker_property(TARGET linker PROPERTY orphan_error
29 set_property(TARGET linker PROPERTY partial_linking "-r")
31 check_set_linker_property(TARGET linker PROPERTY no_relax ${LINKERFLAGPREFIX},--no-relax)
33 check_set_linker_property(TARGET linker PROPERTY sort_alignment
Dtarget.cmake2 set_property(TARGET linker PROPERTY devices_start_symbol "_device_list_start")
6 # for linker in that path, else we are using host tools.
34 -DFORMAT="$<TARGET_PROPERTY:linker,FORMAT>"
35 -DENTRY="$<TARGET_PROPERTY:linker,ENTRY>"
36 -DMEMORY_REGIONS="$<TARGET_PROPERTY:linker,MEMORY_REGIONS>"
37 -DGROUPS="$<TARGET_PROPERTY:linker,GROUPS>"
38 -DSECTIONS="$<TARGET_PROPERTY:linker,SECTIONS>"
39 -DSECTION_SETTINGS="$<TARGET_PROPERTY:linker,SECTION_SETTINGS>"
40 -DSYMBOLS="$<TARGET_PROPERTY:linker,SYMBOLS>"
42 -P ${ZEPHYR_BASE}/cmake/linker/ld/ld_script.cmake
[all …]
/Zephyr-latest/tests/drivers/syscon/
Dlinker_arm64_reserved.ld6 #include <zephyr/linker/sections.h>
9 #include <zephyr/linker/linker-defs.h>
10 #include <zephyr/linker/linker-tool.h>
12 #include <zephyr/arch/arm64/scripts/linker.ld>
/Zephyr-latest/tests/lib/shared_multi_heap/
Dlinker_arm64_shared_pool.ld7 #include <zephyr/linker/sections.h>
10 #include <zephyr/linker/linker-defs.h>
11 #include <zephyr/linker/linker-tool.h>
13 #include <zephyr/arch/arm64/scripts/linker.ld>
/Zephyr-latest/cmake/linker/arcmwdt/
Dlinker_flags.cmake5 set_property(TARGET linker PROPERTY cpp_base -Hcplus)
7 check_set_linker_property(TARGET linker PROPERTY baremetal
25 check_set_linker_property(TARGET linker APPEND PROPERTY baremetal
31 check_set_linker_property(TARGET linker PROPERTY orphan_warning
35 check_set_linker_property(TARGET linker PROPERTY orphan_error
40 set_property(TARGET linker PROPERTY warnings_as_errors -Wl,--fatal-warnings)
42 check_set_linker_property(TARGET linker PROPERTY sort_alignment -Wl,--sort-section=alignment)
/Zephyr-latest/cmake/linker/lld/
Dlinker_libraries.cmake5 set_linker_property(NO_CREATE TARGET linker PROPERTY c_library "-lc")
7 set_linker_property(NO_CREATE TARGET linker PROPERTY rt_library "")
8 set_linker_property(TARGET linker PROPERTY c++_library "-lc++;-lc++abi")
13 # set_property(TARGET linker PROPERTY c++_library "<external_c++_lib>")
16 set_property(TARGET linker PROPERTY link_order_library "c++")
19 set_property(TARGET linker APPEND PROPERTY link_order_library "c;rt")
Dlinker_flags.cmake8 include(${ZEPHYR_BASE}/cmake/linker/ld/linker_flags.cmake OPTIONAL)
11 set_property(TARGET linker PROPERTY cpp_base ${LINKERFLAGPREFIX},-z,norelro)
14 set_property(TARGET linker PROPERTY no_position_independent "${LINKERFLAGPREFIX},--no-pie")
16 set_property(TARGET linker PROPERTY lto_arguments)
18 check_set_linker_property(TARGET linker PROPERTY sort_alignment ${LINKERFLAGPREFIX},--sort-section=…
21 check_set_linker_property(TARGET linker PROPERTY relax ${LINKERFLAGPREFIX},--relax-gp)
/Zephyr-latest/cmake/modules/
DFindDeprecated.cmake109 "Please use '${LINKER}/linker_flags.cmake' and define the appropriate "
110 "linker flags as properties instead. "
111 "See '${ZEPHYR_BASE}/cmake/linker/linker_flags_template.cmake' for "
112 "known linker properties."
125 "Please use '${LINKER}/linker_flags.cmake' and define the appropriate "
126 "linker flags as properties instead. "
127 "See '${ZEPHYR_BASE}/cmake/linker/linker_flags_template.cmake' for "
128 "known linker properties."
141 "Please use '${LINKER}/linker_flags.cmake' and define the appropriate "
142 "linker flags as properties instead. "
[all …]
/Zephyr-latest/include/zephyr/arch/mips/
Dlinker.ld4 * based on include/arch/sparc/linker.ld
11 * @brief Linker command/script file for the MIPS platform
14 #include <zephyr/linker/sections.h>
15 #include <zephyr/linker/linker-defs.h>
16 #include <zephyr/linker/linker-tool.h>
28 /* Used by and documented in include/linker/intlist.ld */
47 #include <zephyr/linker/rel-sections.ld>
50 #include <zephyr/linker/llext-sections.ld>
81 #include <zephyr/linker/common-rom.ld>
86 #include <zephyr/linker/thread-local-storage.ld>
[all …]
/Zephyr-latest/soc/st/stm32/stm32mp1x/
Dlinker.ld1 /* linker.ld - Linker command/script file */
10 #include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
15 #include <zephyr/linker/rel-sections.ld>
18 #include <zephyr/linker/llext-sections.ld>
/Zephyr-latest/include/zephyr/arch/posix/
Dlinker.ld10 * @brief Linker command/script file
12 * Linker script for the POSIX (native) platform
15 #include <zephyr/linker/sections.h>
17 #include <zephyr/linker/linker-defs.h>
18 #include <zephyr/linker/linker-tool.h>
25 #include <zephyr/linker/llext-sections.ld>
36 #include <zephyr/linker/common-rom.ld>
58 #include <zephyr/linker/common-ram.ld>
/Zephyr-latest/cmake/linker/ld/clang/
Dlinker_flags.cmake1 # The coverage linker flag is specific for clang.
3 set_property(TARGET linker PROPERTY coverage --coverage)
5 set_property(TARGET linker PROPERTY coverage -fprofile-instr-generate -fcoverage-mapping)
9 set_property(TARGET linker PROPERTY ld_extra_warning_options ${LINKERFLAGPREFIX},--fatal-warnings)
15 set_property(TARGET linker APPEND PROPERTY cpp_base ${LINKERFLAGPREFIX},-z,norelro)
/Zephyr-latest/include/zephyr/arch/sparc/
Dlinker.ld9 * @brief Linker command/script file for SPARC
14 #include <zephyr/linker/sections.h>
16 #include <zephyr/linker/linker-defs.h>
17 #include <zephyr/linker/linker-tool.h>
24 #include <zephyr/linker/rel-sections.ld>
27 #include <zephyr/linker/llext-sections.ld>
48 #include <zephyr/linker/common-rom.ld>
53 #include <zephyr/linker/thread-local-storage.ld>
70 #include <zephyr/linker/cplusplus-rom.ld>
113 #include <zephyr/linker/common-ram.ld>
[all …]
/Zephyr-latest/soc/sensry/ganymed/sy1xx/common/
Dlinker.ld9 * - include/arch/arm/cortex_m/scripts/linker.ld
10 * - include/arch/riscv/common/linker.ld
11 * - include/arch/riscv/pulpino/linker.ld
18 #include <zephyr/linker/sections.h>
19 #include <zephyr/linker/linker-defs.h>
20 #include <zephyr/linker/linker-tool.h>
51 * to generate interrupt tables. See include/linker/intlist.ld.
79 #include <zephyr/linker/rel-sections.ld>
82 #include <zephyr/linker/llext-sections.ld>
122 #include <zephyr/linker/common-rom.ld>
[all …]
/Zephyr-latest/cmake/linker/ld/gcc/
Dlinker_flags.cmake1 # The coverage linker flag is specific for gcc.
4 # linker flags themselves are not depending on actual configurations.
7 set_property(TARGET linker PROPERTY coverage -lgcov)
10 check_set_linker_property(TARGET linker APPEND PROPERTY gprof -pg)
17 set_property(TARGET linker PROPERTY warnings_as_errors -Wl,--fatal-warnings)
/Zephyr-latest/include/zephyr/arch/arm64/scripts/
Dlinker.ld9 * @brief Linker command/script file
11 * Linker script for the Cortex-A platforms.
14 #include <zephyr/linker/sections.h>
17 #include <zephyr/linker/devicetree_regions.h>
18 #include <zephyr/linker/linker-defs.h>
19 #include <zephyr/linker/linker-tool.h>
71 /* Used by and documented in include/linker/intlist.ld */
83 #include <zephyr/linker/rel-sections.ld>
86 #include <zephyr/linker/llext-sections.ld>
134 #include <zephyr/linker/kobject-text.ld>
[all …]

12345678910>>...37