| /freebsd-12-stable/contrib/elftoolchain/libelf/ |
| 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()
|
| 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()
|
| D | elf_types.m4 | 202 `sh_link, WORD', 215 `sh_link, WORD',
|
| /freebsd-12-stable/cddl/contrib/opensolaris/lib/libctf/common/ |
| D | ctf_lib.c | 171 dst->sh_link = src->sh_link; in shdr_to_gelf() 315 shstrndx = x32.sh_link; in ctf_fdopen() 325 shstrndx = x64.sh_link; in ctf_fdopen() 387 const GElf_Shdr *lhp = &sp[shp->sh_link]; in ctf_fdopen() 389 if (shp->sh_link >= shnum) in ctf_fdopen()
|
| /freebsd-12-stable/contrib/binutils/include/elf/ |
| D | external.h | 107 unsigned char sh_link[4]; /* Index of another section */ member 120 unsigned char sh_link[4]; /* Index of another section */ member
|
| D | internal.h | 85 unsigned long sh_link; /* Index of another section */ member
|
| /freebsd-12-stable/contrib/elftoolchain/elfcopy/ |
| 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()
|
| /freebsd-12-stable/contrib/binutils/bfd/ |
| D | elf.c | 440 unsigned int shindex = symtab_hdr->sh_link; in bfd_elf_sym_name() 482 hdr = elf_elfsections (abfd) [ghdr->sh_link]; in group_signature() 484 || ! bfd_section_from_shdr (abfd, ghdr->sh_link)) in group_signature() 694 unsigned int elfsec = this_hdr->sh_link; in _bfd_elf_setup_sections() 1214 shlink = elf_elfsections (abfd)[elfsec]->sh_link; in _bfd_elf_print_private_bfd_data() 1764 shlink = elf_elfsections (abfd)[elfsec]->sh_link; in bfd_elf_get_bfd_needed_list() 1874 if (hdr->sh_link > elf_numsections (abfd) in bfd_section_from_shdr() 1875 || elf_elfsections (abfd)[hdr->sh_link] == NULL) in bfd_section_from_shdr() 1877 if (elf_elfsections (abfd)[hdr->sh_link]->sh_type != SHT_STRTAB) in bfd_section_from_shdr() 1887 hdr->sh_link = dynsymhdr->sh_link; in bfd_section_from_shdr() [all …]
|
| D | elfcode.h | 308 dst->sh_link = H_GET_32 (abfd, src->sh_link); in elf_swap_shdr_in() 331 H_PUT_32 (abfd, src->sh_link, dst->sh_link); in elf_swap_shdr_out() 703 i_ehdrp->e_shstrndx = i_shdr.sh_link; in elf_object_p() 704 if (i_ehdrp->e_shstrndx != i_shdr.sh_link) in elf_object_p() 777 if (! valid_section_index_p (i_shdrp[shindex].sh_link, num_sec)) in elf_object_p() 1078 i_shdrp[0]->sh_link = i_ehdrp->e_shstrndx; in elf_write_shdrs_and_ehdr() 1534 (long) hdr->sh_link, in elf_debug_section()
|
| D | elf-vxworks.c | 223 d->this_hdr.sh_link = elf_tdata (abfd)->symtab_section; in elf_vxworks_final_write_processing()
|
| /freebsd-12-stable/contrib/binutils/binutils/ |
| D | readelf.c | 3239 printf (" (%ld)", (long) section_headers[0].sh_link); in process_file_header() 3253 elf_header.e_shstrndx = section_headers[0].sh_link; in process_file_header() 3657 internal->sh_link = BYTE_GET (shdrs[i].sh_link); in get_32bit_section_headers() 3698 internal->sh_link = BYTE_GET (shdrs[i].sh_link); in get_64bit_section_headers() 3726 && (symtab_shndx_hdr->sh_link in get_32bit_elf_symbols() 3789 && (symtab_shndx_hdr->sh_link in get_64bit_elf_symbols() 4272 (unsigned long) section->sh_link, in process_section_headers() 4310 (unsigned long) section->sh_link, in process_section_headers() 4333 printf (" %ld\n ", (unsigned long) section->sh_link); in process_section_headers() 4361 (unsigned long) section->sh_link, in process_section_headers() [all …]
|
| /freebsd-12-stable/cddl/contrib/opensolaris/tools/ctf/cvt/ |
| D | output.c | 357 scn = elf_getscn(elf, shdr.sh_link); in sort_iidescs() 566 shdr.sh_link = secxlate[shdr.sh_link]; in write_file() 672 shdr.sh_link = symtab_idx; in write_file()
|
| /freebsd-12-stable/contrib/file/src/ |
| D | readelf.h | 213 Elf32_Word sh_link; member 226 Elf64_Word sh_link; member
|
| /freebsd-12-stable/sys/dev/ksyms/ |
| D | ksyms.c | 325 hdr->kh_shdr[SHDR_SYMTAB].sh_link = SHDR_STRTAB; in ksyms_snapshot() 338 hdr->kh_shdr[SHDR_STRTAB].sh_link = 0; in ksyms_snapshot() 352 hdr->kh_shdr[SHDR_SHSTRTAB].sh_link = 0; in ksyms_snapshot()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/MC/ |
| D | ELFObjectWriter.cpp | 986 uint64_t sh_link = 0; in writeSection() local 999 sh_link = SymbolTableIndex; in writeSection() 1000 assert(sh_link && ".symtab not found"); in writeSection() 1007 sh_link = StringTableIndex; in writeSection() 1014 sh_link = SymbolTableIndex; in writeSection() 1018 sh_link = SymbolTableIndex; in writeSection() 1029 sh_link = SectionIndexMap.lookup(Sec); in writeSection() 1035 sh_link, sh_info, Section.getAlignment(), in writeSection()
|
| /freebsd-12-stable/lib/libc/gen/ |
| D | nlist.c | 284 symstroff = shdr[shdr[i].sh_link].sh_offset; in __elf_fdnlist() 285 symstrsize = shdr[shdr[i].sh_link].sh_size; in __elf_fdnlist()
|
| /freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
| D | ELFHeader.cpp | 110 e_shstrndx = section_zero.sh_link; in ParseHeaderExtension() 239 if (data.GetU32(offset, &sh_link, 2) == nullptr) in Parse()
|
| D | ELFHeader.h | 166 elf_word sh_link; ///< Index of associated section. member
|
| /freebsd-12-stable/usr.bin/gprof/ |
| D | elf.c | 98 sh_strtab = &shdrs[sh_symtab->sh_link]; in elf_getnfile()
|
| /freebsd-12-stable/sys/sys/ |
| D | elf32.h | 98 Elf32_Word sh_link; /* Index of a related section. */ member
|
| D | elf64.h | 107 Elf64_Word sh_link; /* Index of a related section. */ member
|
| /freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| D | ARMEHABIPrinter.h | 410 auto SymTabOrErr = ELF.getSection(Sec.sh_link); in FindExceptionTable() 505 IsRelocatable ? Optional<unsigned>(EHT.sh_link) : None; in PrintExceptionTable() 578 IsRelocatable ? Optional<unsigned>(IT->sh_link) : None; in PrintIndexTable()
|
| /freebsd-12-stable/contrib/libexecinfo/ |
| D | symtab.c | 141 elf_strptr(elf, shdr.sh_link, sym.st_name)); in symtab_create()
|
| /freebsd-12-stable/sys/mips/mips/ |
| D | elf_trampoline.c | 145 symstrindex = shdr[i].sh_link; in load_kernel()
|
| /freebsd-12-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| D | dt_link.c | 555 shp->sh_link = ESHDR_STRTAB; in dump_elf32() 577 shp->sh_link = ESHDR_SYMTAB; in dump_elf32() 695 shp->sh_link = ESHDR_STRTAB; in dump_elf64() 717 shp->sh_link = ESHDR_SYMTAB; in dump_elf64() 1227 if ((scn_sym = elf_getscn(elf, shdr_rel.sh_link)) == NULL || in process_obj() 1235 if ((scn_str = elf_getscn(elf, shdr_sym.sh_link)) == NULL || in process_obj()
|