Home
last modified time | relevance | path

Searched refs:sh_name (Results 1 – 25 of 62) sorted by relevance

123

/NextBSD/contrib/elftoolchain/libelf/
HDgelf_shdr.c71 d->sh_name = sh32->sh_name; in gelf_getshdr()
118 sh32->sh_name = s->sh_name; in gelf_update_shdr()
HDelf_types.m4196 ``sh_name, WORD',
209 ``sh_name, WORD',
/NextBSD/cddl/contrib/opensolaris/lib/libctf/common/
HDctf_lib.c165 dst->sh_name = src->sh_name; in shdr_to_gelf()
391 if (shp->sh_name >= sp[shstrndx].sh_size || in ctf_fdopen()
392 lhp->sh_name >= sp[shstrndx].sh_size) in ctf_fdopen()
396 strcmp(strs + shp->sh_name, _CTF_SECTION) == 0) { in ctf_fdopen()
397 ctfsect.cts_name = strs + shp->sh_name; in ctf_fdopen()
405 symsect.cts_name = strs + shp->sh_name; in ctf_fdopen()
412 strsect.cts_name = strs + lhp->sh_name; in ctf_fdopen()
/NextBSD/contrib/binutils/include/elf/
HDexternal.h101 unsigned char sh_name[4]; /* Section name, index in string tbl */ member
114 unsigned char sh_name[4]; /* Section name, index in string tbl */ member
HDinternal.h79 unsigned int sh_name; /* Section name, index in string tbl */ member
/NextBSD/cddl/contrib/opensolaris/tools/ctf/cvt/
HDoutput.c509 sname = elf_strptr(src, sehdr.e_shstrndx, shdr1.sh_name); in write_file()
512 shdr1.sh_name); in write_file()
571 sname = elf_strptr(src, sehdr.e_shstrndx, shdr.sh_name); in write_file()
574 shdr.sh_name); in write_file()
669 shdr.sh_name = ctfnameoff; in write_file()
HDutil.c83 (size_t)shdr.sh_name)) == NULL) { in findelfsecidx()
/NextBSD/contrib/nvi/ex/
HDscript.h18 char sh_name[64]; /* Pty name */ member
/NextBSD/contrib/file/src/
HDreadelf.h171 Elf32_Word sh_name; member
184 Elf64_Word sh_name; member
/NextBSD/cddl/contrib/opensolaris/lib/libdtrace/common/
HDdt_link.c572 shp->sh_name = 1; /* DTRACE_SHSTRTAB32[1] = ".shstrtab" */ in dump_elf32()
580 shp->sh_name = 11; /* DTRACE_SHSTRTAB32[11] = ".SUNW_dof" */ in dump_elf32()
589 shp->sh_name = 21; /* DTRACE_SHSTRTAB32[21] = ".strtab" */ in dump_elf32()
598 shp->sh_name = 29; /* DTRACE_SHSTRTAB32[29] = ".symtab" */ in dump_elf32()
620 shp->sh_name = 37; /* DTRACE_SHSTRTAB32[37] = ".rel.SUNW_dof" */ in dump_elf32()
718 shp->sh_name = 1; /* DTRACE_SHSTRTAB64[1] = ".shstrtab" */ in dump_elf64()
726 shp->sh_name = 11; /* DTRACE_SHSTRTAB64[11] = ".SUNW_dof" */ in dump_elf64()
735 shp->sh_name = 21; /* DTRACE_SHSTRTAB64[21] = ".strtab" */ in dump_elf64()
744 shp->sh_name = 29; /* DTRACE_SHSTRTAB64[29] = ".symtab" */ in dump_elf64()
766 shp->sh_name = 37; /* DTRACE_SHSTRTAB64[37] = ".rel.SUNW_dof" */ in dump_elf64()
/NextBSD/sys/dev/ksyms/
HDksyms.c299 hdr->kh_shdr[SHDR_SYMTAB].sh_name = 1; /* String offset (skip null) */ in ksyms_snapshot()
311 hdr->kh_shdr[SHDR_STRTAB].sh_name = 1 + sizeof(STR_SYMTAB); in ksyms_snapshot()
324 hdr->kh_shdr[SHDR_SHSTRTAB].sh_name = 1 + sizeof(STR_SYMTAB) + in ksyms_snapshot()
/NextBSD/contrib/elftoolchain/libdwarf/
HDlibdwarf_elf_init.c226 if ((name = elf_strptr(elf, e->eo_strndx, sh.sh_name)) == in _dwarf_elf_init()
281 if ((name = elf_strptr(elf, e->eo_strndx, sh.sh_name)) == in _dwarf_elf_init()
HDlibdwarf_elf_access.c58 ret_section->name = elf_strptr(e->eo_elf, e->eo_strndx, sh->sh_name); in _dwarf_elf_get_section_info()
/NextBSD/sys/sys/
HDelf32.h89 Elf32_Word sh_name; /* Section name (index into the member
HDelf64.h98 Elf64_Word sh_name; /* Section name (index into the member
/NextBSD/sys/boot/common/
HDload_elf.c475 if (strcmp(shstr + shdr[i].sh_name, ".ctors") != 0) in __elfN()
765 if (strcmp(&shstrtab[shdr[i].sh_name], in __elfN()
769 if ((strcmp(&shstrtab[shdr[i].sh_name], ".data") == 0) || in __elfN()
770 (strcmp(&shstrtab[shdr[i].sh_name], ".rodata") == 0)) { in __elfN()
HDload_elf_obj.c439 if (shdr[i].sh_name == 0) in __elfN()
441 p = strdupout(shstrtab + shdr[i].sh_name); in __elfN()
/NextBSD/contrib/binutils/bfd/
HDelf.c315 (shindex == shstrndx && strindex == hdr->sh_name in bfd_elf_string_from_elf_section()
317 : bfd_elf_string_from_elf_section (abfd, shstrndx, hdr->sh_name))); in bfd_elf_string_from_elf_section()
447 iname = elf_elfsections (abfd)[isym->st_shndx]->sh_name; in bfd_elf_sym_name()
761 idx->shdr->sh_name), in _bfd_elf_setup_sections()
1004 if (!strcmp (&shstrtab[i_shdrp[i]->sh_name], name)) in bfd_elf_find_section()
1850 hdr->sh_name); in bfd_section_from_shdr()
2739 rel_hdr->sh_name = in _bfd_elf_init_reloc_shdr()
2742 if (rel_hdr->sh_name == (unsigned int) -1) in _bfd_elf_init_reloc_shdr()
2776 this_hdr->sh_name = (unsigned int) _bfd_elf_strtab_add (elf_shstrtab (abfd), in elf_fake_sections()
2778 if (this_hdr->sh_name == (unsigned int) -1) in elf_fake_sections()
[all …]
HDelfcode.h299 dst->sh_name = H_GET_32 (abfd, src->sh_name); in elf_swap_shdr_in()
325 H_PUT_32 (abfd, src->sh_name, dst->sh_name); in elf_swap_shdr_out()
1524 (long) hdr->sh_name, in elf_debug_section()
/NextBSD/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/
HDELFHeader.h155 elf_word sh_name; ///< Section name string index. member
/NextBSD/contrib/elftoolchain/elfcopy/
HDsymbols.c276 if ((name = elf_strptr(ecp->ein, indx, sh.sh_name)) == NULL) in mark_reloc_symbols()
348 if ((name = elf_strptr(ecp->ein, indx, sh.sh_name)) == NULL) in mark_section_group_symbols()
423 if ((name = elf_strptr(ecp->ein, ishstrndx, ish.sh_name)) == in generate_symbols()
449 if ((name = elf_strptr(ecp->ein, ishstrndx, ish.sh_name)) == in generate_symbols()
/NextBSD/contrib/llvm/include/llvm/Object/
HDELFTypes.h98 Elf_Word sh_name; // Section name (index into string table)
113 Elf_Word sh_name; // Section name (index into string table)
/NextBSD/contrib/llvm/include/llvm/Support/
HDELF.h572 Elf32_Word sh_name; // Section name (index into string table) member
586 Elf64_Word sh_name; member
/NextBSD/usr.sbin/kldxref/
HDef_obj.c523 if (ef->shstrtab && shdr[i].sh_name != 0) in ef_obj_open()
525 ef->shstrtab + shdr[i].sh_name; in ef_obj_open()
/NextBSD/sys/kern/
HDlink_elf_obj.c337 if (ef->shstrtab && shdr[i].sh_name != 0) in link_elf_link_preload()
339 ef->shstrtab + shdr[i].sh_name; in link_elf_link_preload()
754 if (ef->shstrtab != NULL && shdr[i].sh_name != 0) { in link_elf_load_file()
756 ef->shstrtab + shdr[i].sh_name; in link_elf_load_file()

123