/freebsd/contrib/elftoolchain/libelf/ |
H A D | gelf_shdr.c | 77 d->sh_link = sh32->sh_link; in gelf_getshdr() 124 sh32->sh_link = s->sh_link; in gelf_update_shdr()
|
H A D | libelf_extended.c | 90 scn->s_shdr.s_shdr32.sh_link = (Elf32_Word) shstrndx; in _libelf_setshstrndx() 92 scn->s_shdr.s_shdr64.sh_link = (Elf64_Word) shstrndx; in _libelf_setshstrndx()
|
H A D | elf_types.m4 | 202 `sh_link, WORD', 215 `sh_link, WORD',
|
H A D | libelf_ehdr.c | 85 GET_SHDR_MEMBER(sh_link); in _libelf_load_extended()
|
/freebsd/cddl/contrib/opensolaris/lib/libctf/common/ |
H A D | ctf_lib.c | 172 dst->sh_link = src->sh_link; in shdr_to_gelf() 317 shstrndx = x32.sh_link; in ctf_fdopen() 327 shstrndx = x64.sh_link; in ctf_fdopen() 389 const GElf_Shdr *lhp = &sp[shp->sh_link]; in ctf_fdopen() 391 if (shp->sh_link >= shnum) in ctf_fdopen()
|
/freebsd/contrib/elftoolchain/elfcopy/ |
H A D | sections.c | 714 if (ish.sh_link != 0 && ecp->secndx[ish.sh_link] != 0) in filter_reloc() 718 if (ish.sh_link != elf_ndxscn(ecp->symtab->is)) in filter_reloc() 775 if (ish.sh_link == 0 || ecp->secndx[ish.sh_link] == 0) in filter_reloc() 845 if (osh.sh_link != elf_ndxscn(ecp->symtab->is)) in update_reloc() 1188 osh.sh_link = ish.sh_link; in copy_shdr() 1425 if (update_link && osh.sh_link != 0) in update_shdr() 1426 osh.sh_link = ecp->secndx[osh.sh_link]; in update_shdr() 1524 sh.sh_link = 0; in set_shstrtab()
|
H A D | binary.c | 265 sh.sh_link = elf_ndxscn(ecp->strtab->os); in create_elf_from_binary()
|
/freebsd/lib/libc/gen/ |
H A D | nlist.c | 171 symstroff = shdr[shdr[i].sh_link].sh_offset; in __elf_fdnlist() 172 symstrsize = shdr[shdr[i].sh_link].sh_size; in __elf_fdnlist()
|
/freebsd/contrib/libexecinfo/ |
H A D | symtab.c | 141 elf_strptr(elf, shdr.sh_link, sym.st_name), in symtab_create() 157 elf_strptr(elf, shdr.sh_link, sym.st_name)); in symtab_create()
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | output.c | 357 scn = elf_getscn(elf, shdr.sh_link); in sort_iidescs() 564 shdr.sh_link = secxlate[shdr.sh_link]; in write_file() 670 shdr.sh_link = symtab_idx; in write_file()
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | ELFObjectWriter.cpp | 879 uint64_t sh_link = 0; in writeSection() local 893 sh_link = SymbolTableIndex; in writeSection() 894 assert(sh_link && ".symtab not found"); in writeSection() 901 sh_link = StringTableIndex; in writeSection() 908 sh_link = SymbolTableIndex; in writeSection() 912 sh_link = SymbolTableIndex; in writeSection() 922 sh_link = Sym->getSection().getOrdinal(); in writeSection() 927 sh_link, sh_info, Section.getAlign(), in writeSection()
|
/freebsd/contrib/file/src/ |
H A D | readelf.h | 213 Elf32_Word sh_link; member 226 Elf64_Word sh_link; member
|
/freebsd/sys/dev/ksyms/ |
H A D | ksyms.c | 330 hdr->kh_shdr[SHDR_SYMTAB].sh_link = SHDR_STRTAB; in ksyms_snapshot() 343 hdr->kh_shdr[SHDR_STRTAB].sh_link = 0; in ksyms_snapshot() 357 hdr->kh_shdr[SHDR_SHSTRTAB].sh_link = 0; in ksyms_snapshot()
|
/freebsd/sys/powerpc/powerpc/ |
H A D | machdep.c | 603 shdr[shdr[i].sh_link].sh_offset); in load_external_symtab() 606 shdr[shdr[i].sh_link].sh_offset); in load_external_symtab() 609 (shdr[shdr[i].sh_link].sh_size); in load_external_symtab()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.cpp | 110 e_shstrndx = section_zero.sh_link; in ParseHeaderExtension() 245 if (data.GetU32(offset, &sh_link, 2) == nullptr) in Parse()
|
H A D | ELFHeader.h | 166 elf_word sh_link; ///< Index of associated section. member
|
/freebsd/usr.bin/gprof/ |
H A D | elf.c | 92 sh_strtab = &shdrs[sh_symtab->sh_link]; in elf_getnfile()
|
/freebsd/sys/sys/ |
H A D | elf32.h | 96 Elf32_Word sh_link; /* Index of a related section. */ member
|
H A D | elf64.h | 105 Elf64_Word sh_link; /* Index of a related section. */ member
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | ARMEHABIPrinter.h | 410 auto SymTabOrErr = ELF.getSection(Sec.sh_link); in FindExceptionTable() 505 IsRelocatable ? std::optional<unsigned>(EHT.sh_link) : std::nullopt; in PrintExceptionTable() 578 IsRelocatable ? std::optional<unsigned>(IT->sh_link) : std::nullopt; in PrintIndexTable()
|
/freebsd/sys/compat/linux/ |
H A D | linux_vdso.c | 128 strtab = base + shdr[shdr[i].sh_link].sh_offset; in __elfN()
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_link.c | 566 shp->sh_link = ESHDR_STRTAB; in dump_elf32() 588 shp->sh_link = ESHDR_SYMTAB; in dump_elf32() 723 shp->sh_link = ESHDR_STRTAB; in dump_elf64() 745 shp->sh_link = ESHDR_SYMTAB; in dump_elf64() 1305 if ((scn_sym = elf_getscn(elf, shdr_rel.sh_link)) == NULL || in process_obj() 1313 if ((scn_str = elf_getscn(elf, shdr_sym.sh_link)) == NULL || in process_obj()
|
/freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/ |
H A D | ELFObjHandler.cpp | 299 StrTab.Shdr.sh_link = 0; in fillStrTabShdr() 315 SymTab.Shdr.sh_link = this->DynStr.Index; in fillSymTabShdr() 328 DynTab.Shdr.sh_link = this->DynStr.Index; in fillDynTabShdr()
|
/freebsd/cddl/contrib/opensolaris/cmd/lockstat/ |
H A D | sym.c | 202 strindex = shdr.sh_link; in symtab_init()
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/dump/ |
H A D | dump.c | 981 ctfshdr.sh_link != 0) { in main() 982 symscn = elf_getscn(elf, ctfshdr.sh_link); in main() 993 symstrscn = elf_getscn(elf, shdr.sh_link); in main()
|