Searched refs:sh_link (Results 1 - 25 of 59) sorted by relevance

123

/freebsd-13-stable/contrib/elftoolchain/libelf/
H A Dgelf_shdr.c77 d->sh_link = sh32->sh_link;
124 sh32->sh_link = s->sh_link;
H A Dlibelf_extended.c90 scn->s_shdr.s_shdr32.sh_link = (Elf32_Word) shstrndx;
92 scn->s_shdr.s_shdr64.sh_link = (Elf64_Word) shstrndx;
H A Dlibelf_ehdr.c85 GET_SHDR_MEMBER(sh_link);
/freebsd-13-stable/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_lib.c172 dst->sh_link = src->sh_link;
316 shstrndx = x32.sh_link;
326 shstrndx = x64.sh_link;
388 const GElf_Shdr *lhp = &sp[shp->sh_link];
390 if (shp->sh_link >= shnum)
391 continue; /* corrupt sh_link field */
/freebsd-13-stable/usr.bin/gprof/
H A Delf.c98 sh_strtab = &shdrs[sh_symtab->sh_link];
/freebsd-13-stable/lib/libc/gen/
H A Dnlist.c175 symstroff = shdr[shdr[i].sh_link].sh_offset;
176 symstrsize = shdr[shdr[i].sh_link].sh_size;
/freebsd-13-stable/contrib/libexecinfo/
H A Dsymtab.c141 elf_strptr(elf, shdr.sh_link, sym.st_name),
157 elf_strptr(elf, shdr.sh_link, sym.st_name));
/freebsd-13-stable/contrib/elftoolchain/elfcopy/
H A Dsections.c710 * No symbol table in output. If sh_link points to a section
714 if (ish.sh_link != 0 && ecp->secndx[ish.sh_link] != 0)
718 if (ish.sh_link != elf_ndxscn(ecp->symtab->is))
775 if (ish.sh_link == 0 || ecp->secndx[ish.sh_link] == 0)
845 if (osh.sh_link != elf_ndxscn(ecp->symtab->is))
1188 osh.sh_link = ish.sh_link;
1422 * sh_link need
[all...]
H A Dbinary.c261 /* Properly set sh_link field of .symtab section. */
265 sh.sh_link = elf_ndxscn(ecp->strtab->os);
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h166 elf_word sh_link; ///< Index of associated section. member in struct:elf::ELFSectionHeader
H A DELFHeader.cpp110 e_shstrndx = section_zero.sh_link;
238 // Read sh_link and sh_info.
239 if (data.GetU32(offset, &sh_link, 2) == nullptr)
/freebsd-13-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c357 scn = elf_getscn(elf, shdr.sh_link);
566 shdr.sh_link = secxlate[shdr.sh_link];
672 shdr.sh_link = symtab_idx;
/freebsd-13-stable/sys/mips/mips/
H A Delf_trampoline.c145 symstrindex = shdr[i].sh_link;
/freebsd-13-stable/sys/sys/
H A Delf32.h98 Elf32_Word sh_link; /* Index of a related section. */ member in struct:__anon15801
H A Delf64.h107 Elf64_Word sh_link; /* Index of a related section. */ member in struct:__anon15819
/freebsd-13-stable/contrib/file/src/
H A Dreadelf.h213 Elf32_Word sh_link; member in struct:__anon757
226 Elf64_Word sh_link; member in struct:__anon758
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DARMEHABIPrinter.h406 auto SymTabOrErr = ELF->getSection(Sec.sh_link);
488 if (ErrorOr<StringRef> Name = FunctionAtAddress(EHT->sh_link, Address))
537 if (ErrorOr<StringRef> Name = FunctionAtAddress(IT->sh_link, Offset))
/freebsd-13-stable/sys/powerpc/powerpc/
H A Dmachdep.c596 shdr[shdr[i].sh_link].sh_offset);
599 shdr[shdr[i].sh_link].sh_offset);
602 (shdr[shdr[i].sh_link].sh_size);
/freebsd-13-stable/sys/dev/ksyms/
H A Dksyms.c332 hdr->kh_shdr[SHDR_SYMTAB].sh_link = SHDR_STRTAB;
345 hdr->kh_shdr[SHDR_STRTAB].sh_link = 0;
359 hdr->kh_shdr[SHDR_SHSTRTAB].sh_link = 0;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DELF_x86_64.cpp95 auto StrTabSec = Obj.getSection(SecRef.sh_link);
284 auto StrTabSec = Obj.getSection(SecRef.sh_link);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/
H A DELFObjectWriter.cpp909 W.write<uint32_t>(Link); // sh_link
989 uint64_t sh_link = 0; local
1002 sh_link = SymbolTableIndex;
1003 assert(sh_link && ".symtab not found");
1010 sh_link = StringTableIndex;
1017 sh_link = SymbolTableIndex;
1021 sh_link = SymbolTableIndex;
1029 sh_link = SectionIndexMap.lookup(Sec);
1034 sh_link, sh_info, Section.getAlignment(),
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/lockstat/
H A Dsym.c207 strindex = shdr->sh_link;
/freebsd-13-stable/sys/compat/linux/
H A Dlinux_vdso.c135 __elfN(symstrindex) = shdr[i].sh_link;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp669 SHeader.sh_link = toSectionIndex(Sec->Link, Sec->Name);
848 SHeader.sh_link = toSectionIndex(RawSec->Link, RawSec->Name);
862 SHeader.sh_link = Link;
1030 SHeader.sh_link = toSectionIndex(YAMLSec->Link, Name);
1191 SHeader.sh_link = Link;
1263 SHeader.sh_link = Link;
1384 SHeader.sh_link = Link;
1412 SHeader.sh_link = Link;
1599 SHeader.sh_link = Link;
1661 SHeader.sh_link
[all...]
/freebsd-13-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_link.c556 shp->sh_link = ESHDR_STRTAB;
578 shp->sh_link = ESHDR_SYMTAB;
699 shp->sh_link = ESHDR_STRTAB;
721 shp->sh_link = ESHDR_SYMTAB;
1234 if ((scn_sym = elf_getscn(elf, shdr_rel.sh_link)) == NULL ||
1242 if ((scn_str = elf_getscn(elf, shdr_sym.sh_link)) == NULL ||

Completed in 305 milliseconds

123