| /freebsd-13.1/contrib/llvm-project/lld/ELF/ |
| H A D | ICF.cpp | 125 std::vector<InputSection *> sections; member in __anon665142570111::ICF 220 size_t mid = bound - sections.begin(); in segregate() 227 sections[i]->eqClass[next] = eqClassBase + mid; in segregate() 381 if (eqClass != sections[i]->eqClass[current]) in findBoundary() 407 forEachClassRange(0, sections.size(), fn); in forEachClass() 420 size_t step = sections.size() / numShards; in forEachClass() 423 boundaries[numShards] = sections.size(); in forEachClass() 483 sections.push_back(s); in run() 492 parallelForEach(sections, [&](InputSection *s) { in run() 540 sections[begin]->replace(sections[i]); in run() [all …]
|
| H A D | OutputSections.cpp | 206 cmd->sections.push_back(syn); in finalizeInputSections() 216 for (InputSection *s : cmd->sections) in finalizeInputSections() 248 sortByOrder(isd->sections, order); in sort() 346 fill(buf, sections.empty() ? size : sections[0]->outSecOff, filler); in writeTo() 349 InputSection *isec = sections[i]; in writeTo() 356 if (i + 1 == sections.size()) in writeTo() 359 end = buf + sections[i + 1]->outSecOff; in writeTo() 490 llvm::stable_sort(isd->sections, compCtors); in sortCtorsDtors() 510 if (!isd->sections.empty()) in getFirstInputSection() 511 return isd->sections[0]; in getFirstInputSection() [all …]
|
| H A D | InputFiles.cpp | 320 if (s == sections[curIndex]) { in getDILineInfo() 352 for (const Elf_Shdr &sec : sections) in findSection() 368 ArrayRef<Elf_Shdr> sections = CHECK(obj.sections(), this); in init() local 500 ArrayRef<Elf_Shdr> sections = CHECK(this->getObj().sections(), this); in initializeJustSymbols() local 501 this->sections.resize(sections.size()); in initializeJustSymbols() 532 if (index >= sections.size()) in handleSectionGroup() 569 this->sections.resize(size); in initializeSections() 854 if (idx >= this->sections.size()) in getRelocTarget() 1451 ArrayRef<Elf_Shdr> sections = CHECK(obj.sections(), this); in parse() local 1765 sections.push_back(section); in parse() [all …]
|
| /freebsd-13.1/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: 56 Followed by one or more sections: 81 These sections use type KRL_SECTION_CERT_SERIAL_RANGE and hold 105 2.4. Revoked key ID sections 107 KRL_SECTION_CERT_KEY_ID sections revoke particular certificate "key 117 3. Explicit key sections 119 These sections, identified as KRL_SECTION_EXPLICIT_KEY, revoke keys 131 4. SHA1/SHA256 fingerprint sections 133 These sections, identified as KRL_SECTION_FINGERPRINT_SHA1 and [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Core/ |
| H A D | DynamicLoader.cpp | 127 const SectionList *sections = GetSectionListFromModule(module); in UnloadSectionsCommon() local 129 assert(sections && "SectionList missing from unloaded module."); in UnloadSectionsCommon() 131 const size_t num_sections = sections->GetSize(); in UnloadSectionsCommon() 133 SectionSP section_sp(sections->GetSectionAtIndex(i)); in UnloadSectionsCommon() 140 SectionList *sections = nullptr; in GetSectionListFromModule() local 144 sections = obj_file->GetSectionList(); in GetSectionListFromModule() 147 return sections; in GetSectionListFromModule()
|
| /freebsd-13.1/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
|
| /freebsd-13.1/sys/conf/ |
| H A D | ldscript.riscv | 8 /* Read-only sections, merged into text segment: */ 15 /* .gnu.warning sections are handled specially by elf32.em. */ 89 /* We want the small data sections together, so single-instruction offsets 101 sections are placed directly after .sdata, as has been seen to happen with 115 /* Stabs debugging sections. */ 123 /* DWARF debug sections. 124 Symbols in the DWARF debugging sections are relative to the beginning
|
| H A D | ldscript.powerpc | 16 /* Read-only sections, merged into text segment: */ 26 /* .gnu.warning sections are handled specially by elf32.em. */ 101 /* We want the small data sections together, so single-instruction offsets 125 /* Stabs debugging sections. */ 128 /* DWARF debug sections. 129 Symbols in the DWARF debugging sections are relative to the beginning
|
| H A D | ldscript.powerpcspe | 16 /* Read-only sections, merged into text segment: */ 26 /* .gnu.warning sections are handled specially by elf32.em. */ 102 /* We want the small data sections together, so single-instruction offsets 126 /* Stabs debugging sections. */ 129 /* DWARF debug sections. 130 Symbols in the DWARF debugging sections are relative to the beginning
|
| H A D | ldscript.powerpc64le | 21 /* Read-only sections, merged into text segment: */ 30 /* .gnu.warning sections are handled specially by elf32.em. */ 125 /* We want the small data sections together, so single-instruction offsets 150 /* Stabs debugging sections. */ 153 /* DWARF debug sections. 154 Symbols in the DWARF debugging sections are relative to the beginning
|
| H A D | ldscript.arm | 8 /* Read-only sections, merged into text segment: */ 14 /* .gnu.warning sections are handled specially by elf32.em. */ 101 /* We want the small data sections together, so single-instruction offsets 124 /* Stabs debugging sections. */ 132 /* DWARF debug sections. 133 Symbols in the DWARF debugging sections are relative to the beginning
|
| H A D | ldscript.powerpc64 | 21 /* Read-only sections, merged into text segment: */ 30 /* .gnu.warning sections are handled specially by elf32.em. */ 126 /* We want the small data sections together, so single-instruction offsets 150 /* Stabs debugging sections. */ 153 /* DWARF debug sections. 154 Symbols in the DWARF debugging sections are relative to the beginning
|
| H A D | ldscript.arm64 | 8 /* Read-only sections, merged into text segment: */ 14 /* .gnu.warning sections are handled specially by elf32.em. */ 101 /* We want the small data sections together, so single-instruction offsets 124 /* Stabs debugging sections. */ 132 /* DWARF debug sections. 133 Symbols in the DWARF debugging sections are relative to the beginning
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/ |
| H A D | CommonOpts.td | 15 HelpText<"Allow the tool to remove sections even if it would leave " 42 HelpText<"Remove non-allocated sections outside segments. " 43 ".gnu.warning* and .ARM.attribute sections are not " 51 HelpText<"Remove all debug sections">; 66 : Flag<["--"], "strip-sections">, 67 HelpText<"Remove all section headers and all sections not in segments">; 94 "sections useful for debugging purposes">; 106 "remove all debug sections">;
|
| /freebsd-13.1/stand/arm/uboot/ |
| H A D | ldscript.arm | 7 /* Read-only sections, merged into text segment: */ 13 /* .gnu.warning sections are handled specially by elf32.em. */ 81 /* We want the small data sections together, so single-instruction offsets 105 /* Stabs debugging sections. */ 108 /* DWARF debug sections. 109 Symbols in the DWARF debugging sections are relative to the beginning
|
| /freebsd-13.1/contrib/ntp/sntp/m4/ |
| H A D | ntp_compiler.m4 | 114 dnl NetBSD will link but likely not run with --gc-sections 117 dnl --gc-sections causes attempt to load as linux elf, with 125 CFLAGS="$CFLAGS -Wl,--gc-sections" 156 if test "X$cross_compiling" = "Xyes" || grep gc-sections conftest.err ; then 171 LDADD_LIBNTP="-Wl,--gc-sections" 172 CFLAGS_NTP="$CFLAGS_NTP -ffunction-sections -fdata-sections"
|
| /freebsd-13.1/stand/mips/uboot/ |
| H A D | ldscript.mips | 7 /* Read-only sections, merged into text segment: */ 14 /* .gnu.warning sections are handled specially by elf32.em. */ 81 /* We want the small data sections together, so single-instruction offsets 105 /* Stabs debugging sections. */ 108 /* DWARF debug sections. 109 Symbols in the DWARF debugging sections are relative to the beginning
|
| /freebsd-13.1/stand/powerpc/ofw/ |
| H A D | ldscript.powerpc | 15 /* Read-only sections, merged into text segment: */ 46 /* .gnu.warning sections are handled specially by elf32.em. */ 88 /* We want the small data sections together, so single-instruction offsets 112 /* Stabs debugging sections. */ 115 /* DWARF debug sections. 116 Symbols in the DWARF debugging sections are relative to the beginning
|
| H A D | ldscript.powerpcle | 15 /* Read-only sections, merged into text segment: */ 46 /* .gnu.warning sections are handled specially by elf32.em. */ 88 /* We want the small data sections together, so single-instruction offsets 112 /* Stabs debugging sections. */ 115 /* DWARF debug sections. 116 Symbols in the DWARF debugging sections are relative to the beginning
|
| /freebsd-13.1/stand/powerpc/uboot/ |
| H A D | ldscript.powerpc | 11 /* Read-only sections, merged into text segment: */ 42 /* .gnu.warning sections are handled specially by elf32.em. */ 84 /* 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-13.1/sys/contrib/dev/iwlwifi/mvm/ |
| H A D | nvm.c | 222 struct iwl_nvm_section *sections = mvm->nvm_sections; in iwl_parse_nvm_sections() local 264 hw = (const __be16 *)sections[mvm->cfg->nvm_hw_section_num].data; in iwl_parse_nvm_sections() 265 sw = (const __le16 *)sections[NVM_SECTION_TYPE_SW].data; in iwl_parse_nvm_sections() 266 calib = (const __le16 *)sections[NVM_SECTION_TYPE_CALIBRATION].data; in iwl_parse_nvm_sections() 268 (const __le16 *)sections[NVM_SECTION_TYPE_MAC_OVERRIDE].data; in iwl_parse_nvm_sections() 269 phy_sku = (const __le16 *)sections[NVM_SECTION_TYPE_PHY_SKU].data; in iwl_parse_nvm_sections() 272 (const __le16 *)sections[NVM_SECTION_TYPE_REGULATORY_SDP].data : in iwl_parse_nvm_sections() 273 (const __le16 *)sections[NVM_SECTION_TYPE_REGULATORY].data; in iwl_parse_nvm_sections() 284 struct iwl_nvm_section *sections = mvm->nvm_sections; in iwl_mvm_load_nvm_to_nic() local 291 ret = iwl_nvm_write_section(mvm, i, sections[i].data, in iwl_mvm_load_nvm_to_nic() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/ |
| H A D | DynamicLoaderHexagonDYLD.cpp | 222 const SectionList *sections = GetSectionListFromModule(module); in UpdateLoadedSections() local 224 assert(sections && "SectionList missing from loaded module."); in UpdateLoadedSections() 228 const size_t num_sections = sections->GetSize(); in UpdateLoadedSections() 231 SectionSP section_sp(sections->GetSectionAtIndex(i)); in UpdateLoadedSections() 253 const SectionList *sections = GetSectionListFromModule(module); in UnloadSections() local 255 assert(sections && "SectionList missing from unloaded module."); in UnloadSections() 259 const size_t num_sections = sections->GetSize(); in UnloadSections() 261 SectionSP section_sp(sections->GetSectionAtIndex(i)); in UnloadSections() 545 SectionList *sections = nullptr; in GetSectionListFromModule() local 549 sections = obj_file->GetSectionList(); in GetSectionListFromModule() [all …]
|
| /freebsd-13.1/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-13.1/stand/efi/loader/arch/arm/ |
| H A D | ldscript.arm | 6 /* Read-only sections, merged into text segment: */ 12 /* .gnu.warning sections are handled specially by elf32.em. */ 39 /* We want the small data sections together, so single-instruction offsets
|
| /freebsd-13.1/stand/mips/beri/loader/ |
| H A D | Makefile | 98 CFLAGS+= -ffunction-sections -fdata-sections 99 CFLAGS+= -Wl,--gc-sections
|