/illumos-gate/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()
|
/illumos-gate/usr/src/uts/intel/amd64/krtld/ |
H A D | kobj_reloc.c | 188 (mp->symtbl+(stndx * mp->symhdr->sh_entsize)); in do_relocate() 214 (mp->symtbl+(stndx * mp->symhdr->sh_entsize)); in do_relocate() 314 nreloc = rshp->sh_size / rshp->sh_entsize; in do_relocations() 335 rshp->sh_entsize, shp->sh_addr) < 0) { in do_relocations()
|
/illumos-gate/usr/src/uts/sparc/krtld/ |
H A D | kobj_reloc.c | 181 (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/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()
|
/illumos-gate/usr/src/cmd/sgs/librtld/common/ |
H A D | syms.c | 55 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/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()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Psymtab_machelf32.c | 502 sp->sh_entsize = 0; in fake_elf64() 524 sp->sh_entsize = sizeof (Sym); in fake_elf64() 551 sp->sh_entsize = sizeof (Sym); in fake_elf64() 577 sp->sh_entsize = 0; in fake_elf64() 601 sp->sh_entsize = sizeof (Dyn); in fake_elf64() 703 sp->sh_entsize = M_PLT_ENTSIZE; in fake_elf64()
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dw_elfstructs.h | 130 TYP(sh_entsize,4); 144 TYP(sh_entsize,8);
|
H A D | dwarf_elfstructs.h | 138 TYP(sh_entsize,4); 152 TYP(sh_entsize,8);
|
/illumos-gate/usr/src/cmd/file/ |
H A D | elf_read.c | 467 if (shdr->sh_size == 0 || shdr->sh_entsize == 0) { in process_shdr() 472 capn = (shdr->sh_size / shdr->sh_entsize); in process_shdr() 518 if (shdr->sh_size == 0 || shdr->sh_entsize == 0) { in process_shdr() 524 dynn = (shdr->sh_size / shdr->sh_entsize); in process_shdr()
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | groups.c | 187 if (gshdr->sh_entsize == 0) { in ld_group_process() 190 EC_XWORD(gshdr->sh_entsize)); in ld_group_process() 203 (gshdr->sh_info >= (Word)(sshdr->sh_size / sshdr->sh_entsize)) || in ld_group_process()
|
H A D | sections.c | 436 Word sh_entsize; in new_section() member 459 sh_entsize}; \ in new_section() 465 sh_entsize}; \ in new_section() 635 size = entcnt * sec_info->sh_entsize; in new_section() 656 shdr->sh_entsize = sec_info->sh_entsize; in new_section() 1309 size = cnt * (size_t)shdr->sh_entsize; in make_dynamic() 2025 size = cnt * shdr->sh_entsize; in make_hash() 2092 size = symcnt * shdr->sh_entsize; in make_symtab() 2175 size = (size_t)cnt * shdr->sh_entsize; in make_dynsym() 2191 size = (size_t)cnt * shdr->sh_entsize; in make_dynsym() [all …]
|
H A D | sunwmove.c | 183 if (isp->is_shdr->sh_entsize == 0) { in ld_process_move() 190 num = isp->is_shdr->sh_size / isp->is_shdr->sh_entsize; in ld_process_move()
|
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | elfdump.c | 1109 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/demo_rdb/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()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_gelf.c | 209 dst->sh_entsize = src->sh_entsize; in gelf32_to_shdr() 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() 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() 1324 gst->gst_ssect->gs_shdr.sh_entsize = 0; in mdb_gelf_symtab_create_dynamic() 1620 gst->gst_dsect->gs_shdr.sh_entsize; in mdb_gelf_symtab_lookup_by_addr() [all …]
|
/illumos-gate/usr/src/cmd/ctfmerge/ |
H A D | ctfmerge.c | 130 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/libelf/common/ |
H A D | getdata.c | 176 size_t sz = sh->sh_entsize; in _elf_locked_getdata() 186 Elf64_Xword sz = sh->sh_entsize; in _elf_locked_getdata()
|
/illumos-gate/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
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ksyms_snapshot.c | 84 size_t symsize = symhdr->sh_entsize; in ksyms_walk_one() 173 shp->sh_entsize = sizeof (Sym); in ksyms_snapshot()
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_lib.c | 376 dst->sh_entsize = src->sh_entsize; in shdr_to_gelf() 607 ctfsect.cts_entsize = shp->sh_entsize; in ctf_fdcreate_int() 615 symsect.cts_entsize = shp->sh_entsize; in ctf_fdcreate_int() 622 strsect.cts_entsize = lhp->sh_entsize; in ctf_fdcreate_int()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/cmd/boot/symdef/ |
H A D | symdef.c | 97 symcnt = shdr.sh_size / shdr.sh_entsize; in main()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/test/os-tests/tests/cores/secmapper/ |
H A D | secmapper.c | 247 comp_shdr.sh_entsize != shdr->sh_entsize) { in secmap_data_cmp()
|