/titanic_41/usr/src/cmd/sgs/liblddbg/common/ |
H A D | shdr.c | 42 if (shdr->sh_entsize == 0) { in Elf_shdr() 44 EC_OFF(shdr->sh_offset), EC_XWORD(shdr->sh_entsize)); in Elf_shdr() 46 Xword nelts = shdr->sh_size / shdr->sh_entsize; in Elf_shdr() 51 EC_OFF(shdr->sh_offset), EC_XWORD(shdr->sh_entsize), in Elf_shdr()
|
/titanic_41/usr/src/uts/intel/ia32/krtld/ |
H A D | kobj_reloc.c | 178 (mp->symtbl+(stndx * mp->symhdr->sh_entsize)); in do_relocate() 203 (mp->symtbl+(stndx * mp->symhdr->sh_entsize)); in do_relocate() 303 nreloc = rshp->sh_size / rshp->sh_entsize; in do_relocations() 324 nreloc, rshp->sh_entsize, shp->sh_addr) < 0) { in do_relocations()
|
/titanic_41/usr/src/uts/intel/amd64/krtld/ |
H A D | kobj_reloc.c | 182 (mp->symtbl+(stndx * mp->symhdr->sh_entsize)); in do_relocate() 208 (mp->symtbl+(stndx * mp->symhdr->sh_entsize)); in do_relocate() 309 nreloc = rshp->sh_size / rshp->sh_entsize; in do_relocations() 330 nreloc, rshp->sh_entsize, shp->sh_addr) < 0) { in do_relocations()
|
/titanic_41/usr/src/cmd/sgs/librtld/common/ |
H A D | syms.c | 56 symn = shdr->sh_size / shdr->sh_entsize; in update_sym() 92 num = (Word)(shdr->sh_size / shdr->sh_entsize); in syminfo()
|
/titanic_41/usr/src/cmd/sgs/elfedit/common/ |
H A D | util_machelf.c | 217 Word cnt = symsec->sec_shdr->sh_size / symsec->sec_shdr->sh_entsize; in elfedit_name_to_symndx() 383 cache->sec_shdr->sh_entsize; in elfedit_sec_getcap() 421 *num = cache->sec_shdr->sh_size / cache->sec_shdr->sh_entsize; in elfedit_sec_getdyn() 463 cache->sec_shdr->sh_entsize; in elfedit_sec_getsyminfo() 609 *num = symsec->sec_shdr->sh_size / symsec->sec_shdr->sh_entsize; in elfedit_sec_getsymtab() 675 *num = xshndxsec->sec_shdr->sh_size / xshndxsec->sec_shdr->sh_entsize; in elfedit_sec_getxshndx() 736 *num = versymsec->sec_shdr->sh_size / versymsec->sec_shdr->sh_entsize; in elfedit_sec_getversym() 779 (strsec->sec_shdr->sh_entsize <= 1) && in elfedit_sec_getstr() 868 Word numdyn = dynsec->sec_shdr->sh_size / dynsec->sec_shdr->sh_entsize; in elfedit_dynstr_getpad()
|
/titanic_41/usr/src/uts/sparc/krtld/ |
H A D | kobj_reloc.c | 231 (mp->symtbl+(stndx * mp->symhdr->sh_entsize)); in do_relocate() 259 (mp->symtbl+(stndx * mp->symhdr->sh_entsize)); in do_relocate() 367 nreloc = rshp->sh_size / rshp->sh_entsize; in do_relocations() 386 nreloc, rshp->sh_entsize, shp->sh_addr) < 0) { in do_relocations()
|
/titanic_41/usr/src/cmd/sgs/prof/common/ |
H A D | symintOpen.c | 259 nsyms_pri = tshd_p->sh_size / tshd_p->sh_entsize; in _symintOpen() 273 nsyms_pri = tshd_p->sh_size / tshd_p->sh_entsize; in _symintOpen() 281 nsyms_aux = tshd_p->sh_size / tshd_p->sh_entsize; in _symintOpen()
|
H A D | rdelf.c | 239 nsyms_pri = shdr.sh_size / shdr.sh_entsize; in fetch_symtab() 251 nsyms_pri = shdr.sh_size / shdr.sh_entsize; in fetch_symtab() 258 nsyms_aux = shdr.sh_size / shdr.sh_entsize; in fetch_symtab()
|
/titanic_41/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | shdr.c | 276 EC_XWORD(shdr->sh_entsize)); in print_shdr() 475 Xword sh_entsize; in cmd_body() local 477 sh_entsize = elfedit_atoui(argstate.argv[1], NULL); in cmd_body() 478 if (shdr->sh_entsize == sh_entsize) { in cmd_body() 483 EC_XWORD(shdr->sh_entsize)); in cmd_body() 489 EC_XWORD(shdr->sh_entsize), in cmd_body() 490 EC_XWORD(sh_entsize)); in cmd_body() 492 shdr->sh_entsize = sh_entsize; in cmd_body()
|
/titanic_41/usr/src/lib/libproc/common/ |
H A D | Psymtab_machelf32.c | 500 sp->sh_entsize = 0; in fake_elf64() 522 sp->sh_entsize = sizeof (Sym); in fake_elf64() 549 sp->sh_entsize = sizeof (Sym); in fake_elf64() 575 sp->sh_entsize = 0; in fake_elf64() 599 sp->sh_entsize = sizeof (Dyn); in fake_elf64() 695 sp->sh_entsize = M_PLT_ENTSIZE; in fake_elf64()
|
/titanic_41/usr/src/lib/libctf/common/ |
H A D | ctf_lib.c | 151 dst->sh_entsize = src->sh_entsize; in shdr_to_gelf() 378 ctfsect.cts_entsize = shp->sh_entsize; in ctf_fdopen() 386 symsect.cts_entsize = shp->sh_entsize; in ctf_fdopen() 393 strsect.cts_entsize = lhp->sh_entsize; in ctf_fdopen()
|
/titanic_41/usr/src/cmd/sgs/libld/common/ |
H A D | groups.c | 185 if (gshdr->sh_entsize == 0) { in ld_group_process() 188 EC_XWORD(gshdr->sh_entsize)); in ld_group_process() 201 (gshdr->sh_info >= (Word)(sshdr->sh_size / sshdr->sh_entsize)) || in ld_group_process()
|
H A D | sections.c | 433 Word sh_entsize; in new_section() member 453 #define SET_SEC_INFO(d_type, d_align, sh_flags, sh_entsize) \ in new_section() argument 456 sh_entsize}; \ in new_section() 459 #define SET_SEC_INFO_WORD_ALIGN(d_type, sh_flags, sh_entsize) \ in new_section() argument 462 sh_entsize}; \ in new_section() 632 size = entcnt * sec_info->sh_entsize; in new_section() 653 shdr->sh_entsize = sec_info->sh_entsize; in new_section() 1299 size = cnt * (size_t)shdr->sh_entsize; in make_dynamic() 1336 shdr->sh_entsize = ld_targ.t_m.m_got_entsize; in ld_make_got() 1938 shdr->sh_entsize = ld_targ.t_m.m_plt_entsize; in make_plt() [all …]
|
/titanic_41/usr/src/lib/libtnfctl/ |
H A D | elf.c | 238 if (dyn_shdr->sh_entsize == 0) { /* no dynamic section */ in elf_dynmatch() 241 *ret = (int) (dyn_shdr->sh_size / dyn_shdr->sh_entsize); in elf_dynmatch()
|
H A D | traverse.c | 213 nrels = rel_shdr->sh_size / rel_shdr->sh_entsize; in _tnfctl_traverse_rela() 297 nsyms = shdr->sh_size / shdr->sh_entsize; in _tnfctl_traverse_dynsym()
|
/titanic_41/usr/src/cmd/sgs/librtld_db/demo/common/ |
H A D | maps.c | 316 shdr.sh_size / shdr.sh_entsize; in load_map() 324 shdr.sh_size / shdr.sh_entsize; in load_map() 332 shdr.sh_size / shdr.sh_entsize; in load_map() 341 mp->mi_pltentsz = shdr.sh_entsize; in load_map()
|
/titanic_41/usr/src/cmd/sgs/elfdump/common/ |
H A D | elfdump.c | 320 if ((shdr->sh_entsize == 0) || (shdr->sh_size == 0)) { in stringtbl() 346 *symnum = (shdr->sh_size / shdr->sh_entsize); in stringtbl() 401 if ((shdr->sh_entsize == 0) || (shdr->sh_size == 0)) { in symlookup() 410 symn = (Word)(shdr->sh_size / shdr->sh_entsize); in symlookup() 990 if ((shdr->sh_entsize == 0) || (shdr->sh_size == 0)) { in init_symtbl_state() 999 state->symn = (Word)(shdr->sh_size / shdr->sh_entsize); in init_symtbl_state() 1043 if ((shdr->sh_entsize) && in symbols_getxindex() 1045 ((symn = (uint_t)(shdr->sh_size / shdr->sh_entsize)) == 0)) in symbols_getxindex() 1323 if ((cshdr->sh_entsize == 0) || (cshdr->sh_size == 0)) { in cap_section() 1359 capinfonum = (Word)(cishdr->sh_size / cishdr->sh_entsize); in cap_section() [all …]
|
/titanic_41/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_gelf.c | 209 dst->sh_entsize = src->sh_entsize; in gelf32_to_shdr() 942 if (gst->gst_dsect->gs_shdr.sh_entsize != sizeof (Elf32_Sym)) { in gelf32_symtab_init() 945 (u_longlong_t)gst->gst_dsect->gs_shdr.sh_entsize, in gelf32_symtab_init() 947 gst->gst_dsect->gs_shdr.sh_entsize = sizeof (Elf32_Sym); in gelf32_symtab_init() 951 gst->gst_dsect->gs_shdr.sh_entsize; in gelf32_symtab_init() 1039 if (gst->gst_dsect->gs_shdr.sh_entsize != sizeof (Elf64_Sym)) { in gelf64_symtab_init() 1042 (u_longlong_t)gst->gst_dsect->gs_shdr.sh_entsize, in gelf64_symtab_init() 1044 gst->gst_dsect->gs_shdr.sh_entsize = sizeof (Elf64_Sym); in gelf64_symtab_init() 1048 gst->gst_dsect->gs_shdr.sh_entsize; in gelf64_symtab_init() 1318 gst->gst_dsect->gs_shdr.sh_entsize = dt_syment; in mdb_gelf_symtab_create_dynamic() [all …]
|
/titanic_41/usr/src/cmd/sgs/libelf/common/ |
H A D | getdata.c | 178 size_t sz = sh->sh_entsize; in _elf_locked_getdata() 188 Elf64_Xword sz = sh->sh_entsize; in _elf_locked_getdata()
|
/titanic_41/usr/src/grub/grub-0.97/netboot/ |
H A D | i386_elf.h | 71 Elf32_Size sh_entsize; /* Size of each entry in section. */ member
|
/titanic_41/usr/src/cmd/mdb/tools/findfp/common/ |
H A D | findsym.c | 53 nent = shdr.sh_size / shdr.sh_entsize; in findelfsym()
|
/titanic_41/usr/src/uts/common/os/ |
H A D | ksyms_snapshot.c | 86 size_t symsize = symhdr->sh_entsize; in ksyms_walk_one() 175 shp->sh_entsize = sizeof (Sym); in ksyms_snapshot()
|
/titanic_41/usr/src/cmd/sgs/gprof/common/ |
H A D | readelf.c | 485 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()
|
/titanic_41/usr/src/cmd/boot/symdef/ |
H A D | symdef.c | 99 symcnt = shdr.sh_size / shdr.sh_entsize; in main()
|
/titanic_41/usr/src/lib/libm/common/m9x/ |
H A D | __fex_sym.c | 166 sh[i].sh_entsize != sizeof(Elf_Sym) || in __fex_read_syms() 201 nsyms = (int) (sh[i].sh_size / sh[i].sh_entsize); in __fex_read_syms()
|