Home
last modified time | relevance | path

Searched refs:Shdr (Results 1 – 25 of 60) sorted by relevance

123

/illumos-gate/usr/src/lib/libproc/common/
H A DPsymtab_machelf32.c255 Shdr *sp; in fake_elf64()
353 size += sizeof (Shdr); in fake_elf64()
354 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()
461 ep->e_shentsize = sizeof (Shdr); in fake_elf64()
471 sp = (Shdr *)(elfdata + ep->e_shoff); in fake_elf64()
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dsections.c362 Shdr *shdr; in ignore_section_processing()
441 Shdr *shdr; in new_section()
697 Shdr *shdr; in new_section_from_template()
748 Shdr *shdr; in ld_make_bss()
828 Shdr *shdr; in make_array()
910 Shdr *shdr; in make_comment()
941 Shdr *shdr; in make_dynamic()
1333 Shdr *shdr; in ld_make_got()
1364 Shdr *shdr; in make_interp()
1419 Shdr *shdr; in make_sym_sec()
[all …]
H A Dgroups.c166 Shdr *sshdr, *gshdr = gisc->is_shdr; in ld_group_process()
168 Shdr *new_shdr = NULL; in ld_group_process()
299 new_shdr = libld_malloc(sizeof (Shdr)); in ld_group_process()
303 memcpy(new_shdr, gisc->is_shdr, sizeof (Shdr)); in ld_group_process()
H A Dplace.c53 Shdr *shdr = isp->is_shdr; in set_addralign()
662 static Shdr *
665 Shdr *shdr; in isp_convert_type()
667 if ((shdr = libld_malloc(sizeof (Shdr))) == NULL) in isp_convert_type()
816 Shdr *shdr = isp->is_shdr; in ld_place_section()
1194 Shdr *os_shdr = osp->os_shdr; in ld_place_section()
1349 if ((osp->os_shdr = libld_calloc(1, sizeof (Shdr))) == NULL) in ld_place_section()
H A Dfiles.c118 Shdr *shdr0; in ifl_setup()
166 section_is_exclude(Ofl_desc *ofl, Shdr *shdr) in section_is_exclude()
182 process_section(const char *name, Ifl_desc *ifl, Shdr *shdr, Elf_Scn *scn, in process_section()
1207 Shdr *shdr = isp->is_shdr; in process_capinfo()
1320 process_input(const char *name, Ifl_desc *ifl, Shdr *shdr, Elf_Scn *scn, in process_input()
1475 process_progbits_alloc(const char *name, Ifl_desc *ifl, Shdr *shdr, in process_progbits_alloc()
1699 Shdr *shdr; in array_process()
2122 process_dynamic_isgnu(const char *name, Ifl_desc *ifl, Shdr *shdr, in process_dynamic_isgnu()
2403 Shdr *shdr = isc->is_shdr; in rel_process()
2512 typedef uintptr_t (* initial_func_t)(const char *, Ifl_desc *, Shdr *,
[all …]
H A Dsupport.c254 Shdr **oshdr, Word ndx, Elf_Scn *scn, Elf *elf) in ld_sup_input_section()
262 Shdr *nshdr = *oshdr; in ld_sup_input_section()
301 ld_sup_section(Ofl_desc *ofl, const char *scn, Shdr *shdr, Word ndx, in ld_sup_section()
H A Dunwind.c323 Shdr *shdr; in ld_unwind_make_hdr()
350 if ((shdr = libld_calloc(1, sizeof (Shdr))) == NULL) in ld_unwind_make_hdr()
543 Shdr *shdr; in ld_unwind_populate_hdr()
/illumos-gate/usr/src/uts/sparc/krtld/
H A Dkobj_reloc.c139 Shdr * shp; in do_relocate()
140 shp = (Shdr *)mp->shdrs; in do_relocate()
288 Shdr *shp, *rshp; in do_relocations()
293 rshp = (Shdr *) in do_relocations()
315 shp = (Shdr *) in do_relocations()
H A Dkobj_isa.c105 Shdr *shp; in get_progbits_size()
112 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in get_progbits_size()
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dshdr.c33 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()
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dupdate.c221 Shdr *sh = s->s_shdr; in _elf_upd_lib()
320 Shdr *sh; in _elf_upd_lib()
321 sh = (Shdr *)elf->ed_hdscn->s_shdr; in _elf_upd_lib()
399 Shdr *sh = s->s_shdr; in _elf_upd_usr()
436 Shdr *sh; in _elf_upd_usr()
437 sh = (Shdr *)elf->ed_hdscn->s_shdr; in _elf_upd_usr()
583 Shdr *sh = s->s_shdr; in wrt()
676 src.d_size = sizeof (Shdr); in wrt()
912 Shdr *sh = s->s_shdr; in _elfxx_swap_wrimage()
947 src.d_size = dst.d_size = sizeof (Shdr); in _elfxx_swap_wrimage()
H A Dclscook.c112 s->s_shdr = (Shdr*)s->s_elf->ed_shdr + s->s_index; in _elf_prepscn()
145 Shdr * sh; in _elf_cookscn()
370 Shdr sh; in _elf_shdr()
382 dst.d_size = sizeof (Shdr); in _elf_shdr()
392 msz = scncnt * sizeof (Shdr); in _elf_shdr()
403 elf->ed_shdr = (Shdr *)(elf->ed_ident + eh->e_shoff); in _elf_shdr()
/illumos-gate/usr/src/uts/common/os/
H A Dksyms_snapshot.c45 Shdr shdr[KSHDR_NUM]; /* section headers */
82 Shdr *symhdr = base; in ksyms_walk_one()
83 Shdr *strhdr = symhdr + symhdr->sh_link; in ksyms_walk_one()
133 Shdr *shp; in ksyms_snapshot()
/illumos-gate/usr/src/cmd/sgs/librtld/common/
H A Dsyms.c47 Shdr *shdr; in update_sym()
86 Shdr *shdr; in syminfo()
/illumos-gate/usr/src/uts/intel/amd64/krtld/
H A Dkobj_isa.c87 Shdr *shp; in get_progbits_size()
94 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in get_progbits_size()
H A Dkobj_reloc.c289 Shdr *shp, *rshp; in do_relocations()
294 rshp = (Shdr *) in do_relocations()
317 shp = (Shdr *) in do_relocations()
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkvm.h58 Shdr km_symtab_hdr;
59 Shdr km_strtab_hdr;
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_ctf.h156 const void *, Shdr *, const void *, Shdr *, int *);
H A Dmdb_kvm.h57 Shdr km_symtab_hdr; /* Native .symtab section header */
58 Shdr km_strtab_hdr; /* Native .strtab section header */
/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf.c1158 Shdr shdr; in getelfhead()
1226 sizeof (((Shdr *)NULL)->sh_entsize))
1234 Shdr *shdr; in getelfshdr()
1636 elf_copy_scn(elf_core_ctx_t *ctx, const Shdr *src, vnode_t *src_vp, Shdr *dst) in elf_copy_scn()
1723 Shdr *shdr, *symchk = NULL, *strchk; in elf_process_obj_scns()
1726 shdr = (Shdr *)(shbase + off); in elf_process_obj_scns()
1737 symchk = (Shdr *)(shbase + in elf_process_obj_scns()
2087 Shdr shdr0; in elfcore()
2141 shdrsz = nshdrs * sizeof (Shdr); in elfcore()
2216 ehdr->e_shentsize = sizeof (Shdr); in elfcore()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dmachelf.h77 typedef Elf64_Shdr Shdr; typedef
124 typedef Elf32_Shdr Shdr;
/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj.c886 Shdr *shp; in load_linker()
926 mp->strhdr = (Shdr *) in load_linker()
1599 Shdr *shp; in kobj_export_ksyms()
2215 Shdr *shp; in free_module_data()
2273 Shdr *shp; in get_progbits()
2472 Shdr *shp; in get_syms()
2534 mp->strhdr = (Shdr *) in get_syms()
2572 shp = (Shdr *) in get_syms()
2626 Shdr *shp; in get_ctf()
2691 Shdr *shp; in crypto_es_hash()
[all …]
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c399 Shdr *shdr; in symlookup()
1035 Shdr *shdr; in init_symtbl_state()
1173 Shdr *tshdr; in output_symbol()
1406 Shdr *sshdr; in cap_section()
1461 Shdr *strshdr; in cap_section()
1634 Shdr *chshdr; in cap_section()
1914 Shdr *infoshdr; in syminfo()
2503 Shdr *shdr; in symbols()
4353 Shdr *gotshdr; in got()
4428 Shdr *shdr; in got()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/krtld/
H A Dkrtld.c169 dump_shdr(const Shdr *shdr, int i) in dump_shdr()
229 Shdr *shdrs; in modhdrs()
246 nbytes = sizeof (Shdr) * mod.hdr.e_shnum; in modhdrs()
/illumos-gate/usr/src/cmd/sgs/elfwrap/common/
H A D_elfwrap.h58 Shdr *os_shdr; /* section header (output file) */

123