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

1234

/freebsd-11-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;
/freebsd-11-stable/contrib/binutils/include/elf/
H A Dexternal.h107 unsigned char sh_link[4]; /* Index of another section */ member in struct:__anon505
120 unsigned char sh_link[4]; /* Index of another section */ member in struct:__anon506
H A Dinternal.h85 unsigned long sh_link; /* Index of another section */ member in struct:elf_internal_shdr
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_lib.c171 dst->sh_link = src->sh_link;
315 shstrndx = x32.sh_link;
325 shstrndx = x64.sh_link;
387 const GElf_Shdr *lhp = &sp[shp->sh_link];
389 if (shp->sh_link >= shnum)
390 continue; /* corrupt sh_link field */
/freebsd-11-stable/usr.bin/gprof/
H A Delf.c96 sh_strtab = &shdrs[sh_symtab->sh_link];
/freebsd-11-stable/lib/libproc/
H A Dproc_sym.c336 symtabstridx = shdr.sh_link;
340 dynsymstridx = shdr.sh_link;
483 symtabstridx = shdr.sh_link;
487 dynsymstridx = shdr.sh_link;
587 stridx = shdr.sh_link;
/freebsd-11-stable/contrib/binutils/bfd/
H A Delf.c440 unsigned int shindex = symtab_hdr->sh_link;
482 hdr = elf_elfsections (abfd) [ghdr->sh_link];
484 || ! bfd_section_from_shdr (abfd, ghdr->sh_link))
694 unsigned int elfsec = this_hdr->sh_link;
696 not set the sh_link or sh_info fields. Hence we could
704 (_("%B: warning: sh_link not set for section `%A'"),
715 sh_link. We don't want to proceed. */
720 (_("%B: sh_link [%d] in section `%A' is incorrect"),
1216 shlink = elf_elfsections (abfd)[elfsec]->sh_link;
1767 shlink = elf_elfsections (abfd)[elfsec]->sh_link;
[all...]
H A Delf-vxworks.c208 /* Set the sh_link and sh_info fields on the static plt relocation secton. */
223 d->this_hdr.sh_link = elf_tdata (abfd)->symtab_section;
H A Delfcode.h309 dst->sh_link = H_GET_32 (abfd, src->sh_link);
332 H_PUT_32 (abfd, src->sh_link, dst->sh_link);
705 i_ehdrp->e_shstrndx = i_shdr.sh_link;
706 if (i_ehdrp->e_shstrndx != i_shdr.sh_link)
778 /* Sanity check sh_link and sh_info. */
779 if (! valid_section_index_p (i_shdrp[shindex].sh_link, num_sec))
1081 i_shdrp[0]->sh_link = i_ehdrp->e_shstrndx;
1536 "sh_link
[all...]
/freebsd-11-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...]
/freebsd-11-stable/contrib/libexecinfo/
H A Dsymtab.c141 elf_strptr(elf, shdr.sh_link, sym.st_name));
/freebsd-11-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-11-stable/sys/mips/mips/
H A Delf_trampoline.c144 symstrindex = shdr[i].sh_link;
/freebsd-11-stable/sys/sys/
H A Delf64.h105 Elf64_Word sh_link; /* Index of a related section. */ member in struct:__anon8485
H A Delf32.h96 Elf32_Word sh_link; /* Index of a related section. */ member in struct:__anon8467
/freebsd-11-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-11-stable/contrib/binutils/binutils/
H A Dreadelf.c3242 printf (" (%ld)", (long) section_headers[0].sh_link);
3256 elf_header.e_shstrndx = section_headers[0].sh_link;
3660 internal->sh_link = BYTE_GET (shdrs[i].sh_link);
3701 internal->sh_link = BYTE_GET (shdrs[i].sh_link);
3729 && (symtab_shndx_hdr->sh_link
3792 && (symtab_shndx_hdr->sh_link
4275 (unsigned long) section->sh_link,
4313 (unsigned long) section->sh_link,
[all...]
/freebsd-11-stable/lib/libc/gen/
H A Dnlist.c284 symstroff = shdr[shdr[i].sh_link].sh_offset;
285 symstrsize = shdr[shdr[i].sh_link].sh_size;
/freebsd-11-stable/contrib/file/src/
H A Dreadelf.h213 Elf32_Word sh_link; member in struct:__anon38
226 Elf64_Word sh_link; member in struct:__anon39
/freebsd-11-stable/sys/dev/ksyms/
H A Dksyms.c320 hdr->kh_shdr[SHDR_SYMTAB].sh_link = SHDR_STRTAB;
333 hdr->kh_shdr[SHDR_STRTAB].sh_link = 0;
347 hdr->kh_shdr[SHDR_SHSTRTAB].sh_link = 0;
/freebsd-11-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-11-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-11-stable/cddl/contrib/opensolaris/cmd/lockstat/
H A Dsym.c201 strindex = shdr->sh_link;

Completed in 300 milliseconds

1234