Lines Matching defs:bfd
63 #include <bfd.h>
69 // Declare BFD-related global variables.
74 // Define BFD-related global variables.
77 bfd * bfd;
98 bfd = bfd_openr(mypath, NULL);
99 if (bfd == NULL) {
100 bfd_perror("bfd_openr error. Cannot get required BFD info");
103 r = bfd_check_format(bfd, bfd_object);
105 bfd_perror("bfd_get_arch error. Cannot get required BFD info");
108 _bfd_target_name = bfd->xvec->name;
109 _bfd_arch = bfd_get_arch(bfd);
110 _bfd_mach = bfd_get_mach(bfd);