Lines Matching refs:debug_bfd
669 bfd * debug_bfd; in read_alt_indirect_string() local
675 if ((debug_bfd = bfd_openr (debug_filename, NULL)) == NULL in read_alt_indirect_string()
676 || ! bfd_check_format (debug_bfd, bfd_object)) in read_alt_indirect_string()
678 if (debug_bfd) in read_alt_indirect_string()
679 bfd_close (debug_bfd); in read_alt_indirect_string()
685 stash->alt_bfd_ptr = debug_bfd; in read_alt_indirect_string()
715 bfd * debug_bfd; in read_alt_indirect_ref() local
721 if ((debug_bfd = bfd_openr (debug_filename, NULL)) == NULL in read_alt_indirect_ref()
722 || ! bfd_check_format (debug_bfd, bfd_object)) in read_alt_indirect_ref()
724 if (debug_bfd) in read_alt_indirect_ref()
725 bfd_close (debug_bfd); in read_alt_indirect_ref()
731 stash->alt_bfd_ptr = debug_bfd; in read_alt_indirect_ref()
3016 set_debug_vma (bfd *orig_bfd, bfd *debug_bfd) in set_debug_vma() argument
3020 for (s = orig_bfd->sections, d = debug_bfd->sections; in set_debug_vma()
3465 _bfd_dwarf2_slurp_debug_info (bfd *abfd, bfd *debug_bfd, in _bfd_dwarf2_slurp_debug_info() argument
3496 if (debug_bfd == NULL) in _bfd_dwarf2_slurp_debug_info()
3497 debug_bfd = abfd; in _bfd_dwarf2_slurp_debug_info()
3499 msec = find_debug_info (debug_bfd, debug_sections, NULL); in _bfd_dwarf2_slurp_debug_info()
3500 if (msec == NULL && abfd == debug_bfd) in _bfd_dwarf2_slurp_debug_info()
3511 if ((debug_bfd = bfd_openr (debug_filename, NULL)) == NULL in _bfd_dwarf2_slurp_debug_info()
3512 || ! bfd_check_format (debug_bfd, bfd_object) in _bfd_dwarf2_slurp_debug_info()
3513 || (msec = find_debug_info (debug_bfd, in _bfd_dwarf2_slurp_debug_info()
3515 || !bfd_generic_link_read_symbols (debug_bfd)) in _bfd_dwarf2_slurp_debug_info()
3517 if (debug_bfd) in _bfd_dwarf2_slurp_debug_info()
3518 bfd_close (debug_bfd); in _bfd_dwarf2_slurp_debug_info()
3524 symbols = bfd_get_outsymbols (debug_bfd); in _bfd_dwarf2_slurp_debug_info()
3528 stash->bfd_ptr = debug_bfd; in _bfd_dwarf2_slurp_debug_info()
3545 if (! find_debug_info (debug_bfd, debug_sections, msec)) in _bfd_dwarf2_slurp_debug_info()
3549 if (! read_section (debug_bfd, &stash->debug_sections[debug_info], in _bfd_dwarf2_slurp_debug_info()
3559 msec = find_debug_info (debug_bfd, debug_sections, msec)) in _bfd_dwarf2_slurp_debug_info()
3567 for (msec = find_debug_info (debug_bfd, debug_sections, NULL); in _bfd_dwarf2_slurp_debug_info()
3569 msec = find_debug_info (debug_bfd, debug_sections, msec)) in _bfd_dwarf2_slurp_debug_info()
3578 (debug_bfd, msec, stash->info_ptr_memory + total_size, in _bfd_dwarf2_slurp_debug_info()
3588 stash->sec = find_debug_info (debug_bfd, debug_sections, NULL); in _bfd_dwarf2_slurp_debug_info()