/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | coredump.c | 807 .sections = NULL, 822 .sections = NULL, 837 .sections = NULL, 850 .sections = NULL, 860 .sections = NULL, 870 .sections = qca6174_hw21_register_sections, 883 .sections = NULL, 893 .sections = NULL, 903 .sections = NULL, 913 .sections = NULL, [all …]
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | ICF.cpp | 123 SmallVector<InputSection *, 0> sections; member in __anon178663a30111::ICF 212 std::stable_partition(sections.begin() + begin + 1, in segregate() 213 sections.begin() + end, [&](InputSection *s) { in segregate() 215 return equalsConstant(sections[begin], s); in segregate() 216 return equalsVariable(sections[begin], s); in segregate() 218 size_t mid = bound - sections.begin(); in segregate() 225 sections[i]->eqClass[next] = eqClassBase + mid; in segregate() 387 uint32_t eqClass = sections[begin]->eqClass[current]; in findBoundary() 389 if (eqClass != sections[i]->eqClass[current]) in findBoundary() 414 if (parallel::strategy.ThreadsRequested == 1 || sections.size() < 1024) { in forEachClass() [all …]
|
H A D | InputFiles.cpp | 442 static void handleSectionGroup(ArrayRef<InputSectionBase *> sections, in handleSectionGroup() argument 446 if (index >= sections.size()) in handleSectionGroup() 448 if (InputSectionBase *s = sections[index]) in handleSectionGroup() 464 InputSectionBase *s = sections[index]; in handleSectionGroup() 505 ArrayRef<InputSectionBase *> sections = s->file->getSections(); in getDILineInfo() local 506 for (uint64_t curIndex = 0; curIndex < sections.size(); ++curIndex) { in getDILineInfo() 507 if (s == sections[curIndex]) { in getDILineInfo() 522 static const Elf_Shdr *findSection(ArrayRef<Elf_Shdr> sections, uint32_t type) { in findSection() argument 523 for (const Elf_Shdr &sec : sections) in findSection() 558 ArrayRef<Elf_Shdr> sections = CHECK(obj.sections(), this); in init() local [all …]
|
H A D | OutputSections.cpp | 206 isd->sections.reserve(isd->sectionBases.size()); in finalizeInputSections() 210 isd->sections.push_back(cast<InputSection>(s)); in finalizeInputSections() 239 isd->sections.push_back(syn); in finalizeInputSections() 254 for (InputSection *s : isd->sections) in finalizeInputSections() 282 sortByOrder(isd->sections, order); in sort() 518 ArrayRef<InputSection *> sections = getInputSections(*this, storage); in writeTo() local 522 fill(buf, sections.empty() ? size : sections[0]->outSecOff, filler); in writeTo() 531 size_t numSections = sections.size(); in writeTo() 533 InputSection *isec = sections[i]; in writeTo() 552 end = buf + sections[i + 1]->outSecOff; in writeTo() [all …]
|
/freebsd/crypto/openssh/ |
H A D | PROTOCOL.krl | 5 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/contrib/llvm-project/lld/docs/ELF/ |
H A D | large_sections.rst | 1 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 D | start-stop-gc.rst | 4 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 D | linker_script.rst | 56 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 204 The flag ``--enable-non-contiguous-regions`` allows input sections to spill to 206 region. Unlike GNU ld, ``/DISCARD/`` only matches previously-unmatched sections
|
/freebsd/sys/dev/qat/qat_common/ |
H A D | adf_cfg_bundle.c | 29 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/llvm/tools/llvm-objcopy/ |
H A D | ObjcopyOpts.td | 35 : 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 D | CommonOpts.td | 18 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/contrib/llvm-project/lld/docs/ |
H A D | Partitions.rst | 42 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
|
H A D | ReleaseNotes.rst | 37 * ``--compress-sections <section-glib>={none,zlib,zstd}[:level]`` is added to compress 38 matched output sections without the ``SHF_ALLOC`` flag. 51 from input ``.debug_names`` sections. Type units are not handled yet. 54 sections into memory regions by automatically spilling to later matches if a 62 * ``--force-group-allocation`` is implemented to discard ``SHT_GROUP`` sections 63 and combine relocation sections if their relocated section group members are 71 * ``--export-dynamic`` no longer creates dynamic sections for ``-no-pie`` static linking. 91 cross references between certain output sections. 95 Non-alloc orphan sections are now placed at the end.
|
/freebsd/stand/uboot/arch/arm/ |
H A D | arm.ldscript | 6 /* 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 D | DynamicLoaderHexagonDYLD.cpp | 212 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() 531 SectionList *sections = nullptr; in GetSectionListFromModule() local 535 sections = obj_file->GetSectionList(); in GetSectionListFromModule() [all …]
|
/freebsd/stand/powerpc/ofw/ |
H A D | ppc-common.ldscript | 11 /* 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 D | powerpc.ldscript | 10 /* 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 D | powerpc64.ldscript | 9 /* 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/ntp/sntp/m4/ |
H A D | ntp_compiler.m4 | 146 # 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 D | ObjectFileCOFF.cpp | 157 if (SectionList *sections = GetSectionList()) in Dump() local 158 sections->Dump(stream->AsRawOstream(), stream->GetIndentLevel(), nullptr, in Dump() 181 void ObjectFileCOFF::CreateSections(lldb_private::SectionList §ions) { in CreateSections() argument 229 for (const auto &SecRef : m_object->sections()) { in CreateSections() 251 sections.AddSection(section); in CreateSections() 258 SectionList *sections = GetSectionList(); in ParseSymtab() local 288 symbol.GetAddressRef() = Address(sections->GetSectionAtIndex(SecIdx - 1), in ParseSymtab()
|
/freebsd/contrib/llvm-project/lld/MachO/ |
H A D | Relocations.cpp | 70 const std::vector<OutputSection *> §ions = seg->getSections(); in offsetToInputSection() local 72 for (; osecIdx < sections.size(); ++osecIdx) in offsetToInputSection() 73 if (*off < sections[osecIdx]->fileOff) in offsetToInputSection() 78 auto *osec = cast<ConcatOutputSection>(sections[osecIdx - 1]); in offsetToInputSection()
|
/freebsd/contrib/processor-trace/libipt/src/ |
H A D | pt_image.c | 124 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()
|
/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | nvm.c | 221 struct iwl_nvm_section *sections = mvm->nvm_sections; in iwl_parse_nvm_sections() 228 /* Checking for required sections */ in iwl_parse_nvm_sections() 232 IWL_ERR(mvm, "Can't parse empty OTP/NVM sections\n"); in iwl_parse_nvm_sections() 241 /* SW and REGULATORY sections are mandatory */ in iwl_parse_nvm_sections() 245 "Can't parse empty family 8000 OTP/NVM sections\n"); in iwl_parse_nvm_sections() 252 "Can't parse mac_address, empty sections\n"); in iwl_parse_nvm_sections() 260 "Can't parse phy_sku in B0, empty sections\n"); in iwl_parse_nvm_sections() 265 hw = (const __be16 *)sections[mvm->cfg->nvm_hw_section_num].data; in iwl_parse_nvm_sections() 266 sw = (const __le16 *)sections[NVM_SECTION_TYPE_SW].data; in iwl_parse_nvm_sections() 267 calib = (const __le16 *)sections[NVM_SECTION_TYPE_CALIBRATIO in iwl_parse_nvm_sections() 222 struct iwl_nvm_section *sections = mvm->nvm_sections; iwl_parse_nvm_sections() local 284 struct iwl_nvm_section *sections = mvm->nvm_sections; iwl_mvm_load_nvm_to_nic() local [all...] |
/freebsd/sys/conf/ |
H A D | debuginfo.ldscript | 1 /* Stabs debugging sections. */ 9 /* DWARF debug sections. 10 Symbols in the DWARF debugging sections are relative to the beginning
|
/freebsd/stand/efi/loader/arch/arm/ |
H A D | arm.ldscript | 5 /* Read-only sections, merged into text segment: */ 11 /* .gnu.warning sections are handled specially by elf32.em. */ 38 /* We want the small data sections together, so single-instruction offsets
|