Lines Matching refs:abfd
568 bfd *abfd;
570 abfd = bfd_openr(filename, NULL);
571 if (!abfd)
574 if (!bfd_check_format(abfd, bfd_object)) {
579 if (!abfd->build_id || abfd->build_id->size > size)
582 memcpy(bid->data, abfd->build_id->data, abfd->build_id->size);
583 memset(bid->data + abfd->build_id->size, 0, size - abfd->build_id->size);
584 err = bid->size = abfd->build_id->size;
587 bfd_close(abfd);
682 bfd *abfd;
684 abfd = bfd_openr(filename, NULL);
685 if (!abfd)
688 if (!bfd_check_format(abfd, bfd_object)) {
693 section = bfd_get_section_by_name(abfd, ".gnu_debuglink");
700 if (!bfd_get_section_contents(abfd, section, debuglink, 0,
707 bfd_close(abfd);