Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/exec/aout/
H A Daout.c280 struct exec filhdr; in get_aout_head() local
286 if (error = vn_rdwr(UIO_READ, vp, (caddr_t)&filhdr, in get_aout_head()
287 (ssize_t)sizeof (filhdr), (offset_t)0, UIO_SYSSPACE, 0, in get_aout_head()
294 switch (filhdr.a_magic) { in get_aout_head()
296 filhdr.a_data += filhdr.a_text; in get_aout_head()
297 filhdr.a_text = 0; in get_aout_head()
314 *execsz += btopr(filhdr.a_text + filhdr.a_data); in get_aout_head()
326 edp->ux_mach = filhdr.a_machtype; in get_aout_head()
327 edp->ux_tsize = filhdr.a_text; in get_aout_head()
328 edp->ux_dsize = filhdr.a_data; in get_aout_head()
[all …]
/titanic_50/usr/src/cmd/sgs/prof/common/
H A Dprof.c211 #define AOUTHSZ (filhdr.f_opthdr)
212 PROF_FILE filhdr; /* profile file descriptor */ variable
481 filhdr = *ldptr; in main()
486 Elf_Kind k = elf_kind(filhdr.pf_elf_p); in main()
489 DEBUG_EXP(printf("elf_type = %d\n", filhdr.pf_elfhd_p->e_type)); in main()
490 if ((k != ELF_K_ELF) || (filhdr.pf_elfhd_p->e_type != ET_EXEC)) { in main()
499 filhdr.pf_nsyms)); in main()
502 symttl = filhdr.pf_nsyms; in main()