Home
last modified time | relevance | path

Searched refs:sh_entsize (Results 1 – 25 of 88) sorted by last modified time

1234

/illumos-gate/usr/src/uts/intel/amd64/krtld/
H A Dkobj_reloc.c196 (mp->symtbl+(stndx * mp->symhdr->sh_entsize)); in do_relocate()
222 (mp->symtbl+(stndx * mp->symhdr->sh_entsize)); in do_relocate()
322 nreloc = rshp->sh_size / rshp->sh_entsize; in do_relocations()
343 rshp->sh_entsize, shp->sh_addr) < 0) { in do_relocations()
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dplace.c210 if ((isp->is_shdr->sh_entsize > 1) || in os_attach_isp()
1391 osp->os_shdr->sh_entsize = shdr->sh_entsize; in ld_place_section()
H A Dupdate.c2312 dyn->d_un.d_ptr = shdr->sh_entsize; in update_odynamic()
2549 dyn->d_un.d_val = shdr->sh_entsize; in update_odynamic()
2598 dyn->d_un.d_val = shdr->sh_entsize; in update_odynamic()
2667 ofl->ofl_osdynamic->os_shdr->sh_entsize) == in update_odynamic()
2995 Word _cnt, cnt = shdr->sh_size / shdr->sh_entsize; in update_osyminfo()
3303 grpcnt = shdr->sh_size / shdr->sh_entsize; in update_ogroup()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dkmem.c2528 (uintptr_t)mod.symtbl, mod.nsyms * shdr.sh_entsize, "symtab"); in whatis_walk_modctl()
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dxlate64.m41239 tofx(dst, src->sh_entsize, SH1_entsize_$2);
1834 dst->sh_entsize = tomx(src, SH1_entsize_$2);
H A Dxlate.m41248 tofw(dst, src->sh_entsize, SH1_entsize_$2);
1796 dst->sh_entsize = tomw(src, SH1_entsize_$2);
H A Dgelf.c352 dst->sh_entsize = (Elf64_Xword)s->sh_entsize; in gelf_getshdr()
402 dst->sh_entsize = (Elf32_Word)src->sh_entsize; in gelf_update_shdr()
1109 n = shdr.sh_size / shdr.sh_entsize; in _gelf_getdynval()
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_convert.c83 for (i = 0; i < shdr.sh_size / shdr.sh_entsize; i++) { in ctf_has_c_source()
/illumos-gate/usr/src/cmd/ctfmerge/
H A Dctfmerge.c130 ctfsect.cts_entsize = shdr.sh_entsize; in ctfmerge_elfopen()
147 symsect.cts_entsize = shdr.sh_entsize; in ctfmerge_elfopen()
161 strsect.cts_entsize = strhdr.sh_entsize; in ctfmerge_elfopen()
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c1109 if (shdr->sh_entsize == 0) in symbols_getxindex()
1976 if ((dyncache->c_shdr->sh_entsize == 0) || in syminfo()
1984 dyncache->c_shdr->sh_entsize; in syminfo()
2382 if ((shdr->sh_entsize == 0) || in versions()
2387 numdyn = shdr->sh_size / shdr->sh_entsize; in versions()
2698 if (((relsize = shdr->sh_entsize) == 0) || in reloc()
3169 numdyn = shdr->sh_size / shdr->sh_entsize; in dynamic()
4397 if ((gentsize = gotshdr->sh_entsize) == 0) in got()
4447 if (((relsize = shdr->sh_entsize) == 0) || in got()
4514 if ((gotshdr->sh_entsize == 0) || in got()
[all …]
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Delfedit_machelf.c368 dynsec->sec_shdr->sh_entsize; in elfedit64_init_obj_state()
/illumos-gate/usr/src/cmd/sgs/pvs/common/
H A Dpvs.c1241 vsdata_s.vsd_symn = shdr.sh_size / shdr.sh_entsize; in main()
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Dreadelf.c485 nsyms_pri = shdr.sh_size / shdr.sh_entsize; in get_symtab()
497 nsyms_pri = shdr.sh_size / shdr.sh_entsize; in get_symtab()
504 nsyms_aux = shdr.sh_size / shdr.sh_entsize; in get_symtab()
/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf.c1225 #define MINSHDRSZ (offsetof(Shdr, sh_entsize) + \
1226 sizeof (((Shdr *)NULL)->sh_entsize))
1787 v[idx].sh_entsize = shdr->sh_entsize; in elf_process_obj_scns()
1904 v[idx].sh_entsize = symtab->sh_entsize; in elf_process_obj_scns()
/illumos-gate/usr/src/lib/libproc/common/
H A DPgcore.c663 shdr.sh_entsize = entsize; in write_shdr()
686 shdr.sh_entsize = entsize; in write_shdr()
720 sym->sym_hdr_pri.sh_addralign, sym->sym_hdr_pri.sh_entsize) != 0) in dump_symtab()
769 shdr.sh_entsize) != 0) { in dump_debug()
H A DPcore.c1506 b->shdr[1].sh_entsize = sizeof (Elf32_Sym); in fake_up_symtab()
1572 b->shdr[1].sh_entsize = sizeof (Elf64_Sym); in fake_up_symtab()
1621 fp->file_symtab.sym_symn = symtab->sh_size / symtab->sh_entsize; in fake_up_symtab()
1660 dst->sh_entsize = (Elf64_Xword)src->sh_entsize; in core_shdr_to_gelf()
H A DPsymtab.c798 symtab.cts_entsize = symp->sym_hdr_pri.sh_entsize; in Pbuild_file_ctf()
806 strtab.cts_entsize = symp->sym_strhdr.sh_entsize; in Pbuild_file_ctf()
1752 fptr->file_symtab.sym_symn += symshdr.sh_size / symshdr.sh_entsize; in build_alt_debug()
2026 shp->sh_size / shp->sh_entsize; in Pbuild_file_symtab()
2044 shp->sh_size / shp->sh_entsize; in Pbuild_file_symtab()
2287 size_t ndyn = dyn->c_shdr.sh_size / dyn->c_shdr.sh_entsize; in Pbuild_file_symtab()
/illumos-gate/usr/src/uts/sparc/krtld/
H A Dkobj_reloc.c181 (mp->symtbl+(stndx * mp->symhdr->sh_entsize)); in do_relocate()
209 (mp->symtbl+(stndx * mp->symhdr->sh_entsize)); in do_relocate()
312 nreloc = rshp->sh_size / rshp->sh_entsize; in do_relocations()
331 rshp->sh_entsize, shp->sh_addr) < 0) { in do_relocations()
/illumos-gate/usr/src/uts/common/sys/
H A Delf.h542 Elf32_Word sh_entsize; /* entry size if table */ member
556 Elf64_Xword sh_entsize; /* entry size if table */ member
/illumos-gate/usr/src/uts/common/os/
H A Dksyms_snapshot.c84 size_t symsize = symhdr->sh_entsize; in ksyms_walk_one()
173 shp->sh_entsize = sizeof (Sym); in ksyms_snapshot()
/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj.c761 mp->symhdr->sh_entsize = dyn->d_un.d_val; in load_exec()
822 mp->symhdr->sh_size = mp->nsyms * mp->symhdr->sh_entsize; in load_exec()
857 sp = (Sym *)(mp->symtbl + i * mp->symhdr->sh_entsize); in load_exec()
968 sp = (Sym *)(mp->symtbl + i * mp->symhdr->sh_entsize); in load_linker()
1492 size_t symsize = mp->symhdr->sh_entsize; in kobj_export_ksyms()
1566 mp->symhdr->sh_entsize = symsize; in kobj_export_ksyms()
2564 sp = (Sym *)(mp->symtbl + i * mp->symhdr->sh_entsize); in get_syms()
2985 sp = (Sym *)(mp->symtbl + mp->symhdr->sh_entsize * i); in do_symbols()
3232 ((uintptr_t)sym + mp->symhdr->sh_entsize)) { in kobj_searchsym()
3343 mp->symhdr->sh_entsize * *ip); in lookup_one()
[all …]
/illumos-gate/usr/src/uts/common/fs/objfs/
H A Dobjfs_data.c671 shdr.sh_entsize = sp->sect_entsize; in objfs_data_read()
/illumos-gate/usr/src/tools/find_elf/
H A Dfind_elf.c492 size_t nent = shdr.sh_size / shdr.sh_entsize; in get_elfinfo()
/illumos-gate/usr/src/cmd/sgs/librtld/common/
H A Dsyms.c55 symn = shdr->sh_size / shdr->sh_entsize; in update_sym()
91 num = (Word)(shdr->sh_size / shdr->sh_entsize); in syminfo()
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dliblddbg.msg882 sh_entsize=%lld; unable to merge sections with this \
1707 sh_entsize: %lld"
1716 @ MSG_SHD_OFFSET_32 " sh_offset: %#-10llx sh_entsize: %#llx"
1717 @ MSG_SHD_OFFSET_ENT_32 " sh_offset: %#-10llx sh_entsize: %#llx \
1724 @ MSG_SHD_OFFSET_64 " sh_offset: %#-18llx sh_entsize: %#llx"
1725 @ MSG_SHD_OFFSET_ENT_64 " sh_offset: %#-18llx sh_entsize: %#llx \

1234