Lines Matching defs:exechdrp
54 const struct coff_exechdr *exechdrp;
59 if (check(0, sizeof *exechdrp))
61 exechdrp = (const struct coff_exechdr *)&mappedfile[0];
63 if (COFF_BADMAG(&(exechdrp->f)))
74 const struct coff_exechdr *exechdrp;
78 exechdrp = (const struct coff_exechdr *)&mappedfile[0];
88 if ((u_long)exechdrp->a.a_tstart <= vmaddr &&
89 vmaddr < (u_long)(exechdrp->a.a_tstart + exechdrp->a.a_tsize))
90 *fileoffp = vmaddr - exechdrp->a.a_tstart +
91 COFF_TXTOFF(&exechdrp->f, &(exechdrp->a));
92 else if ((u_long)exechdrp->a.a_dstart <= vmaddr &&
93 vmaddr < (u_long)(exechdrp->a.a_dstart + exechdrp->a.a_dsize))
94 *fileoffp = vmaddr - exechdrp->a.a_dstart +
95 COFF_DATOFF_XXX(&exechdrp->f, &(exechdrp->a));