Home
last modified time | relevance | path

Searched refs:elfdata (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/lib/libproc/common/
H A DPsymtab_machelf32.c246 caddr_t elfdata = NULL; in fake_elf64() local
447 if ((elfdata = calloc(1, size)) == NULL) in fake_elf64()
451 ep = (Ehdr *)elfdata; in fake_elf64()
469 sp = (Shdr *)(elfdata + ep->e_shoff); in fake_elf64()
477 if (Pread(P, &elfdata[ep->e_phoff], phnum * ep->e_phentsize, in fake_elf64()
502 (void) memcpy(&elfdata[off], shstr, sizeof (shstr)); in fake_elf64()
524 if (Pread(P, &elfdata[off], sp->sh_size, in fake_elf64()
551 if (Pread(P, &elfdata[off], sp->sh_size, in fake_elf64()
577 if (Pread(P, &elfdata[off], sp->sh_size, in fake_elf64()
601 (void) memcpy(&elfdata[off], dp, sp->sh_size); in fake_elf64()
[all …]
/titanic_44/usr/src/cmd/sgs/libld/common/
H A Dunwind.c324 Elf_Data *elfdata; in ld_unwind_make_hdr() local
341 if ((elfdata = libld_calloc(sizeof (Elf_Data), 1)) == NULL) in ld_unwind_make_hdr()
343 elfdata->d_type = ELF_T_BYTE; in ld_unwind_make_hdr()
344 elfdata->d_align = ld_targ.t_m.m_word_align; in ld_unwind_make_hdr()
345 elfdata->d_version = ofl->ofl_dehdr->e_version; in ld_unwind_make_hdr()
364 isp->is_indata = elfdata; in ld_unwind_make_hdr()
444 if ((elfdata->d_buf = libld_calloc(size, 1)) == NULL) in ld_unwind_make_hdr()
446 elfdata->d_size = size; in ld_unwind_make_hdr()