Home
last modified time | relevance | path

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

12345678910>>...18

/freebsd/sys/contrib/dev/athk/ath10k/
H A Dcoredump.c810 .sections = NULL,
825 .sections = NULL,
840 .sections = NULL,
853 .sections = NULL,
863 .sections = NULL,
873 .sections = qca6174_hw21_register_sections,
886 .sections = NULL,
896 .sections = NULL,
906 .sections = NULL,
916 .sections = NULL,
[all …]
/freebsd/contrib/llvm-project/lld/ELF/
H A DICF.cpp124 SmallVector<InputSection *, 0> sections; member in __anon178663a30111::ICF
213 std::stable_partition(sections.begin() + begin + 1, in segregate()
214 sections.begin() + end, [&](InputSection *s) { in segregate()
216 return equalsConstant(sections[begin], s); in segregate()
217 return equalsVariable(sections[begin], s); in segregate()
219 size_t mid = bound - sections.begin(); in segregate()
226 sections[i]->eqClass[next] = eqClassBase + mid; in segregate()
388 uint32_t eqClass = sections[begin]->eqClass[current]; in findBoundary()
390 if (eqClass != sections[i]->eqClass[current]) in findBoundary()
417 if (parallel::strategy.ThreadsRequested == 1 || sections.size() < 1024) { in parallelForEachClass()
[all …]
H A DInputFiles.cpp404 static void handleSectionGroup(ArrayRef<InputSectionBase *> sections, in handleSectionGroup() argument
408 if (index >= sections.size()) in handleSectionGroup()
410 if (InputSectionBase *s = sections[index]) in handleSectionGroup()
426 InputSectionBase *s = sections[index]; in handleSectionGroup()
475 static const Elf_Shdr *findSection(ArrayRef<Elf_Shdr> sections, uint32_t type) { in findSection() argument
476 for (const Elf_Shdr &sec : sections) in findSection()
511 ArrayRef<Elf_Shdr> sections = CHECK2(obj.sections(), this); in init() local
512 elfShdrs = sections.data(); in init()
513 numELFShdrs = sections.size(); in init()
517 findSection(sections, k == SharedKind ? SHT_DYNSYM : SHT_SYMTAB); in init()
[all …]
H A DOutputSections.cpp211 isd->sections.reserve(isd->sectionBases.size()); in finalizeInputSections()
215 isd->sections.push_back(cast<InputSection>(s)); in finalizeInputSections()
244 isd->sections.push_back(syn); in finalizeInputSections()
259 for (InputSection *s : isd->sections) in finalizeInputSections()
299 sortByOrder(isd->sections, order); in sort()
535 ArrayRef<InputSection *> sections = getInputSections(*this, storage); in writeTo() local
539 fill(buf, sections.empty() ? size : sections[0]->outSecOff, filler); in writeTo()
548 size_t numSections = sections.size(); in writeTo()
550 InputSection *isec = sections[i]; in writeTo()
569 end = buf + sections[i + 1]->outSecOff; in writeTo()
[all …]
H A DCallGraphSort.cpp98 std::vector<const InputSectionBase *> sections; member in __anon14bfe4470111::CallGraphSort
122 sections.push_back(isec); in CallGraphSort()
241 orderMap[sections[i]] = curOrder++; in run()
262 for (Symbol *sym : sections[i]->file->getSymbols()) in run()
265 if (sections[i] == d->section) in run()
285 SmallVector<const InputSectionBase *, 0> sections; in computeCacheDirectedSortOrder() local
289 auto res = secToTargetId.try_emplace(inSec, sections.size()); in computeCacheDirectedSortOrder()
292 sections.push_back(inSec); in computeCacheDirectedSortOrder()
333 orderMap[sections[secIdx]] = curOrder++; in computeCacheDirectedSortOrder()
H A DBPSectionOrderer.cpp70 SmallVector<InputSectionBase *> sections; in runBalancedPartitioning() local
86 .insert(sections.size()); in runBalancedPartitioning()
87 sections.emplace_back(sec); in runBalancedPartitioning()
98 sections, rootSymbolToSectionIdxs); in runBalancedPartitioning()
/freebsd/crypto/openssh/
H A DPROTOCOL.krl5 The KRL consists of a header and zero or more sections. The header is:
24 Following the header are zero or more sections, each consisting of:
44 These sections use type KRL_SECTION_CERTIFICATES to revoke certificates by
57 Followed by one or more sections:
83 These sections use type KRL_SECTION_CERT_SERIAL_RANGE and hold
96 Bitmap sections use type KRL_SECTION_CERT_SERIAL_BITMAP and revoke keys
107 2.4. Revoked key ID sections
109 KRL_SECTION_CERT_KEY_ID sections revoke particular certificate "key
142 3. Explicit key sections
144 These sections, identified as KRL_SECTION_EXPLICIT_KEY, revoke keys
[all …]
/freebsd/crypto/krb5/src/util/profile/
H A Dprofile.512 Relations are always contained inside named sections. Sections can
13 contain relations and other named child sections.
15 Top-level sections are defined by enclosing the section name in square
16 braces. Child sections are defined by enclosing the contents of the
39 In this example, the profile file has two top-level sections,
42 "ATHENA.MIT.EDU". The realms section has two child sections,
46 relations with the name "kdc" in both sections; if a
57 Top-level sections are marked as final by adding an '*' character
58 following the closing square brace. Child sections are marked as
61 sections have been marked as final:
/freebsd/contrib/llvm-project/lld/docs/ELF/
H A Dlarge_sections.rst1 Large data sections
16 lld normally lays out sections as follows:
29 Large globals are placed in separate sections from small globals, and those
30 sections have a "large" section flag, e.g. ``SHF_X86_64_LARGE`` for x86-64. The
31 linker places large sections on the outer edges of the binary, making sure they
39 large sections next to the small sections with the same RWX permissions when
48 non-PIC code, large sections should be placed after all small sections to avoid
H A Dstart-stop-gc.rst4 If your ``-Wl,--gc-sections`` build fail with a linker error like this:
8 …>>> the encapsulation symbol needs to be retained under --gc-sections properly; consider -z nostar…
10 it is likely your C identifier name sections are not properly annotated to
11 suffice under ``--gc-sections``.
15 reference from a live section retain all ``meta`` input sections. This
27 Annotate C identifier name sections
53 linker ``--gc-sections``.
H A Dlinker_script.rst56 output sections which should be inserted after or before the specified anchor
57 section. The insertion occurs after input sections have been mapped to output
58 sections but before orphan sections have been processed.
102 retain such sections unless all the symbol assignments are unreferenced
107 preceding output section with non-empty input sections also has the SHF_WRITE
129 ``ALIGN(section_align)`` and the maximum alignment of the input sections in
159 Overwrite sections
194 writable but non-RELRO sections. LLD ignores ``offset`` and ``exp`` and aligns
205 sections:
227 Input sections that are assigned to a class are not matched by later patterns,
[all …]
/freebsd/sys/dev/qat/qat_common/
H A Dadf_cfg_bundle.c29 bundle->sections[0], in adf_cfg_can_be_shared()
102 strlcpy(bundle->sections[bundle->section_index], in adf_cfg_get_ring_pairs_from_bundle()
240 bundle->sections = malloc(sizeof(char *) * bundle->max_section, in adf_cfg_bundle_init()
245 bundle->sections[i] = in adf_cfg_bundle_init()
258 if (bundle->sections && bundle->sections[i]) { in adf_cfg_bundle_clear()
259 free(bundle->sections[i], M_QAT); in adf_cfg_bundle_clear()
260 bundle->sections[i] = NULL; in adf_cfg_bundle_clear()
264 free(bundle->sections, M_QAT); in adf_cfg_bundle_clear()
265 bundle->sections = NULL; in adf_cfg_bundle_clear()
/freebsd/contrib/llvm-project/lld/include/lld/Common/
H A DBPSectionOrdererBase.inc12 // to group similar sections together (resulting in a smaller compressed app
56 // similar sections together.
64 llvm::ArrayRef<Section *> sections,
79 ArrayRef<const typename D::Section *> sections,
91 const auto *isec = sections[sectionIdx];
103 // Merge sections that are nearly identical
155 ArrayRef<Section *> sections,
160 for (auto [i, isec] : llvm::enumerate(sections))
195 // If the same symbol is found in multiple sections, they might be
197 currentSize += D::getSize(*sections[*sectionIdxs.begin()]);
[all …]
/freebsd/contrib/llvm-project/lld/docs/
H A DPartitions.rst42 into partitions according to which sections of the program are reachable from
43 which entry points, similarly to how ``--gc-sections`` removes unused parts of
44 a program. Any sections that are only reachable from a loadable partition's
45 entry point are assigned to that partition, while all other sections are
46 assigned to the main partition, including sections only reachable from
49 The following diagram illustrates how sections are assigned to partitions. Each
65 clang -ffunction-sections -fdata-sections -c main.c
69 clang -ffunction-sections -fdata-sections -fsymbol-partition=libfeature.so -c feature.c
72 …ng main.o feature.o -fuse-ld=lld -shared -o libcombined.so -Wl,-soname,libmain.so -Wl,--gc-sections
108 features assume a single set of output sections and/or program headers, which
/freebsd/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A DObjcopyOpts.td35 : Joined<["--"], "compress-debug-sections=">,
37 HelpText<"Compress DWARF debug sections using specified format. Supported "
39 def : Flag<["--"], "compress-debug-sections">, Alias<compress_debug_sections>,
41 def decompress_debug_sections : Flag<["--"], "decompress-debug-sections">,
42 HelpText<"Decompress DWARF debug sections">;
44 : Eq<"compress-sections",
45 "Compress or decompress sections using specified format. Supported "
60 "Rename sections called <old> to <new>, and apply any specified <flag> values. "
117 HelpText<"Remove all DWARF .dwo sections">;
120 HelpText<"Remove all non-allocated sections that are not within segments">;
[all …]
H A DCommonOpts.td18 HelpText<"Allow the tool to remove sections even if it would leave "
45 HelpText<"For ELF, remove all symbols and non-alloc sections not within "
47 "For COFF and Mach-O, remove all symbols, debug sections, and relocations">;
51 … HelpText<"Remove all symbols, debug sections and relocations. Compatible with GNU's --strip-all">;
54 HelpText<"Remove all debug sections">;
69 : Flag<["--"], "strip-sections">,
97 "sections useful for debugging purposes">;
109 "Additionally, remove all debug sections">;
/freebsd/stand/uboot/arch/arm/
H A Darm.ldscript6 /* Read-only sections, merged into text segment: */
12 /* .gnu.warning sections are handled specially by elf32.em. */
80 /* We want the small data sections together, so single-instruction offsets
104 /* Stabs debugging sections. */
107 /* DWARF debug sections.
108 Symbols in the DWARF debugging sections are relative to the beginning
/freebsd/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/
H A DDynamicLoaderHexagonDYLD.cpp212 const SectionList *sections = GetSectionListFromModule(module); in UpdateLoadedSections() local
214 assert(sections && "SectionList missing from loaded module."); in UpdateLoadedSections()
218 const size_t num_sections = sections->GetSize(); in UpdateLoadedSections()
221 SectionSP section_sp(sections->GetSectionAtIndex(i)); in UpdateLoadedSections()
243 const SectionList *sections = GetSectionListFromModule(module); in UnloadSections() local
245 assert(sections && "SectionList missing from unloaded module."); in UnloadSections()
249 const size_t num_sections = sections->GetSize(); in UnloadSections()
251 SectionSP section_sp(sections->GetSectionAtIndex(i)); in UnloadSections()
529 SectionList *sections = nullptr; in GetSectionListFromModule() local
533 sections = obj_file->GetSectionList(); in GetSectionListFromModule()
[all …]
/freebsd/stand/powerpc/ofw/
H A Dppc-common.ldscript11 /* Read-only sections, merged into text segment: */
42 /* .gnu.warning sections are handled specially by elf32.em. */
85 /* We want the small data sections together, so single-instruction offsets
109 /* Stabs debugging sections. */
112 /* DWARF debug sections.
113 Symbols in the DWARF debugging sections are relative to the beginning
/freebsd/stand/uboot/arch/powerpc/
H A Dpowerpc.ldscript10 /* Read-only sections, merged into text segment: */
41 /* .gnu.warning sections are handled specially by elf32.em. */
83 /* We want the small data sections together, so single-instruction offsets
107 /* Stabs debugging sections. */
110 /* DWARF debug sections.
111 Symbols in the DWARF debugging sections are relative to the beginning
/freebsd/stand/kboot/kboot/arch/powerpc64/
H A Dpowerpc64.ldscript9 /* Read-only sections, merged into text segment: */
40 /* .gnu.warning sections are handled specially by elf32.em. */
83 /* We want the small data sections together, so single-instruction offsets
108 /* Stabs debugging sections. */
111 /* DWARF debug sections.
112 Symbols in the DWARF debugging sections are relative to the beginning
/freebsd/contrib/llvm-project/lld/MachO/
H A DBPSectionOrderer.cpp112 SmallVector<InputSection *> sections; in runBalancedPartitioning() local
115 for (auto *sec : file->sections) { in runBalancedPartitioning()
124 size_t idx = sections.size(); in runBalancedPartitioning()
125 sections.emplace_back(isec); in runBalancedPartitioning()
141 sections, rootSymbolToSectionIdxs); in runBalancedPartitioning()
/freebsd/contrib/ntp/sntp/m4/
H A Dntp_compiler.m4146 # NetBSD will link but likely not run with --gc-sections
149 # --gc-sections causes attempt to load as linux elf, with
157 CFLAGS="$CFLAGS -Wl,--gc-sections"
188 if test "X$cross_compiling" = "Xyes" || grep gc-sections conftest.err ; then
203 LDADD_LIBNTP="-Wl,--gc-sections"
204 CFLAGS_NTP="$CFLAGS_NTP -ffunction-sections -fdata-sections"
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/COFF/
H A DObjectFileCOFF.cpp157 if (SectionList *sections = GetSectionList()) in Dump() local
158 sections->Dump(stream->AsRawOstream(), stream->GetIndentLevel(), nullptr, in Dump()
181 void ObjectFileCOFF::CreateSections(lldb_private::SectionList &sections) { in CreateSections() argument
225 for (const auto &SecRef : m_object->sections()) { in CreateSections()
247 sections.AddSection(section); in CreateSections()
254 SectionList *sections = GetSectionList(); in ParseSymtab() local
284 symbol.GetAddressRef() = Address(sections->GetSectionAtIndex(SecIdx - 1), in ParseSymtab()
/freebsd/contrib/processor-trace/libipt/src/
H A Dpt_image.c124 pt_section_list_free_tail(image->sections); in pt_image_fini()
177 list = &(image->sections); in pt_image_add()
275 for (list = &image->sections; *list; list = &((*list)->next)) { in pt_image_remove()
358 for (list = src->sections; list; list = list->next) { in pt_image_copy()
387 for (list = &image->sections; *list;) { in pt_image_remove_by_filename()
437 for (list = &image->sections; *list;) { in pt_image_remove_by_asid()
543 start = &image->sections; in pt_image_fetch_section()
594 slist = image->sections; in pt_image_read()
671 slist = image->sections; in pt_image_find()
711 slist = image->sections; in pt_image_validate()

12345678910>>...18