• Home
  • Raw
  • Download

Lines Matching refs:abfd

72 	bfd *abfd;  in open_bfd()  local
75 abfd = bfd_openr(prg_fname, NULL); in open_bfd()
76 if (abfd == NULL) { in open_bfd()
81 if (bfd_check_format(abfd, bfd_archive)) { in open_bfd()
83 bfd_close(abfd); in open_bfd()
87 if (!bfd_check_format_matches(abfd, bfd_object, &matching)) { in open_bfd()
90 bfd_close(abfd); in open_bfd()
94 return abfd; in open_bfd()
98 static void read_syms(bfd *abfd) in read_syms() argument
106 if (!(bfd_get_file_flags(abfd) & HAS_SYMS)) { in read_syms()
111 storage = bfd_get_symtab_upper_bound(abfd); in read_syms()
113 storage = bfd_get_dynamic_symtab_upper_bound(abfd); in read_syms()
128 symcount = bfd_canonicalize_dynamic_symtab(abfd, syms); in read_syms()
130 symcount = bfd_canonicalize_symtab(abfd, syms); in read_syms()
150 static void find_addr_sect(bfd *abfd, asection *section, void *obj) in find_addr_sect() argument
159 if (!(bfd_get_section_vma(abfd, section))) in find_addr_sect()
162 vma = bfd_get_section_vma(abfd, section); in find_addr_sect()
170 data->found = bfd_find_nearest_line(abfd, section, syms, in find_addr_sect()
180 bfd *abfd = cached_abfd; in wpa_trace_bfd_addr() local
186 if (abfd == NULL) in wpa_trace_bfd_addr()
191 bfd_map_over_sections(abfd, find_addr_sect, &data); in wpa_trace_bfd_addr()
198 aname = bfd_demangle(abfd, data.function, in wpa_trace_bfd_addr()
216 data.found = bfd_find_inliner_info(abfd, &data.filename, in wpa_trace_bfd_addr()
224 bfd *abfd = cached_abfd; in wpa_trace_bfd_addr2func() local
227 if (abfd == NULL) in wpa_trace_bfd_addr2func()
232 bfd_map_over_sections(abfd, find_addr_sect, &data); in wpa_trace_bfd_addr2func()
280 bfd *abfd; in wpa_trace_calling_func() local
291 abfd = cached_abfd; in wpa_trace_calling_func()
292 if (!abfd) in wpa_trace_calling_func()
304 bfd_map_over_sections(abfd, find_addr_sect, &data); in wpa_trace_calling_func()
315 data.found = bfd_find_inliner_info(abfd, &data.filename, in wpa_trace_calling_func()