Lines Matching +full:message +full:- +full:objects
1 # SPDX-License-Identifier: Apache-2.0
5 # When Toolchain home is defined, then we are cross-compiling, so only look
10 find_program(CMAKE_LINKER xt-ld ${LD_SEARCH_PATH})
12 set_ifndef(LINKERFLAGPREFIX -Wl)
21 … <FLAGS> <CMAKE_CXX_LINK_FLAGS> <LINK_FLAGS> ${LIBGCC_DIR}/crtbegin.o <OBJECTS> -o <TARGET> <LINK_…
25 # NOTE: ${linker_script_gen} will be produced at build-time; not at configure-time
33 -DPASS="${linker_pass_define}"
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>"
41 -DOUT_FILE=${CMAKE_CURRENT_BINARY_DIR}/${linker_script_gen}
42 -P ${ZEPHYR_BASE}/cmake/linker/ld/ld_script.cmake
46 list(TRANSFORM template_script_defines PREPEND "-D")
54 # TODO: How would the linker script dependencies work for non-linker
56 message(STATUS "Warning; this generator is not well supported. The
72 -x assembler-with-cpp
74 -MD -MF ${linker_script_gen}.dep -MT ${linker_script_gen}
75 -D_LINKER
76 -D_ASMLANGUAGE
77 -D__GCC_LINKER_CMD__
78 -imacros ${AUTOCONF_H}
81 -E ${LINKER_SCRIPT}
82 -P # Prevent generation of debug `#line' directives.
83 -o ${linker_script_gen}
94 zephyr_link_libraries(${LINKERFLAGPREFIX},-u,${symbol})
98 # Link a target to given libraries with toolchain-specific argument order
126 ${LINKERFLAGPREFIX},-Map=${TOOLCHAIN_LD_LINK_ELF_OUTPUT_MAP}
127 ${LINKERFLAGPREFIX},--whole-archive
129 ${LINKERFLAGPREFIX},--no-whole-archive
132 -L${PROJECT_BINARY_DIR}
153 set(common_link "<LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES> ${zephyr_std_libs}")
159 # xt-ld is Xtensa's own version of binutils' ld.