Home
last modified time | relevance | path

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

12345678910>>...46

/openbsd-src/gnu/usr.bin/texinfo/info/
H A Dinfokey.c73 static int compile (FILE *fp, const char *filename, struct sect *sections);
74 static int write_infokey_file (FILE *fp, struct sect *sections);
200 static struct sect sections[3]; in main() local
214 if (compile (inf, input_filename, sections)) in main()
229 if (!write_infokey_file (outf, sections)) in main()
390 compile (FILE *fp, const char *filename, struct sect *sections) in compile() argument
462 sections[info].cur = 1; in compile()
463 sections[info].data[0] = 0; in compile()
464 sections[ea].cur = 1; in compile()
465 sections[ea].data[0] = 0; in compile()
[all …]
/openbsd-src/gnu/llvm/lld/ELF/
H A DICF.cpp123 SmallVector<InputSection *, 0> sections; member in __anon534e767a0111::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()
381 uint32_t eqClass = sections[begin]->eqClass[current]; in findBoundary()
383 if (eqClass != sections[i]->eqClass[current]) in findBoundary()
408 if (parallel::strategy.ThreadsRequested == 1 || sections.size() < 1024) { in forEachClass()
[all …]
H A DInputFiles.cpp390 static void handleSectionGroup(ArrayRef<InputSectionBase *> sections, in handleSectionGroup() argument
394 if (index >= sections.size()) in handleSectionGroup()
396 if (InputSectionBase *s = sections[index]) in handleSectionGroup()
412 InputSectionBase *s = sections[index]; in handleSectionGroup()
453 ArrayRef<InputSectionBase *> sections = s->file->getSections(); in getDILineInfo() local
454 for (uint64_t curIndex = 0; curIndex < sections.size(); ++curIndex) { in getDILineInfo()
455 if (s == sections[curIndex]) { in getDILineInfo()
470 static const Elf_Shdr *findSection(ArrayRef<Elf_Shdr> sections, uint32_t type) { in findSection() argument
471 for (const Elf_Shdr &sec : sections) in findSection()
506 ArrayRef<Elf_Shdr> sections = CHECK(obj.sections(), this); in init() local
[all …]
H A DOutputSections.cpp191 isd->sections.reserve(isd->sectionBases.size()); in finalizeInputSections()
195 isd->sections.push_back(cast<InputSection>(s)); in finalizeInputSections()
224 isd->sections.push_back(syn); in finalizeInputSections()
234 for (InputSection *s : isd->sections) in finalizeInputSections()
262 sortByOrder(isd->sections, order); in sort()
482 ArrayRef<InputSection *> sections = getInputSections(*this, storage); in writeTo() local
486 fill(buf, sections.empty() ? size : sections[0]->outSecOff, filler); in writeTo()
489 size_t numSections = sections.size(); in writeTo()
491 InputSection *isec = sections[i]; in writeTo()
504 end = buf + sections[i + 1]->outSecOff; in writeTo()
[all …]
/openbsd-src/gnu/usr.bin/binutils/ld/scripttempl/
H A Dxstormy16.sc19 # OTHER_GOT_SECTIONS - sections just after .got and .sdata.
24 # combination of .init sections.
26 # combination of .fini sections.
28 # When adding sections, do note that the names of some sections are used
32 # Many sections come in three flavours. There is the 'real' section,
34 # sections, generated by -ffunction-sections and -fdata-sections in GCC,
35 # and useful for --gc-sections, which for a variable "foo" might be
36 # ".data.foo". Then there are the linkonce sections, for which the linker
50 # Each of these can also have corresponding .rel.* and .rela.* sections.
104 if gld -r is used and the intermediate file has sections starting
[all …]
H A Delf_chaos.sc4 # NO_SMALL_DATA - no .sbss/.sbss2/.sdata/.sdata2 sections if not
22 # OTHER_GOT_SECTIONS - sections just after .got.
23 # OTHER_SDATA_SECTIONS - sections just after .sdata.
35 # combination of .init sections.
37 # combination of .fini sections.
41 # When adding sections, do note that the names of some sections are used
45 # Many sections come in three flavours. There is the 'real' section,
47 # sections, generated by -ffunction-sections and -fdata-sections in GCC,
48 # and useful for --gc-sections, which for a variable "foo" might be
49 # ".data.foo". Then there are the linkonce sections, for which the linker
[all …]
H A Delfxtensa.sc4 # NO_SMALL_DATA - no .sbss/.sbss2/.sdata/.sdata2 sections if not
22 # OTHER_GOT_SECTIONS - sections just after .got.
23 # OTHER_SDATA_SECTIONS - sections just after .sdata.
33 # combination of .init sections.
35 # combination of .fini sections.
39 # When adding sections, do note that the names of some sections are used
43 # Many sections come in three flavours. There is the 'real' section,
45 # sections, generated by -ffunction-sections and -fdata-sections in GCC,
46 # and useful for --gc-sections, which for a variable "foo" might be
47 # ".data.foo". Then there are the linkonce sections, for which the linker
[all …]
H A Diq2000.sc20 # OTHER_GOT_SECTIONS - sections just after .got.
21 # OTHER_SDATA_SECTIONS - sections just after .sdata.
33 # combination of .init sections.
35 # combination of .fini sections.
37 # When adding sections, do note that the names of some sections are used
41 # Many sections come in three flavours. There is the 'real' section,
43 # sections, generated by -ffunction-sections and -fdata-sections in GCC,
44 # and useful for --gc-sections, which for a variable "foo" might be
45 # ".data.foo". Then there are the linkonce sections, for which the linker
59 # Each of these can also have corresponding .rel.* and .rela.* sections.
[all …]
/openbsd-src/gnu/usr.bin/binutils-2.17/ld/scripttempl/
H A Dxstormy16.sc18 # OTHER_GOT_SECTIONS - sections just after .got and .sdata.
23 # combination of .init sections.
25 # combination of .fini sections.
27 # When adding sections, do note that the names of some sections are used
31 # Many sections come in three flavours. There is the 'real' section,
33 # sections, generated by -ffunction-sections and -fdata-sections in GCC,
34 # and useful for --gc-sections, which for a variable "foo" might be
35 # ".data.foo". Then there are the linkonce sections, for which the linker
49 # Each of these can also have corresponding .rel.* and .rela.* sections.
103 if gld -r is used and the intermediate file has sections starting
[all …]
H A Delf_chaos.sc4 # NO_SMALL_DATA - no .sbss/.sbss2/.sdata/.sdata2 sections if not
21 # OTHER_GOT_SECTIONS - sections just after .got.
22 # OTHER_SDATA_SECTIONS - sections just after .sdata.
34 # combination of .init sections.
36 # combination of .fini sections.
40 # When adding sections, do note that the names of some sections are used
44 # Many sections come in three flavours. There is the 'real' section,
46 # sections, generated by -ffunction-sections and -fdata-sections in GCC,
47 # and useful for --gc-sections, which for a variable "foo" might be
48 # ".data.foo". Then there are the linkonce sections, for which the linker
[all …]
H A Delf32crx.sc30 /* Many sections come in three flavours. There is the 'real' section,
32 sections, generated by -ffunction-sections and -fdata-sections in GCC,
33 and useful for --gc-sections, which for a variable "foo" might be
34 ".data.foo". Then there are the linkonce sections, for which the linker
130 /* You may change the sizes of the following sections to fit the actual
159 /* DWARF debug sections.
160 Symbols in the DWARF debugging sections are relative to the beginning
H A Delf32sh-symbian.sc19 # OTHER_GOT_SECTIONS - sections just after .got.
20 # OTHER_SDATA_SECTIONS - sections just after .sdata.
32 # combination of .init sections.
34 # combination of .fini sections.
38 # When adding sections, do note that the names of some sections are used
42 # Many sections come in three flavours. There is the 'real' section,
44 # sections, generated by -ffunction-sections and -fdata-sections in GCC,
45 # and useful for --gc-sections, which for a variable "foo" might be
46 # ".data.foo". Then there are the linkonce sections, for which the linker
63 # Each of these can also have corresponding .rel.* and .rela.* sections.
[all …]
H A Diq2000.sc19 # OTHER_GOT_SECTIONS - sections just after .got.
20 # OTHER_SDATA_SECTIONS - sections just after .sdata.
32 # combination of .init sections.
34 # combination of .fini sections.
36 # When adding sections, do note that the names of some sections are used
40 # Many sections come in three flavours. There is the 'real' section,
42 # sections, generated by -ffunction-sections and -fdata-sections in GCC,
43 # and useful for --gc-sections, which for a variable "foo" might be
44 # ".data.foo". Then there are the linkonce sections, for which the linker
58 # Each of these can also have corresponding .rel.* and .rela.* sections.
[all …]
/openbsd-src/gnu/usr.bin/binutils-2.17/binutils/
H A Dcoffgrok.c134 head->sections = all; in do_sections_p1()
136 for (idx = 0, section = abfd->sections; section; section = section->next, idx++) in do_sections_p1()
153 head->sections[i].name = (char *) (section->name); in do_sections_p1()
154 head->sections[i].code = section->flags & SEC_CODE; in do_sections_p1()
155 head->sections[i].data = section->flags & SEC_DATA; in do_sections_p1()
157 head->sections[i].data = 1; in do_sections_p1()
158 head->sections[i].address = section->lma; in do_sections_p1()
159 head->sections[i].size = bfd_get_section_size (section); in do_sections_p1()
160 head->sections[i].number = idx; in do_sections_p1()
161 head->sections[i].nrelocs = section->reloc_count; in do_sections_p1()
[all …]
/openbsd-src/gnu/usr.bin/binutils/binutils/
H A Dcoffgrok.c134 head->sections = all; in do_sections_p1()
136 for (idx = 0, section = abfd->sections; section; section = section->next, idx++) in do_sections_p1()
153 head->sections[i].name = (char *) (section->name); in do_sections_p1()
154 head->sections[i].code = section->flags & SEC_CODE; in do_sections_p1()
155 head->sections[i].data = section->flags & SEC_DATA; in do_sections_p1()
157 head->sections[i].data = 1; in do_sections_p1()
158 head->sections[i].address = section->lma; in do_sections_p1()
159 head->sections[i].size = section->_raw_size; in do_sections_p1()
160 head->sections[i].number = idx; in do_sections_p1()
161 head->sections[i].nrelocs = section->reloc_count; in do_sections_p1()
[all …]
/openbsd-src/usr.bin/ssh/
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 …]
/openbsd-src/gnu/llvm/llvm/docs/CommandGuide/
H A Dllvm-strip.rst14 :program:`llvm-strip` is a tool to strip sections and symbols from object files.
42 ELF objects will not be discarded. Additionally, remove all debug sections.
64 Produce a debug file as the output that only preserves contents of sections
67 For ELF objects, this removes the contents of `SHF_ALLOC` sections that are not
79 to remove multiple sections simultaneously.
83 Remove all symbols, debug sections and relocations from the output. This option
88 For ELF objects, remove from the output all symbols and non-alloc sections not
89 within segments, except for .gnu.warning, .ARM.attribute sections and the
92 For COFF objects, remove all symbols, debug sections, and relocations from the
97 Remove all debug sections from the output.
[all …]
H A Dllvm-objcopy.rst16 specified, the output may be modified along the way, e.g. by removing sections.
44 specified multiple times to add multiple sections.
62 ELF objects will not be discarded. Additionally, remove all debug sections.
67 specified multiple times to dump multiple sections to different files.
70 operations will still be performed. No operations are performed on the sections
87 Produce a debug file as the output that only preserves contents of sections
90 For ELF objects, this removes the contents of `SHF_ALLOC` sections that are not
96 Remove all sections from the output, except for sections named ``<section>``.
97 Can be specified multiple times to keep multiple sections.
123 to remove multiple sections simultaneously.
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Pod-Usage/lib/Pod/
H A DUsage.pm126 my $sections = $opts{'-sections'};
127 $parser->select( (ref $sections) ? @$sections : $sections );
255 my ($self, @sections) = @_;
257 $self->SUPER::select(@sections);
260 my $add = ($sections[0] eq '+') ? shift(@sections) : '';
262 unless (@sections) {
270 for my $spec (@sections) {
/openbsd-src/gnu/usr.bin/binutils-2.17/ld/emultempl/
H A Dsh64elf.em43 options here, and we can access input sections in the order in which
61 /* FIXME: Look through incoming sections with .cranges
87 section flags right for output sections that *don't* need a
98 for (isec = f->the_bfd->sections;
105 einfo (_("%P: Sorry, turning off relaxing: SHmedia sections present.\n"));
119 for (osec = output_bfd->sections;
132 /* Omit excluded or garbage-collected sections. */
150 for (isec = f->the_bfd->sections;
170 /* Check that all input sections have the same contents-type flags
177 for (isec = f->the_bfd->sections;
[all …]
/openbsd-src/gnu/usr.bin/binutils/ld/emultempl/
H A Dsh64elf.em43 options here, and we can access input sections in the order in which
61 /* FIXME: Look through incoming sections with .cranges
87 section flags right for output sections that *don't* need a
98 for (isec = f->the_bfd->sections;
105 einfo (_("%P: Sorry, turning off relaxing: SHmedia sections present.\n"));
119 for (osec = output_bfd->sections;
132 /* Omit excluded or garbage-collected sections. */
150 for (isec = f->the_bfd->sections;
170 /* Check that all input sections have the same contents-type flags
177 for (isec = f->the_bfd->sections;
[all …]
/openbsd-src/gnu/llvm/llvm/docs/
H A DPCSectionsMetadata.rst13 binary sections. Metadata is assigned as an ``MDNode`` of the ``MD_pcsections``
40 function to all named sections. For each emitted PC in a section #N, the
44 different sections (e.g. ``!0 = !{"s1", !1, "s2", !1}``).
66 optimizations or code generation outside the requested PC sections.
68 While relying on LLVM IR metadata to request PC sections makes the above
77 sections metadata, this guarantee is unchanged, and ``!pcsections`` metadata is
93 optimization passes shall preserve PC sections metadata as follows:
95 1. Replacements will preserve PC sections metadata of the replaced
98 2. Duplications will preserve PC sections metadata of the copied
101 3. Merging will preserve PC sections metadata of one of the two
[all …]
/openbsd-src/gnu/llvm/lld/docs/ELF/
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``.
/openbsd-src/gnu/usr.bin/texinfo/util/
H A Dinstall-info.c99 struct menu_section *sections; member
759 struct spec_section **sections; in output_dirfile() local
768 sections = ((struct spec_section **) in output_dirfile()
775 sections[j++] = spec; in output_dirfile()
776 qsort (sections, n_sections, sizeof (struct spec_section *), in output_dirfile()
798 spec = sections[j]; in output_dirfile()
826 free (sections); in output_dirfile()
850 struct spec_section **sections, struct spec_entry **entries) in parse_input() argument
854 struct spec_section *head = *sections, *tail = NULL; in parse_input()
857 int ignore_sections = *sections != 0; in parse_input()
[all …]
/openbsd-src/gnu/llvm/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

12345678910>>...46