Lines Matching full:execp
111 #define WRITE_HEADERS(abfd, execp) \
119 execp->a_syms = bfd_get_symcount (abfd) * EXTERNAL_NLIST_SIZE; \
120 execp->a_entry = bfd_get_start_address (abfd); \
122 execp->a_trsize = ((obj_textsec (abfd)->reloc_count) * \
124 execp->a_drsize = ((obj_datasec (abfd)->reloc_count) * \
126 NAME (aout, swap_exec_header_out) (abfd, execp, & exec_bytes); \
137 if (bfd_seek (abfd, (file_ptr) (N_SYMOFF (* execp)), SEEK_SET) != 0)\
143 if (bfd_seek (abfd, (file_ptr) (N_TRELOFF (* execp)), SEEK_SET) != 0)\
148 if (bfd_seek (abfd, (file_ptr) (N_DRELOFF (* execp)), SEEK_SET) != 0)\
486 struct internal_exec *execp,
510 *(abfd->tdata.aout_data->a.hdr) = *execp;
511 execp = abfd->tdata.aout_data->a.hdr;
515 if (execp->a_drsize || execp->a_trsize)
518 if (execp->a_syms)
520 if (N_DYNAMIC(*execp))
524 if ((execp->a_info & MF_SQUEEZED) != 0)
529 else if ((execp->a_info & MF_IS_SL) != 0)
535 else if (N_MAGIC (*execp) == ZMAGIC)
540 else if (N_MAGIC (*execp) == NMAGIC)
545 else if (N_MAGIC (*execp) == OMAGIC)
552 bfd_get_start_address (abfd) = execp->a_entry;
555 bfd_get_symcount (abfd) = execp->a_syms / sizeof (struct external_nlist);
570 obj_datasec (abfd)->size = execp->a_data;
571 obj_bsssec (abfd)->size = execp->a_bss;
574 (execp->a_trsize != 0
578 (execp->a_drsize != 0
611 if ((execp->a_entry >= obj_textsec(abfd)->vma) &&
612 (execp->a_entry < obj_textsec(abfd)->vma + obj_textsec(abfd)->size))