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

123456

/openbsd-current/lib/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);
/openbsd-current/gnu/usr.bin/binutils/include/elf/
H A Dexternal.h107 unsigned char sh_link[4]; /* Index of another section */ member in struct:__anon4928
120 unsigned char sh_link[4]; /* Index of another section */ member in struct:__anon4929
H A Dinternal.h85 unsigned long sh_link; /* Index of another section */ member in struct:elf_internal_shdr
/openbsd-current/gnu/usr.bin/binutils-2.17/include/elf/
H A Dexternal.h107 unsigned char sh_link[4]; /* Index of another section */ member in struct:__anon13
120 unsigned char sh_link[4]; /* Index of another section */ member in struct:__anon14
H A Dinternal.h85 unsigned long sh_link; /* Index of another section */ member in struct:elf_internal_shdr
/openbsd-current/usr.bin/ctfconv/
H A Delf.c135 if ((sh->sh_link >= eh->e_shnum) || (sh->sh_name >= shstabsz))
158 if (symsh == NULL || (symsh->sh_link >= eh->e_shnum))
161 shoff = eh->e_shoff + symsh->sh_link * eh->e_shentsize;
198 if ((sh->sh_link >= eh->e_shnum) || (sh->sh_name >= shstabsz))
295 if ((sh->sh_info != sidx) || (sh->sh_link != symtabidx))
/openbsd-current/lib/libc/gen/
H A Dnlist.c140 if (shdr[i].sh_link >= ehdr.e_shnum)
144 symstroff = shdr[shdr[i].sh_link].sh_offset;
145 symstrsize = shdr[shdr[i].sh_link].sh_size;
/openbsd-current/usr.sbin/installboot/
H A Di386_nlist.c148 if (shdr[i].sh_link >= ehdr.e_shnum)
152 symstroff = shdr[shdr[i].sh_link].sh_offset;
153 symstrsize = shdr[shdr[i].sh_link].sh_size;
/openbsd-current/usr.sbin/crunchgen/
H A Delf_hide.c114 printf("sh_link %x\n", pshdr->sh_link);
200 (pshdr->sh_link * pehdr->e_shentsize));
212 hide_sym(pehdr, symsect, symtab, symtabsize, pshdr->sh_link);
409 pshdr->sh_link == symtabsecnum) {
427 pshdr->sh_link == symtabsecnum) {
/openbsd-current/usr.bin/gprof/
H A Delf.c86 sh_strtab = &shdrs[sh_symtab->sh_link];
/openbsd-current/gnu/usr.bin/binutils-2.17/bfd/
H A Delf.c422 unsigned int shindex = symtab_hdr->sh_link;
464 hdr = elf_elfsections (abfd) [ghdr->sh_link];
466 || ! bfd_section_from_shdr (abfd, ghdr->sh_link))
657 unsigned int elfsec = this_hdr->sh_link;
659 not set the sh_link or sh_info fields. Hence we could
667 (_("%B: warning: sh_link not set for section `%A'"),
678 sh_link. We don't want to proceed. */
683 (_("%B: sh_link [%d] in section `%A' is incorrect"),
1181 shlink = elf_elfsections (abfd)[elfsec]->sh_link;
1749 shlink = elf_elfsections (abfd)[elfsec]->sh_link;
[all...]
H A Delf-vxworks.c194 /* Set the sh_link and sh_info fields on the static plt relocation secton. */
209 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);
664 i_ehdrp->e_shstrndx = i_shdr.sh_link;
665 if (i_ehdrp->e_shstrndx != i_shdr.sh_link)
745 /* Sanity check sh_link and sh_info. */
746 if (! valid_section_index_p (i_shdrp[shindex].sh_link, num_sec))
1048 i_shdrp[0]->sh_link = i_ehdrp->e_shstrndx;
1499 "sh_link
[all...]
/openbsd-current/gnu/llvm/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;
244 // Read sh_link and sh_info.
245 if (data.GetU32(offset, &sh_link, 2) == nullptr)
/openbsd-current/sys/ddb/
H A Ddb_elf.c126 j = shp[i].sh_link;
199 return ((char *)elf + shp[shp[i].sh_link].sh_offset);
/openbsd-current/gnu/usr.bin/binutils-2.17/binutils/
H A Dreadelf.c3504 printf (" (%ld)", (long) section_headers[0].sh_link);
3515 elf_header.e_shstrndx = section_headers[0].sh_link;
3904 internal->sh_link = BYTE_GET (shdrs[i].sh_link);
3945 internal->sh_link = BYTE_GET (shdrs[i].sh_link);
3973 && (symtab_shndx_hdr->sh_link
4036 && (symtab_shndx_hdr->sh_link
4508 (unsigned long) section->sh_link,
4546 (unsigned long) section->sh_link,
[all...]
/openbsd-current/gnu/llvm/llvm/tools/obj2yaml/
H A Delf2yaml.cpp298 ShStrTabIndex = Sections[0].sh_link;
326 const Elf_Shdr *LinkedSymTab = cantFail(Obj.getSection(Sec.sh_link));
332 Twine(Sec.sh_link));
418 if (SymTab && SymTab->sh_link == *ShStrTabIndex) {
421 ShStrtabName = cantFail(Obj.getSectionName(Sections[SymTab->sh_link]));
422 } else if (DynSymTab && DynSymTab->sh_link == *ShStrTabIndex) {
425 ShStrtabName = cantFail(Obj.getSectionName(Sections[DynSymTab->sh_link]));
763 auto StrTabSec = Obj.getSection(SymTab->sh_link);
802 if (Shdr->sh_link != ELF::SHN_UNDEF) {
803 Expected<const Elf_Shdr *> LinkSection = Obj.getSection(Shdr->sh_link);
[all...]
/openbsd-current/gnu/usr.bin/binutils/bfd/
H A Delf.c411 unsigned int shindex = elf_tdata (abfd)->symtab_hdr.sh_link;
442 if (! bfd_section_from_shdr (abfd, ghdr->sh_link))
1018 shlink = elf_elfsections (abfd)[elfsec]->sh_link;
1578 shlink = elf_elfsections (abfd)[elfsec]->sh_link;
1684 if (elf_elfsections (abfd)[hdr->sh_link]->sh_type != SHT_STRTAB)
1689 sh_link field for the ".dynamic" section. Find the
1694 hdr->sh_link = dynsymhdr->sh_link;
1706 hdr->sh_link = dynsymhdr->sh_link;
[all...]
H A Delfcode.h307 dst->sh_link = H_GET_32 (abfd, src->sh_link);
330 H_PUT_32 (abfd, src->sh_link, dst->sh_link);
636 i_ehdrp->e_shstrndx = i_shdr.sh_link;
966 i_shdrp[0]->sh_link = i_ehdrp->e_shstrndx;
1100 hdr->sh_link,
1421 "sh_link = %ld\tsh_info = %ld\tsh_addralign = %ld\n",
1422 (long) hdr->sh_link,
/openbsd-current/gnu/llvm/llvm/lib/MC/
H A DELFObjectWriter.cpp923 W.write<uint32_t>(Link); // sh_link
998 uint64_t sh_link = 0; local
1011 sh_link = SymbolTableIndex;
1012 assert(sh_link && ".symtab not found");
1019 sh_link = StringTableIndex;
1026 sh_link = SymbolTableIndex;
1030 sh_link = SymbolTableIndex;
1037 // undefined. Represent this with sh_link=0.
1041 sh_link = SectionIndexMap.lookup(Sec);
1047 sh_link, sh_inf
[all...]
/openbsd-current/usr.sbin/kvm_mkdb/
H A Dnlist.c111 sh[j].sh_link == (unsigned)i) {
/openbsd-current/gnu/usr.bin/binutils/binutils/
H A Dreadelf.c2856 printf (" (%ld)", (long) section_headers[0].sh_link);
2867 elf_header.e_shstrndx = section_headers[0].sh_link;
3240 internal->sh_link = BYTE_GET (shdrs[i].sh_link);
3281 internal->sh_link = BYTE_GET (shdrs[i].sh_link);
3309 && (symtab_shndx_hdr->sh_link
3372 && (symtab_shndx_hdr->sh_link
3622 (unsigned long) section->sh_link,
3657 (unsigned long) section->sh_link,
[all...]

Completed in 422 milliseconds

123456