Home
last modified time | relevance | path

Searched refs:sec (Results 1 – 25 of 809) sorted by relevance

12345678910>>...33

/openbsd/gnu/llvm/lld/ELF/
H A DMarkLive.cpp125 enqueue(sec, 0); in resolveReloc()
164 switch (sec->type) { in isReserved()
193 if (sec->partition == 1 || sec->partition == partition) in enqueue()
195 sec->partition = sec->partition ? 1 : partition; in enqueue()
247 enqueue(sec, 0); in run()
276 bool isRel = sec->type == SHT_REL || sec->type == SHT_RELA; in run()
286 if (isReserved(sec) || script->shouldKeep(sec)) { in run()
287 enqueue(sec, 0); in run()
294 cNamedSections[saver().save("__stop_" + sec->name)].push_back(sec); in run()
339 if (!sec->isLive() || !isValidCIdentifier(sec->name)) in moveToMain()
[all …]
H A DLinkerScript.cpp115 if (sec) in getValue()
122 return sec ? sec->getOutputSection()->addr + sec->getOffset(0) : 0; in getSecAddr()
137 OutputDesc *sec; in createOutputSection() local
140 sec = secRef; in createOutputSection()
144 secRef = sec; in createOutputSection()
147 return sec; in createOutputSection()
221 SectionBase *sec = value.isAbsolute() ? nullptr : value.sec; in addSymbol() local
513 if (!sec->isLive() || sec->parent || seen.contains(i)) in computeInputSections()
953 return sec; in findFirstSection()
981 setDot(sec->addrExpr, sec->location, false); in assignOffsets()
[all …]
H A DDWARF.cpp33 if (!sec) in LLDDwarfObj()
48 m->sec = sec; in LLDDwarfObj()
52 if (sec->name == ".debug_abbrev") in LLDDwarfObj()
54 else if (sec->name == ".debug_str") in LLDDwarfObj()
56 else if (sec->name == ".debug_line_str") in LLDDwarfObj()
58 else if (sec->name == ".debug_info" && in LLDDwarfObj()
70 infoSection.sec = sec; in LLDDwarfObj()
113 const ObjFile<ELFT> *file = sec.getFile<ELFT>(); in findAux()
138 const RelsOrRelas<ELFT> rels = sec.sec->template relsOrRelas<ELFT>(); in find()
140 return findAux(*sec.sec, pos, rels.rels); in find()
[all …]
H A DWriter.cpp1613 if (sec && sec->isNeeded() && sec->getParent()) { in finalizeSynthetic()
1819 if (sec->getParent() && sec->isNeeded()) in removeUnusedSyntheticSections()
2582 return sec.type != SHT_NOBITS && (sec.flags & SHF_ALLOC) && sec.size > 0; in assignFileOffsetsBinary()
2587 sec->offset = sec->getLMA(); in assignFileOffsetsBinary()
2653 if ((sec->offset > fileSize) || (sec->offset + sec->size > fileSize)) in assignFileOffsets()
2655 rangeToString(sec->offset, sec->size) + in assignFileOffsets()
2757 fileOffs.push_back({sec, sec->offset}); in checkSections()
2773 if (sec->size > 0 && (sec->flags & SHF_ALLOC) && !(sec->flags & SHF_TLS)) in checkSections()
2774 vmas.push_back({sec, sec->addr}); in checkSections()
2782 if (sec->size > 0 && (sec->flags & SHF_ALLOC) && !(sec->flags & SHF_TLS)) in checkSections()
[all …]
H A DInputFiles.cpp473 return &sec; in findSection()
618 i, sec, check(obj.getSectionName(sec, shstrtab))); in parse()
669 if (sec.sh_size == 0) in shouldMerge()
794 if (sec.sh_type == SHT_REL || sec.sh_type == SHT_RELA) { in initializeSections()
829 *this, sec, check(obj.getSectionName(sec, shstrtab))); in initializeSections()
840 if (!sec.sh_link || !(sec.sh_flags & SHF_LINK_ORDER)) in initializeSections()
882 fatal(toString(sec.file) + ":(" + sec.name + "+0x" + in readAndFeatures()
1028 if ((sec.sh_flags & SHF_MERGE) && shouldMerge(sec, name)) in createInputSection()
1282 if (!sec) in parseVerdefs()
1307 if (!sec) in parseVerneed()
[all …]
/openbsd/gnu/usr.bin/binutils-2.17/bfd/
H A Daix5ppc-core.c53 asection *sec; in xcoff64_core_p() local
121 if (NULL == sec) in xcoff64_core_p()
125 sec->size = core.c_size; in xcoff64_core_p()
131 if (NULL == sec) in xcoff64_core_p()
136 sec->vma = 0; in xcoff64_core_p()
137 sec->filepos = 0; in xcoff64_core_p()
145 if (NULL == sec) in xcoff64_core_p()
150 sec->vma = 0; in xcoff64_core_p()
159 if (NULL == sec) in xcoff64_core_p()
182 if (NULL == sec) in xcoff64_core_p()
[all …]
H A Dmerge.c88 asection *sec; member
292 asection *sec = secinfo->sec; in sec_merge_emit() local
371 && ((sec->entsize & (sec->entsize - 1)) in _bfd_add_merge_section()
388 && secinfo->sec->entsize == sec->entsize in _bfd_add_merge_section()
389 && secinfo->sec->alignment_power == sec->alignment_power in _bfd_add_merge_section()
390 && secinfo->sec->output_section == sec->output_section) in _bfd_add_merge_section()
423 secinfo->sec = sec; in _bfd_add_merge_section()
428 sec->rawsize = sec->size; in _bfd_add_merge_section()
445 asection *sec = secinfo->sec; in record_section() local
788 pos = sec->output_section->filepos + sec->output_offset; in _bfd_write_merged_section()
[all …]
H A Dmmo.c464 return sec; in mmo_make_section()
615 infop->sec = sec; in mmo_find_sec_w_addr()
630 infop->sec = sec; in mmo_find_sec_w_addr_grow()
1444 if (vma + size > sec->vma + sec->size) in mmo_get_loc()
1445 sec->size += (vma + size) - (sec->vma + sec->size); in mmo_get_loc()
1498 if (! bfd_set_section_flags (sec->owner, sec, in mmo_get_loc()
1499 bfd_get_section_flags (sec->owner, sec) in mmo_get_loc()
1507 if (vma + size > sec->vma + sec->size) in mmo_get_loc()
1508 sec->size += (vma + size) - (sec->vma + sec->size); in mmo_get_loc()
1518 sec->lma = sec->vma; in mmo_map_set_sizes()
[all …]
H A Delf32-ip2k.c330 asection *sec, in ip2k_is_switch_table_128() argument
410 asection *sec, in ip2k_is_switch_table_256() argument
467 asection *sec, in ip2k_nominal_page_bits() argument
521 asection *sec, in ip2k_test_page_insn() argument
556 asection *sec, in adjust_all_relocations() argument
794 sec->size -= count; in ip2k_elf_relax_delete_bytes()
1061 asection *sec, in ip2k_elf_relax_section() argument
1168 if ((BASEADDR (sec) + sec->size < search_addr) in ip2k_elf_relax_section()
1169 && (BASEADDR (sec) + sec->size > page_end)) in ip2k_elf_relax_section()
1191 if ((BASEADDR (sec) + sec->size >= page_start) in ip2k_elf_relax_section()
[all …]
H A Delf32-xtensa.c2992 for (sec = abfd->sections; sec != NULL; sec = sec->next) in elf_xtensa_discard_info()
4697 ta->sec = sec; in text_action_add()
4731 ta->sec = sec; in text_action_add_literal()
5028 if (!sec || sec == sec->output_section) in get_xtensa_relax_info()
5268 sec_cache->sec = sec; in section_cache_section()
5417 ebb->sec = sec; in init_ebb()
5899 for (sec = abfd->sections; sec != NULL; sec = sec->next) in analyze_relocations()
5906 for (sec = abfd->sections; sec != NULL; sec = sec->next) in analyze_relocations()
5918 for (sec = abfd->sections; sec != NULL; sec = sec->next) in analyze_relocations()
5933 for (sec = abfd->sections; sec != NULL; sec = sec->next) in analyze_relocations()
[all …]
H A Delf-m10200.c360 asection *sec; local
371 sec = NULL;
487 asection *sec;
615 value -= (sec->output_section->vma + sec->output_offset);
668 value -= (sec->output_section->vma + sec->output_offset);
726 value -= (sec->output_section->vma + sec->output_offset);
751 if (symval != (sec->output_section->vma + sec->output_offset
1159 asection *sec;
1183 toaddr = sec->size;
1191 sec->size -= count;
[all …]
H A Delf32-crx.c600 toaddr = sec->size; in elf32_crx_relax_delete_bytes()
608 sec->size -= count; in elf32_crx_relax_delete_bytes()
844 asection *sec; in elf32_crx_relocate_section() local
855 sec = NULL; in elf32_crx_relocate_section()
859 sec = local_sections[r_symndx]; in elf32_crx_relocate_section()
868 h, sec, relocation, in elf32_crx_relocate_section()
876 info, sec, h == NULL); in elf32_crx_relocate_section()
968 || sec->reloc_count == 0 in elf32_crx_relax_section()
1075 value -= (sec->output_section->vma + sec->output_offset); in elf32_crx_relax_section()
1124 value -= (sec->output_section->vma + sec->output_offset); in elf32_crx_relax_section()
[all …]
/openbsd/gnu/usr.bin/binutils/bfd/
H A Daix5ppc-core.c58 asection *sec; local
124 if (NULL == sec)
134 if (NULL == sec)
139 sec->vma = 0;
140 sec->filepos = 0;
148 if (NULL == sec)
153 sec->vma = 0;
162 if (NULL == sec)
167 sec->vma = core.c_dataorg;
185 if (NULL == sec)
[all …]
H A Dmerge.c87 asection *sec; member
294 asection *sec = secinfo->sec; in sec_merge_emit() local
354 align = bfd_get_section_alignment (sec->owner, sec); in _bfd_merge_section()
356 && ((sec->entsize & (sec->entsize - 1)) in _bfd_merge_section()
373 && secinfo->sec->entsize == sec->entsize in _bfd_merge_section()
374 && ! strcmp (secinfo->sec->name, sec->name)) in _bfd_merge_section()
408 secinfo->sec = sec; in _bfd_merge_section()
429 asection *sec = secinfo->sec; in record_section() local
436 align = bfd_get_section_alignment (sec->owner, sec); in record_section()
767 pos = sec->output_section->filepos + sec->output_offset; in _bfd_write_merged_section()
[all …]
H A Delf32-ip2k.c363 asection *sec;
418 asection *sec;
443 asection *sec;
498 asection *sec;
539 asection *sec;
651 asection *sec;
706 asection *sec;
846 sec->_cooked_size = sec->_raw_size;
920 if ((BASEADDR (sec) + sec->_cooked_size < search_addr)
921 && (BASEADDR (sec) + sec->_cooked_size > page_end))
[all …]
H A Dmmo.c669 infop->sec = sec;
687 infop->sec = sec;
1548 if (vma + size > sec->vma + sec->_raw_size)
1549 sec->_raw_size += (vma + size) - (sec->vma + sec->_raw_size);
1602 if (! bfd_set_section_flags (sec->owner, sec,
1603 bfd_get_section_flags (sec->owner, sec)
1611 if (vma + size > sec->vma + sec->_raw_size)
1612 sec->_raw_size += (vma + size) - (sec->vma + sec->_raw_size);
1624 sec->_cooked_size = sec->_raw_size;
1625 sec->lma = sec->vma;
[all …]
H A Delf-eh-frame.c264 if (sec->_raw_size != (unsigned int) sec->_raw_size) in _bfd_elf_discard_section_eh_frame()
677 asection *sec; in _bfd_elf_discard_section_eh_frame_hdr() local
682 if (sec == NULL) in _bfd_elf_discard_section_eh_frame_hdr()
759 return offset - (sec->_cooked_size - sec->_raw_size); in _bfd_elf_eh_frame_section_offset()
824 sec->output_offset, sec->_raw_size); in _bfd_elf_write_section_eh_frame()
976 address += (sec->output_section->vma + sec->output_offset in _bfd_elf_write_section_eh_frame()
981 value -= (sec->output_section->vma + sec->output_offset in _bfd_elf_write_section_eh_frame()
990 = (sec->output_section->vma + sec->output_offset in _bfd_elf_write_section_eh_frame()
1010 value -= (sec->output_section->vma + sec->output_offset in _bfd_elf_write_section_eh_frame()
1046 && ((sec->output_offset + sec->_cooked_size + pad) in _bfd_elf_write_section_eh_frame()
[all …]
H A Delf-m10200.c360 asection *sec; local
371 sec = NULL;
384 h, sec, relocation,
486 asection *sec;
511 sec->_cooked_size = sec->_raw_size;
624 value -= (sec->output_section->vma + sec->output_offset);
677 value -= (sec->output_section->vma + sec->output_offset);
735 value -= (sec->output_section->vma + sec->output_offset);
760 if (symval != (sec->output_section->vma + sec->output_offset
1168 asection *sec;
[all …]
H A Delf32-xtensa.c2690 section_size = (sec->_cooked_size ? sec->_cooked_size : sec->_raw_size);
2780 sec->_raw_size = sec->_cooked_size;
2819 for (sec = abfd->sections; sec != NULL; sec = sec->next)
3881 if (!sec || sec == sec->output_section)
4129 for (sec = abfd->sections; sec != NULL; sec = sec->next)
4136 for (sec = abfd->sections; sec != NULL; sec = sec->next)
4148 for (sec = abfd->sections; sec != NULL; sec = sec->next)
4162 for (sec = abfd->sections; sec != NULL; sec = sec->next)
5129 section_size = (sec->_cooked_size ? sec->_cooked_size : sec->_raw_size);
5267 sec->_raw_size = sec->_cooked_size;
[all …]
H A Delf32-m68hc11.c677 || (sec->flags & SEC_RELOC) == 0 in m68hc11_elf_relax_section()
678 || sec->reloc_count == 0 in m68hc11_elf_relax_section()
679 || (sec->flags & SEC_CODE) == 0) in m68hc11_elf_relax_section()
684 if (sec->_cooked_size == 0) in m68hc11_elf_relax_section()
685 sec->_cooked_size = sec->_raw_size; in m68hc11_elf_relax_section()
740 (file_ptr) 0, sec->_raw_size)) in m68hc11_elf_relax_section()
878 if (*again && sym_sec != sec in m68hc11_elf_relax_section()
1127 toaddr = sec->_cooked_size; in m68hc11_elf_relax_delete_bytes()
1129 irel = elf_section_data (sec)->relocs; in m68hc11_elf_relax_delete_bytes()
1130 irelend = irel + sec->reloc_count; in m68hc11_elf_relax_delete_bytes()
[all …]
H A Delf32-h8300.c423 asection *sec; in elf32_h8_relocate_section() local
433 sec = NULL; in elf32_h8_relocate_section()
446 h, sec, relocation, in elf32_h8_relocate_section()
454 info, sec, h == NULL); in elf32_h8_relocate_section()
678 || sec->reloc_count == 0 in elf32_h8_relax_section()
684 if (sec->_cooked_size == 0) in elf32_h8_relax_section()
685 sec->_cooked_size = sec->_raw_size; in elf32_h8_relax_section()
699 last_input_section = sec; in elf32_h8_relax_section()
943 + sec->output_offset in elf32_h8_relax_section()
1300 toaddr = sec->_cooked_size; in elf32_h8_relax_delete_bytes()
[all …]
H A Delf64-mmix.c865 asection *sec;
1360 asection *sec; local
1469 sec = NULL;
1748 asection *sec; in mmix_elf_gc_mark_hook()
1852 asection *sec;
1987 asection *sec;
2310 asection *sec;
2320 sec->_cooked_size
2324 sec->_raw_size = sec->_cooked_size;
2588 asection *sec;
[all …]
/openbsd/regress/sys/netinet/ipsec/
H A DMakefile182 .for sec in ESP AH IPIP IPCOMP BUNDLE
294 .for sec in ESP AH IPIP IPCOMP BUNDLE
345 .if "${sec}" == IPCOMP
380 .if "${sec}" == IPCOMP
444 .for sec in ESP AH IPIP IPCOMP BUNDLE
450 ${${host}_${sec}_${mode}_${ipv}}:
669 .for sec in ESP AH IPIP IPCOMP BUNDLE
715 .for sec in ESP AH IPIP IPCOMP BUNDLE
752 .for sec in ESP AH IPIP IPCOMP BUNDLE
787 .for sec in ESP AH IPIP IPCOMP BUNDLE
[all …]
/openbsd/regress/sbin/isakmpd/exchange/
H A Drun.pl36 $conaddr, $sec, $tick, $action, $template, $data, $next,
61 my ($sec, $usec) = unpack ("ll", $tv);
62 $sec % 86400 + $usec / 1000000;
65 $sec = &getsec;
79 $next = $sec + $tick * $tickfac;
82 print STDERR "waiting ", $next - $sec, " secs\n";
83 select undef, undef, undef, $next - $sec
84 while ($sec = &getsec) < $next;
89 $sec = &getsec;
91 $next - $sec);
[all …]
/openbsd/gnu/usr.bin/perl/dist/Devel-PPPort/
H A DRealPPPort_xs.PL39 my $sec;
45 for $sec (keys %SECTION) {
46 if (exists $spec->{$sec}) {
48 if (exists $SECTION{$sec}{header}) {
49 my $header = $SECTION{$sec}{header};
53 $SECTION{$sec}{code} .= $spec->{$sec} . "\n";
60 for $sec (keys %SECTION) {
61 my $code = $SECTION{$sec}{code};
62 if (exists $SECTION{$sec}{indent}) {
63 $code =~ s/^/$SECTION{$sec}{indent}/gm;
[all …]

12345678910>>...33