Home
last modified time | relevance | path

Searched refs:sections (Results 1 – 25 of 266) sorted by relevance

1234567891011

/Zephyr-latest/scripts/build/
Dgen_kobject_placeholders.py60 sections = {
84 … if type(one_sect) is not elftools.elf.sections.Section: # pylint: disable=unidiomatic-typecheck
88 if name in sections:
90 sections[name]['align'] = one_sect['sh_addralign']
91 sections[name]['size'] = one_sect['sh_size']
92 sections[name]['exists'] = True
94 if "multiplier" in sections[name]:
95 sections[name]['size'] *= sections[name]['multiplier'] / 100
96 sections[name]['size'] = int(sections[name]['size'])
98 if "extra_bytes" in sections[name]:
[all …]
/Zephyr-latest/include/zephyr/arch/sparc/
Dlinker.ld14 #include <zephyr/linker/sections.h>
24 #include <zephyr/linker/rel-sections.ld>
27 #include <zephyr/linker/llext-sections.ld>
52 #include <snippets-rom-sections.ld>
118 #include <snippets-ram-sections.ld>
123 #include <snippets-data-sections.ld>
168 #include <snippets-sections.ld>
174 #include <zephyr/linker/debug-sections.ld>
/Zephyr-latest/include/zephyr/arch/posix/
Dlinker.ld15 #include <zephyr/linker/sections.h>
25 #include <zephyr/linker/llext-sections.ld>
40 #include <snippets-rom-sections.ld>
63 #include <snippets-ram-sections.ld>
70 #include <snippets-data-sections.ld>
85 #include <snippets-sections.ld>
/Zephyr-latest/cmake/linker_script/common/
Ddebug-sections.cmake1 # Content of this file originates from include/zephyr/linker/debug-sections.ld
2 # Following sections are obtained via 'ld --verbose'
4 # Stabs debugging sections.
14 # DWARF debug sections.
15 # Symbols in the DWARF debugging sections are relative to the beginning
/Zephyr-latest/cmake/linker/
Dlinker_script_common.cmake379 get_property(sections GLOBAL PROPERTY ${GET_OBJECT}_SECTIONS_FIXED)
380 list(APPEND out ${sections})
384 get_objects(LIST sections OBJECT ${group} TYPE ${GET_TYPE})
385 list(APPEND out ${sections})
388 get_property(sections GLOBAL PROPERTY ${GET_OBJECT}_SECTIONS)
389 list(APPEND out ${sections})
394 get_property(sections GLOBAL PROPERTY ${GET_OBJECT}_${vma}_SECTIONS_FIXED)
395 list(APPEND out ${sections})
399 get_objects(LIST sections OBJECT ${group} TYPE ${GET_TYPE})
400 list(APPEND out ${sections})
[all …]
/Zephyr-latest/include/zephyr/linker/
Ddebug-sections.ld3 /* following sections are obtained via 'ld --verbose' */
5 /* Stabs debugging sections. */
14 /* DWARF debug sections.
15 Symbols in the DWARF debugging sections are relative to the beginning
/Zephyr-latest/include/zephyr/arch/mips/
Dlinker.ld14 #include <zephyr/linker/sections.h>
47 #include <zephyr/linker/rel-sections.ld>
50 #include <zephyr/linker/llext-sections.ld>
85 #include <snippets-rom-sections.ld>
142 #include <snippets-ram-sections.ld>
147 #include <snippets-data-sections.ld>
195 #include <snippets-sections.ld>
201 #include <zephyr/linker/debug-sections.ld>
/Zephyr-latest/soc/st/stm32/stm32mp1x/
Dlinker.ld15 #include <zephyr/linker/rel-sections.ld>
18 #include <zephyr/linker/llext-sections.ld>
/Zephyr-latest/modules/trusted-firmware-m/psa/
DGNUARM.cmake19 set(CMAKE_C_FLAGS "${TARGET_SWITCH} -g -Wall -Werror -Wextra -fdata-sections -ffunction-sections
21 set(CMAKE_EXE_LINKER_FLAGS "-Xlinker --fatal-warnings -Xlinker --gc-sections -z max-page-size=0x400…
/Zephyr-latest/cmake/compiler/gcc/
Dtarget_arc.cmake16 -ffunction-sections
17 -fdata-sections
Dtarget_xtensa.cmake6 -ffunction-sections
7 -fdata-sections
Dtarget_arm64.cmake23 -ffunction-sections
24 -fdata-sections
/Zephyr-latest/cmake/compiler/xt-clang/
Dtarget.cmake8 -ffunction-sections
9 -fdata-sections
/Zephyr-latest/soc/openisa/rv32m1/
Dlinker.ld17 #include <zephyr/linker/sections.h>
88 #include <zephyr/linker/rel-sections.ld>
91 #include <zephyr/linker/llext-sections.ld>
131 #include <snippets-rom-sections.ld>
201 #include <snippets-data-sections.ld>
242 #include <snippets-ram-sections.ld>
247 #include <snippets-sections.ld>
258 #include <zephyr/linker/debug-sections.ld>
266 * Pulpino toolchains emit these sections; we don't care about them,
267 * but need to avoid build system warnings about orphaned sections.
/Zephyr-latest/cmake/linker/ld/
Dld_script.cmake2 # - Ensure LMA / VMA sections are correctly grouped similar to scatter file creation.
50 get_property(sections GLOBAL PROPERTY ${STRING_OBJECT}_SECTIONS_FIXED)
51 foreach(section ${sections})
55 get_property(sections GLOBAL PROPERTY ${STRING_OBJECT}_SECTIONS)
56 foreach(section ${sections})
104 get_objects(LIST sections OBJECT ${STRING_OBJECT} TYPE SECTION)
105 list(GET sections 0 section)
118 get_property(sections GLOBAL PROPERTY ${STRING_OBJECT}_SECTIONS_FIXED)
119 foreach(section ${sections})
128 get_property(sections GLOBAL PROPERTY ${STRING_OBJECT}_SECTIONS)
[all …]
Dlinker_flags.cmake6 ${LINKERFLAGPREFIX},--gc-sections
39 …y(TARGET linker PROPERTY lto_arguments -flto=auto -fno-ipa-sra -ffunction-sections -fdata-sections)
/Zephyr-latest/soc/sensry/ganymed/sy1xx/common/
Dlinker.ld18 #include <zephyr/linker/sections.h>
79 #include <zephyr/linker/rel-sections.ld>
82 #include <zephyr/linker/llext-sections.ld>
184 #include <snippets-data-sections.ld>
225 #include <snippets-ram-sections.ld>
230 #include <snippets-sections.ld>
241 #include <zephyr/linker/debug-sections.ld>
250 * Pulpino toolchains emit these sections; we don't care about them,
251 * but need to avoid build system warnings about orphaned sections.
/Zephyr-latest/include/zephyr/arch/x86/ia32/
Dlinker.ld9 * @brief Common linker sections
11 * This script defines the memory location of the various sections that make up
14 * This script places the various sections of the image according to what
19 * placing all the sections adjacent to each other. There is also no separate
32 * Most symbols defined in the sections below are subject to be referenced in
78 #include <zephyr/linker/rel-sections.ld>
81 #include <zephyr/linker/llext-sections.ld>
221 #include <snippets-rom-sections.ld>
329 * We need these sections to extract interrupt information, but they
330 * will be removed with "--gc-sections" by LLVM lld, so add keep
[all …]
/Zephyr-latest/include/zephyr/arch/x86/intel64/
Dlinker.ld111 #include <snippets-rom-sections.ld>
156 #include <snippets-ram-sections.ld>
178 #include <snippets-sections.ld>
195 #include <snippets-data-sections.ld>
212 #include <zephyr/linker/debug-sections.ld>
227 * eh_frame section won't be removed even with "--gc-sections" by LLVM lld.
234 * The sections below are still treated as warnings
244 #include <zephyr/linker/llext-sections.ld>
/Zephyr-latest/soc/mediatek/mt8xxx/
Dlinker.ld69 #include <snippets-rom-sections.ld>
98 #include <snippets-sections.ld>
104 /* Non-runtime-loaded sections below */
106 #include <zephyr/linker/debug-sections.ld>
146 #include <zephyr/linker/llext-sections.ld>
/Zephyr-latest/include/zephyr/arch/arc/v2/
Dlinker.ld12 #include <zephyr/linker/sections.h>
82 #include <zephyr/linker/rel-sections.ld>
85 #include <zephyr/linker/llext-sections.ld>
112 #include <snippets-rom-sections.ld>
128 /* TODO: add mwdt specific ROM C++ sections */
180 #include <snippets-ram-sections.ld>
243 /* TODO: add mwdt specific RAM C++ sections */
251 #include <snippets-data-sections.ld>
290 #include <snippets-sections.ld>
296 #include <zephyr/linker/debug-sections.ld>
/Zephyr-latest/include/zephyr/arch/arm64/scripts/
Dlinker.ld14 #include <zephyr/linker/sections.h>
83 #include <zephyr/linker/rel-sections.ld>
86 #include <zephyr/linker/llext-sections.ld>
171 #include <snippets-rom-sections.ld>
262 #include <snippets-ram-sections.ld>
268 #include <snippets-data-sections.ld>
292 #include <snippets-sections.ld>
329 #include <zephyr/linker/debug-sections.ld>
339 /* Output section descriptions are needed for these sections to suppress
/Zephyr-latest/include/zephyr/arch/nios2/
Dlinker.ld14 #include <zephyr/linker/sections.h>
19 /* These sections are specific to this CPU */
86 #include <zephyr/linker/rel-sections.ld>
89 #include <zephyr/linker/llext-sections.ld>
149 #include <snippets-rom-sections.ld>
237 #include <snippets-ram-sections.ld>
249 #include <snippets-data-sections.ld>
278 #include <snippets-sections.ld>
284 #include <zephyr/linker/debug-sections.ld>
/Zephyr-latest/tests/misc/iterable_sections/
DCMakeLists.txt10 zephyr_linker_sources(DATA_SECTIONS sections-ram.ld)
17 zephyr_linker_sources(SECTIONS sections-rom.ld)
/Zephyr-latest/cmake/bintools/arcmwdt/
Delfconvert_command.cmake42 # Handle sections, if any
61 # no support of rename sections in mwdt, here just use arc-elf32-objcopy temporarily
78 # no support of remove sections

1234567891011