Lines Matching defs:obfd
150 bfd *obfd;
154 obfd = bfd_openw (filename, target);
155 if (obfd == NULL)
158 make_cleanup_bfd_close (obfd);
159 if (!bfd_set_format (obfd, bfd_object))
169 return obfd;
212 bfd *obfd;
215 obfd = bfd_openw_with_cleanup (filename, target, mode);
216 osection = bfd_make_section_anyway (obfd, ".newsec");
217 bfd_set_section_size (obfd, osection, len);
218 bfd_set_section_vma (obfd, osection, vaddr);
219 bfd_set_section_alignment (obfd, osection, 0);
220 bfd_set_section_flags (obfd, osection, 0x203);
222 bfd_set_section_contents (obfd, osection, buf, 0, len);