/titanic_50/usr/src/lib/libproc/common/ |
H A D | Psymtab_machelf32.c | 251 Shdr *sp; in fake_elf64() 348 size += sizeof (Shdr); in fake_elf64() 349 size += sizeof (Shdr); in fake_elf64() 382 size += sizeof (Shdr); /* SUNW_ldynsym shdr */ in fake_elf64() 393 size += sizeof (Shdr) + ldynsym_size + dynsym_size; in fake_elf64() 396 size += sizeof (Shdr); in fake_elf64() 400 size += sizeof (Shdr); in fake_elf64() 442 size += sizeof (Shdr); in fake_elf64() 459 ep->e_shentsize = sizeof (Shdr); in fake_elf64() 469 sp = (Shdr *)(elfdata + ep->e_shoff); in fake_elf64()
|
/titanic_50/usr/src/cmd/sgs/liblddbg/common/ |
H A D | shdr.c | 33 Elf_shdr(Lm_list *lml, uchar_t osabi, Half mach, Shdr *shdr) in Elf_shdr() 62 Word ndx, Shdr *oshdr, Shdr *nshdr, const char *name) in Dbg_shdr_modified()
|
/titanic_50/usr/src/cmd/sgs/libld/common/ |
H A D | sections.c | 359 Shdr *shdr; in ignore_section_processing() 427 Is_desc **ret_isec, Shdr **ret_shdr, Elf_Data **ret_data) in new_section() 438 Shdr *shdr; in new_section() 647 if ((shdr = libld_calloc(sizeof (Shdr), 1)) == NULL) in new_section() 692 Is_desc **ret_isec, Shdr **ret_shdr, Elf_Data **ret_data) in new_section_from_template() 694 Shdr *shdr; in new_section_from_template() 711 if ((shdr = libld_malloc(sizeof (Shdr))) == NULL) in new_section_from_template() 745 Shdr *shdr; in ld_make_bss() 825 Shdr *shdr; in make_array() 907 Shdr *shdr; in make_comment() [all …]
|
H A D | place.c | 52 Shdr *shdr = isp->is_shdr; in set_addralign() 661 static Shdr * 664 Shdr *shdr; in isp_convert_type() 666 if ((shdr = libld_malloc(sizeof (Shdr))) == NULL) in isp_convert_type() 740 Shdr *shdr = isp->is_shdr; in ld_place_section() 1076 Shdr *os_shdr = osp->os_shdr; in ld_place_section() 1219 if ((osp->os_shdr = libld_calloc(sizeof (Shdr), 1)) == NULL) in ld_place_section()
|
H A D | files.c | 117 Shdr *shdr0; in ifl_setup() 163 process_section(const char *name, Ifl_desc *ifl, Shdr *shdr, Elf_Scn *scn, in process_section() 1167 Shdr *shdr = isp->is_shdr; in process_capinfo() 1280 process_input(const char *name, Ifl_desc *ifl, Shdr *shdr, Elf_Scn *scn, in process_input() 1295 process_reloc(const char *name, Ifl_desc *ifl, Shdr *shdr, Elf_Scn *scn, in process_reloc() 1320 process_strtab(const char *name, Ifl_desc *ifl, Shdr *shdr, Elf_Scn *scn, in process_strtab() 1375 invalid_section(const char *name, Ifl_desc *ifl, Shdr *shdr, Elf_Scn *scn, in invalid_section() 1434 process_progbits_alloc(const char *name, Ifl_desc *ifl, Shdr *shdr, in process_progbits_alloc() 1528 process_progbits(const char *name, Ifl_desc *ifl, Shdr *shdr, Elf_Scn *scn, in process_progbits() 1601 process_debug(const char *name, Ifl_desc *ifl, Shdr *shdr, Elf_Scn *scn, in process_debug() [all …]
|
H A D | support.c | 255 Shdr **oshdr, Word ndx, Elf_Scn *scn, Elf *elf) in ld_sup_input_section() 263 Shdr *nshdr = *oshdr; in ld_sup_input_section() 302 ld_sup_section(Ofl_desc *ofl, const char *scn, Shdr *shdr, Word ndx, in ld_sup_section()
|
/titanic_50/usr/src/uts/sparc/krtld/ |
H A D | kobj_reloc.c | 189 Shdr * shp; in do_relocate() 190 shp = (Shdr *)mp->shdrs; in do_relocate() 343 Shdr *shp, *rshp; in do_relocations() 348 rshp = (Shdr *) in do_relocations() 370 shp = (Shdr *) in do_relocations()
|
H A D | kobj_isa.c | 105 Shdr *shp; in get_progbits_size() 112 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in get_progbits_size()
|
/titanic_50/usr/src/cmd/sgs/libelf/common/ |
H A D | update.c | 218 Shdr *sh = s->s_shdr; in _elf_upd_lib() 317 Shdr *sh; in _elf_upd_lib() 318 sh = (Shdr *)elf->ed_hdscn->s_shdr; in _elf_upd_lib() 397 Shdr *sh = s->s_shdr; in _elf_upd_usr() 434 Shdr *sh; in _elf_upd_usr() 435 sh = (Shdr *)elf->ed_hdscn->s_shdr; in _elf_upd_usr() 582 Shdr *sh = s->s_shdr; in wrt() 675 src.d_size = sizeof (Shdr); in wrt() 914 Shdr *sh = s->s_shdr; in _elfxx_swap_wrimage() 949 src.d_size = dst.d_size = sizeof (Shdr); in _elfxx_swap_wrimage()
|
H A D | clscook.c | 114 s->s_shdr = (Shdr*)s->s_elf->ed_shdr + s->s_index; in _elf_prepscn() 149 Shdr * sh; in _elf_cookscn() 379 Shdr sh; in _elf_shdr() 391 dst.d_size = sizeof (Shdr); in _elf_shdr() 401 msz = scncnt * sizeof (Shdr); in _elf_shdr() 412 elf->ed_shdr = (Shdr *)(elf->ed_ident + eh->e_shoff); in _elf_shdr()
|
/titanic_50/usr/src/uts/common/os/ |
H A D | ksyms_snapshot.c | 47 Shdr shdr[KSHDR_NUM]; /* section headers */ 84 Shdr *symhdr = base; in ksyms_walk_one() 85 Shdr *strhdr = symhdr + symhdr->sh_link; in ksyms_walk_one() 135 Shdr *shp; in ksyms_snapshot()
|
/titanic_50/usr/src/cmd/sgs/librtld/common/ |
H A D | syms.c | 48 Shdr *shdr; in update_sym() 87 Shdr *shdr; in syminfo()
|
/titanic_50/usr/src/uts/intel/amd64/krtld/ |
H A D | kobj_isa.c | 89 Shdr *shp; in get_progbits_size() 96 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in get_progbits_size()
|
H A D | kobj_reloc.c | 284 Shdr *shp, *rshp; in do_relocations() 289 rshp = (Shdr *) in do_relocations() 312 shp = (Shdr *) in do_relocations()
|
/titanic_50/usr/src/uts/intel/ia32/krtld/ |
H A D | kobj_isa.c | 89 Shdr *shp; in get_progbits_size() 96 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in get_progbits_size()
|
H A D | kobj_reloc.c | 278 Shdr *shp, *rshp; in do_relocations() 283 rshp = (Shdr *) in do_relocations() 306 shp = (Shdr *) in do_relocations()
|
/titanic_50/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_ctf.h | 153 const void *, Shdr *, const void *, Shdr *, int *);
|
H A D | mdb_kvm.h | 59 Shdr km_symtab_hdr; /* Native .symtab section header */ 60 Shdr km_strtab_hdr; /* Native .strtab section header */
|
/titanic_50/usr/src/cmd/mdb/common/kmdb/ |
H A D | kvm.h | 59 Shdr km_symtab_hdr; 60 Shdr km_strtab_hdr;
|
/titanic_50/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 1043 Shdr shdr; in getelfhead() 1129 Shdr *shdr; in getelfshdr() 1139 minsize = offsetof(Shdr, sh_entsize) + sizeof (shdr->sh_entsize); in getelfshdr() 1146 if (*shsizep > sizeof (Shdr) * elf_nshdr_max) { in getelfshdr() 1164 shdr = (Shdr *)(*shbasep + shstrndx * ehdr->e_shentsize); in getelfshdr() 1428 copy_scn(Shdr *src, vnode_t *src_vp, Shdr *dst, vnode_t *dst_vp, Off *doffset, in copy_scn() 1471 Shdr *v, int nv, rlim64_t rlimit, Off *doffsetp, int *nshdrsp) in process_scns() 1502 Shdr *shdr; in process_scns() 1542 Shdr *symtab = NULL, *strtab; in process_scns() 1544 shdr = (Shdr *)(shbase + off); in process_scns() [all …]
|
/titanic_50/usr/src/cmd/sgs/elfdump/common/ |
H A D | elfdump.c | 313 Shdr *shdr = cache[ndx].c_shdr; in stringtbl() 393 Shdr *shdr; in symlookup() 464 Shdr *shdr = _cache->c_shdr; in sections() 552 Shdr *shdr = _cache->c_shdr; in unwind_eh_frame() 903 Shdr *shdr = _cache->c_shdr; in unwind() 974 Shdr *shdr; in init_symtbl_state() 1041 Shdr *shdr = _cache->c_shdr; in symbols_getxindex() 1108 Shdr *tshdr; in output_symbol() 1320 Shdr *cishdr, *cshdr = ccache->c_shdr; in cap_section() 1341 Shdr *sshdr; in cap_section() [all …]
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | machelf.h | 77 typedef Elf64_Shdr Shdr; typedef 124 typedef Elf32_Shdr Shdr;
|
/titanic_50/usr/src/uts/common/krtld/ |
H A D | kobj.c | 743 mp->symhdr = kobj_zalloc(sizeof (Shdr), KM_WAIT); in load_exec() 746 mp->strhdr = kobj_zalloc(sizeof (Shdr), KM_WAIT); in load_exec() 897 Shdr *shp; in load_linker() 919 shp = (Shdr *)(mp->shdrs + (i * mp->hdr.e_shentsize)); in load_linker() 937 mp->strhdr = (Shdr *) in load_linker() 1548 mp->symsize = (2 * sizeof (Shdr)) + (nsyms * symsize) + in kobj_export_ksyms() 1563 mp->symhdr = (Shdr *)mp->shdrs; in kobj_export_ksyms() 1564 mp->strhdr = (Shdr *)(mp->symhdr + 1); in kobj_export_ksyms() 1615 Shdr *shp; in kobj_export_ksyms() 1618 shp = (Shdr *)(omp->shdrs + shn * omp->hdr.e_shentsize); in kobj_export_ksyms() [all …]
|
/titanic_50/usr/src/cmd/mdb/common/modules/krtld/ |
H A D | krtld.c | 171 dump_shdr(const Shdr *shdr, int i) in dump_shdr() 231 Shdr *shdrs; in modhdrs() 248 nbytes = sizeof (Shdr) * mod.hdr.e_shnum; in modhdrs()
|
/titanic_50/usr/src/cmd/sgs/elfwrap/common/ |
H A D | _elfwrap.h | 60 Shdr *os_shdr; /* section header (output file) */
|