Lines Matching refs:abfd
40 encap_object_p (abfd)
41 bfd *abfd;
50 if (bfd_bread ((PTR) magicbuf, amt, abfd) != amt)
57 coff_magic = H_GET_16 (abfd, magicbuf);
61 magic = H_GET_32 (abfd, magicbuf);
66 if (bfd_seek (abfd, (file_ptr) sizeof (struct coffheader), SEEK_SET) != 0)
70 if (bfd_bread ((PTR) &exec_bytes, amt, abfd) != amt)
76 NAME(aout,swap_exec_header_in) (abfd, &exec_bytes, &exec);
78 return aout_32_some_aout_object_p (abfd, &exec, encap_realcallback);
83 encap_real_callback (abfd)
84 bfd *abfd;
86 struct internal_exec *execp = exec_hdr (abfd);
88 MY(callback) (abfd, execp);
116 bfd_default_set_arch_mach(abfd, bfd_arch_m68k, 0); /* FIXME */
118 return abfd->xvec;
126 encap_write_object_contents (abfd)
127 bfd *abfd;
131 struct internal_exec *execp = exec_hdr (abfd);
153 N_SET_FLAGS (outheader, aout_backend_info (abfd)->exec_hdr_flags);
231 WRITE_HEADERS(abfd, execp);