Home
last modified time | relevance | path

Searched refs:sh_info (Results 1 – 25 of 45) sorted by relevance

12

/freebsd/contrib/elftoolchain/libelf/
H A Dgelf_shdr.c78 d->sh_info = sh32->sh_info; in gelf_getshdr()
125 sh32->sh_info = s->sh_info; in gelf_update_shdr()
H A Dlibelf_extended.c119 scn->s_shdr.s_shdr32.sh_info = (Elf32_Word) phnum; in _libelf_setphnum()
121 scn->s_shdr.s_shdr64.sh_info = (Elf64_Word) phnum; in _libelf_setphnum()
H A Delf_types.m4203 `sh_info, WORD',
216 `sh_info, WORD',
H A Dlibelf_ehdr.c83 GET_SHDR_MEMBER(sh_info); in _libelf_load_extended()
/freebsd/sys/dev/xen/pcifront/
H A Dpcifront.c96 struct xen_pci_sharedinfo *sh_info; member
136 pdev->sh_info = (struct xen_pci_sharedinfo *)malloc(PAGE_SIZE, M_DEVBUF, M_NOWAIT); in alloc_pdev()
137 if (pdev->sh_info == NULL) { in alloc_pdev()
144 pdev->sh_info->flags = 0; in alloc_pdev()
181 gnttab_end_foreign_access(pdev->gnt_ref, 0, (void *)pdev->sh_info); in put_pdev()
195 err = xenbus_grant_ring(pdev->xdev, virt_to_mfn(pdev->sh_info)); in pcifront_publish_info()
366 struct xen_pci_op *active_op = &pdev->sh_info->op; in do_pci_op()
376 set_bit(_XEN_PCIF_active, (unsigned long *)&pdev->sh_info->flags); in do_pci_op()
385 (_XEN_PCIF_active, (unsigned long *)&pdev->sh_info->flags)) { in do_pci_op()
393 (unsigned long *)&pdev->sh_info->flags); in do_pci_op()
/freebsd/contrib/elftoolchain/elfcopy/
H A Dsections.c110 is_remove_reloc_sec(struct elfcopy *ecp, uint32_t sh_info) in is_remove_reloc_sec() argument
122 is = elf_getscn(ecp->ein, sh_info); in is_remove_reloc_sec()
389 if (ish.sh_info != 0 && in create_scn()
390 is_remove_reloc_sec(ecp, ish.sh_info)) in create_scn()
1189 osh.sh_info = ish.sh_info; in copy_shdr()
1433 osh.sh_info != 0) in update_shdr()
1434 osh.sh_info = ecp->secndx[osh.sh_info]; in update_shdr()
1442 osh.sh_info = ecp->symndx[osh.sh_info]; in update_shdr()
1523 sh.sh_info = 0; in set_shstrtab()
H A Dsymbols.c300 is_remove_reloc_sec(ecp, sh.sh_info)) in mark_reloc_symbols()
374 if (sh.sh_info > 0 && sh.sh_info < sc) in mark_section_group_symbols()
375 BIT_SET(ecp->v_grp, sh.sh_info); in mark_section_group_symbols()
376 else if (sh.sh_info != 0) in mark_section_group_symbols()
1120 shy.sh_info = sy_buf->nls; in create_symtab_data()
1128 sht.sh_info = 0; in create_symtab_data()
/freebsd/sys/kern/
H A Dlink_elf_obj.c421 if (shdr[shdr[i].sh_info].sh_addr == 0) in link_elf_link_preload()
426 if (shdr[shdr[i].sh_info].sh_addr == 0) in link_elf_link_preload()
587 if (shdr[shdr[i].sh_info].sh_addr == 0) in link_elf_link_preload()
591 ef->reltab[rl].sec = shdr[i].sh_info; in link_elf_link_preload()
595 if (shdr[shdr[i].sh_info].sh_addr == 0) in link_elf_link_preload()
600 ef->relatab[ra].sec = shdr[i].sh_info; in link_elf_link_preload()
859 if ((shdr[shdr[i].sh_info].sh_flags & SHF_ALLOC) == 0) in link_elf_load_file()
864 if ((shdr[shdr[i].sh_info].sh_flags & SHF_ALLOC) == 0) in link_elf_load_file()
1166 if ((shdr[shdr[i].sh_info].sh_flags & SHF_ALLOC) == 0) in link_elf_load_file()
1171 ef->reltab[rl].sec = shdr[i].sh_info; in link_elf_load_file()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DELFLinkGraphBuilder.h603 auto FixupSection = Obj.getSection(RelSect.sh_info); in forEachRelaRelocation()
624 auto *BlockToFix = getGraphBlock(RelSect.sh_info); in forEachRelaRelocation()
653 auto FixupSection = Obj.getSection(RelSect.sh_info); in forEachRelRelocation()
674 auto *BlockToFix = getGraphBlock(RelSect.sh_info); in forEachRelRelocation()
/freebsd/contrib/file/src/
H A Dreadelf.h214 Elf32_Word sh_info; member
227 Elf64_Word sh_info; member
/freebsd/sys/dev/ksyms/
H A Dksyms.c331 hdr->kh_shdr[SHDR_SYMTAB].sh_info = ts->ts_symsz / sizeof(Elf_Sym); in ksyms_snapshot()
344 hdr->kh_shdr[SHDR_STRTAB].sh_info = 0; in ksyms_snapshot()
358 hdr->kh_shdr[SHDR_SHSTRTAB].sh_info = 0; in ksyms_snapshot()
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_link.c568 shp->sh_info = de.de_global; in dump_elf32()
589 shp->sh_info = ESHDR_DOF; in dump_elf32()
725 shp->sh_info = de.de_global; in dump_elf64()
746 shp->sh_info = ESHDR_DOF; in dump_elf64()
1324 if ((scn_tgt = elf_getscn(elf, shdr_rel.sh_info)) == NULL || in process_obj()
1392 shdr_rel.sh_info, &fsym, uses_funcdesc, in process_obj()
1572 rela.r_offset, shdr_rel.sh_info, &fsym, in process_obj()
1581 rela.r_offset, shdr_rel.sh_info, &fsym, in process_obj()
/freebsd/stand/common/
H A Dload_elf_obj.c320 if ((shdr[shdr[i].sh_info].sh_flags & SHF_ALLOC) == 0) in __elfN()
522 base = shdr[shdr[i].sh_info].sh_addr; in __elfN()
526 shdr[shdr[i].sh_info].sh_size) in __elfN()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp851 SHeader.sh_info = *RawSec->Info; in initSectionHeaders()
1020 SHeader.sh_info = (RawSec && RawSec->Info) ? (unsigned)(*RawSec->Info) in initSymtabSectionHeader()
1065 SHeader.sh_info = *RawSec->Info; in initStrtabSectionHeader()
1131 SHeader.sh_info = *RawSec->Info; in initDWARFSectionHeader()
1264 SHeader.sh_info = *Section.Info; in writeSectionContent()
1283 SHeader.sh_info = toSectionIndex(Section.RelocatableSec, Section.Name); in writeSectionContent()
1396 SHeader.sh_info = in writeSectionContent()
1642 SHeader.sh_info = *Section.Info; in writeSectionContent()
1644 SHeader.sh_info = Section.Entries->size(); in writeSectionContent()
1687 SHeader.sh_info = *Section.Info; in writeSectionContent()
[all …]
/freebsd/sys/sys/
H A Delf32.h97 Elf32_Word sh_info; /* Depends on section type. */ member
H A Delf64.h106 Elf64_Word sh_info; /* Depends on section type. */ member
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h167 elf_word sh_info; ///< Extra section info (overloaded). member
H A DELFHeader.cpp106 e_phnum = section_zero.sh_info; in ParseHeaderExtension()
/freebsd/contrib/llvm-project/lld/ELF/
H A DInputFiles.cpp570 firstGlobal = symtabSec->sh_info; in init()
704 if (sec.sh_info >= symbols.size()) in getShtGroupSignature()
706 const typename ELFT::Sym &sym = symbols[sec.sh_info]; in getShtGroupSignature()
819 cantFail(this->getELFSyms<ELFT>()[sec.sh_info].getName(stringTable)); in initializeSections()
888 const uint32_t info = sec.sh_info; in initializeSections()
1379 for (unsigned i = 0, e = sec->sh_info; i != e; ++i) { in parseVerdefs()
1402 for (unsigned i = 0; i != sec->sh_info; ++i) { in parseVerneed()
/freebsd/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_lib.c173 dst->sh_info = src->sh_info; in shdr_to_gelf()
/freebsd/lib/libkldelf/
H A Def_obj.c417 ef->reltab[rl].sec = shdr[i].sh_info; in ef_obj_open()
426 ef->relatab[ra].sec = shdr[i].sh_info; in ef_obj_open()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DELFObjectWriter.cpp880 uint64_t sh_info = 0; in writeSection() local
896 sh_info = InfoSection->getOrdinal(); in writeSection()
902 sh_info = LastLocalSymbolIndex; in writeSection()
913 sh_info = GroupSymbolIndex; in writeSection()
927 sh_link, sh_info, Section.getAlign(), in writeSection()
/freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/
H A DELFObjHandler.cpp294 StrTab.Shdr.sh_info = 0; in fillStrTabShdr()
310 SymTab.Shdr.sh_info = 1; in fillSymTabShdr()
323 DynTab.Shdr.sh_info = 0; in fillDynTabShdr()
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c567 shdr.sh_info = secxlate[shdr.sh_info]; in write_file()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DELF.h1032 Elf32_Word sh_info; // Section type-specific extra information member
1046 Elf64_Word sh_info; member

12