Lines Matching defs:exechdrp
51 const struct ecoff_exechdr *exechdrp;
56 if (check(0, sizeof *exechdrp))
58 exechdrp = (const struct ecoff_exechdr *)&mappedfile[0];
60 if (ECOFF_BADMAG(exechdrp))
71 const struct ecoff_exechdr *exechdrp;
75 exechdrp = (const struct ecoff_exechdr *)&mappedfile[0];
77 if (exechdrp->a.text_start <= vmaddr &&
78 vmaddr < (exechdrp->a.text_start + exechdrp->a.tsize))
79 *fileoffp = vmaddr - exechdrp->a.text_start +
80 ECOFF_TXTOFF(exechdrp);
81 else if (exechdrp->a.data_start <= vmaddr &&
82 vmaddr < (exechdrp->a.data_start + exechdrp->a.dsize))
83 *fileoffp = vmaddr - exechdrp->a.data_start +
84 ECOFF_DATOFF(exechdrp);