Searched refs:abfd (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/tools/perf/util/
H A Dsrcline.c30 bfd *abfd; member in struct:a2l_data
49 static int slurp_symtab(bfd *abfd, struct a2l_data *a2l) slurp_symtab() argument
56 if ((bfd_get_file_flags(abfd) & HAS_SYMS) == 0) slurp_symtab()
57 return bfd_error(bfd_get_filename(abfd)); slurp_symtab()
59 storage = bfd_get_symtab_upper_bound(abfd); slurp_symtab()
61 storage = bfd_get_dynamic_symtab_upper_bound(abfd); slurp_symtab()
65 return bfd_error(bfd_get_filename(abfd)); slurp_symtab()
69 symcount = bfd_canonicalize_dynamic_symtab(abfd, syms); slurp_symtab()
71 symcount = bfd_canonicalize_symtab(abfd, syms); slurp_symtab()
75 return bfd_error(bfd_get_filename(abfd)); slurp_symtab()
82 static void find_address_in_section(bfd *abfd, asection *section, void *data) find_address_in_section() argument
91 if ((bfd_get_section_flags(abfd, section) & SEC_ALLOC) == 0) find_address_in_section()
95 vma = bfd_get_section_vma(abfd, section); find_address_in_section()
101 a2l->found = bfd_find_nearest_line(abfd, section, a2l->syms, pc - vma, find_address_in_section()
108 bfd *abfd; addr2line_init() local
111 abfd = bfd_openr(path, NULL); addr2line_init()
112 if (abfd == NULL) addr2line_init()
115 if (!bfd_check_format(abfd, bfd_object)) addr2line_init()
122 a2l->abfd = abfd; addr2line_init()
127 if (slurp_symtab(abfd, a2l)) addr2line_init()
137 bfd_close(abfd); addr2line_init()
143 if (a2l->abfd) addr2line_cleanup()
144 bfd_close(a2l->abfd); addr2line_cleanup()
169 bfd_map_over_sections(a2l->abfd, find_address_in_section, a2l); addr2line()
/linux-4.1.27/arch/mips/sibyte/common/
H A Dcfe.c198 * e.g. initrd=3abfd@80010000. This is set up by the loader. initrd_setup()

Completed in 152 milliseconds