/external/wpa_supplicant_8/src/utils/ |
trace.c | 48 bfd *abfd; local 51 abfd = bfd_openr(prg_fname, NULL); 52 if (abfd == NULL) { 57 if (bfd_check_format(abfd, bfd_archive)) { 59 bfd_close(abfd); 63 if (!bfd_check_format_matches(abfd, bfd_object, &matching)) { 66 bfd_close(abfd); 70 return abfd; 74 static void read_syms(bfd *abfd) 82 if (!(bfd_get_file_flags(abfd) & HAS_SYMS)) 156 bfd *abfd = cached_abfd; local 199 bfd *abfd = cached_abfd; local [all...] |
/ndk/build/tools/toolchain-patches/binutils/ |
0001-Fix-newer-binutils-not-to-assert-on-non-existence-tag_FP_arch.patch | 5 @@ -297,7 +297,7 @@ bfd_elf_add_obj_attr_int (bfd *abfd, int vendor, int tag, unsigned int i) 8 attr = elf_new_obj_attr (abfd, vendor, tag); 9 - attr->type = _bfd_elf_obj_attrs_arg_type (abfd, vendor, tag); 10 + attr->type = _bfd_elf_obj_attrs_arg_type (abfd, vendor, tag) | ATTR_TYPE_FLAG_EXIST; 14 @@ -320,7 +320,7 @@ bfd_elf_add_obj_attr_string (bfd *abfd, int vendor, int tag, const char *s) 17 attr = elf_new_obj_attr (abfd, vendor, tag); 18 - attr->type = _bfd_elf_obj_attrs_arg_type (abfd, vendor, tag); 19 + attr->type = _bfd_elf_obj_attrs_arg_type (abfd, vendor, tag) | ATTR_TYPE_FLAG_EXIST; 20 attr->s = _bfd_elf_attr_strdup (abfd, s); 23 @@ -332,7 +332,7 @@ bfd_elf_add_obj_attr_int_string (bfd *abfd, int vendor, int tag [all...] |
/external/oprofile/pp/ |
opgprof.cpp | 44 void op_write_vma(FILE * fp, op_bfd const & abfd, bfd_vma vma) 48 switch (abfd.bfd_arch_bits_per_address()) { 86 * @param abfd bfd object 108 void output_cg(FILE * fp, op_bfd const & abfd, profile_t const & cg_db) 113 offset = abfd.get_start_offset(0); 123 op_write_vma(fp, abfd, abfd.offset_to_pc(from + offset)); 124 op_write_vma(fp, abfd, abfd.offset_to_pc(to + offset)); 136 void output_gprof(op_bfd const & abfd, profile_container const & samples [all...] |
/external/oprofile/opjitconv/ |
create_bfd.c | 75 asection * create_section(bfd * abfd, char const * section_name, 81 section = bfd_make_section(abfd, section_name); 86 if (bfd_set_section_vma(abfd, section, vma) == FALSE) { 90 if (bfd_set_section_size(abfd, section, size) == FALSE) { 94 if (bfd_set_section_flags(abfd, section, flags) == FALSE) { 133 int fill_section_content(bfd * abfd, asection * section, 136 if (bfd_set_section_contents(abfd, section, b, offset, sz) == FALSE) { 252 bfd * abfd; local 254 abfd = bfd_openw(filename, dump_bfd_target_name); 255 if (!abfd) { [all...] |
opjitconv.h | 102 asection * create_section(bfd * abfd, char const * section_name, 104 int fill_section_content(bfd * abfd, asection * section, 108 int init_debug_line_info(bfd * abfd); 109 int finalize_debug_line_info(bfd * abfd);
|
debug_line.c | 440 int init_debug_line_info(bfd * abfd) 477 line_section = create_section(abfd, ".debug_line", b_line.size, 0, 482 debug_info = create_section(abfd, ".debug_info", b_debug_info.size, 0, 487 debug_abbrev = create_section(abfd, ".debug_abbrev", 497 int finalize_debug_line_info(bfd * abfd) 501 line_section = bfd_get_section_by_name(abfd, ".debug_line"); 505 debug_info = bfd_get_section_by_name(abfd, ".debug_info"); 510 debug_abbrev = bfd_get_section_by_name(abfd, ".debug_abbrev"); 514 fill_section_content(abfd, line_section, b_line.p, 0, b_line.size); 515 fill_section_content(abfd, debug_info, b_debug_info.p [all...] |
/external/oprofile/libpp/ |
populate.cpp | 33 populate_from_files(profile_t & profile, op_bfd const & abfd, 47 profile.set_offset(abfd); 69 op_bfd abfd(ip.image, symbol_filter, 92 if (populate_from_files(profile, abfd, it->files)) { 94 samples.add(profile, abfd, it->app_image, i); 109 *has_debug_info = abfd.has_debug_info();
|
profile_container.cpp | 74 op_bfd const & abfd, string const & app_name, 77 string const image_name = abfd.get_filename(); 80 for (symbol_index_t i = 0; i < abfd.syms.size(); ++i) { 85 abfd.get_symbol_range(i, start, end); 100 symb_entry.name = symbol_names.create(abfd.syms[i].name()); 106 if (abfd.get_linenr(i, start, filename, 116 symb_entry.sample.vma = abfd.syms[i].vma(); 121 image_names.create(abfd.get_embedding_filename()); 128 add_samples(abfd, i, p_it, symbol, pclass, start); 134 profile_container::add_samples(op_bfd const & abfd, symbol_index_t sym_index [all...] |
populate_for_spu.cpp | 44 * file of the SPU image, abfd->filename. 56 op_bfd * abfd = NULL; local 68 abfd = new op_bfd(header.embedded_offset, 75 abfd = new op_bfd(ip.image, 79 fname_to_check = abfd->get_filename(); 81 profile.set_offset(*abfd); 89 samples.add(profile, *abfd, app_image, ip_grp_num); 99 *has_debug_info = abfd->has_debug_info(); 100 delete abfd;
|
format_output.cpp | 658 xml_formatter::get_bfd_object(symbol_entry const * symb, op_bfd * & abfd) const 670 if (abfd && abfd->get_filename() == tmp) 672 delete abfd; 673 abfd = new op_bfd(symb->spu_offset, tmp, 676 if (abfd && abfd->get_filename() == image_name) 678 delete abfd; 679 abfd = new op_bfd(image_name, symbol_filter, 687 delete abfd; 759 op_bfd * abfd = NULL; local [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/include/ |
bfd.h | 197 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x) 259 bfd *abfd; 475 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 477 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 478 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 480 bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 482 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 484 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 485 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 257 bfd *abfd; member in union:orl::__anon21449 [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/include/ |
bfd.h | 197 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x) 259 bfd *abfd; 475 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 477 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 478 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 480 bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 482 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 484 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 485 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 257 bfd *abfd; member in union:orl::__anon21842 [all...] |
/prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.6/include/ |
bfd.h | 197 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x) 259 bfd *abfd; 475 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 477 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 478 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 480 bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 482 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 484 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 485 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 257 bfd *abfd; member in union:orl::__anon22235 [all...] |
/prebuilts/gcc/darwin-x86/x86/i686-linux-android-4.6/include/ |
bfd.h | 197 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x) 259 bfd *abfd; 475 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 477 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 478 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 480 bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 482 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 484 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 485 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 257 bfd *abfd; member in union:orl::__anon22254 [all...] |
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/include/ |
bfd.h | 197 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x) 259 bfd *abfd; 475 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 477 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 478 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 480 bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 482 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 484 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 485 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 257 bfd *abfd; member in union:orl::__anon22275 [all...] |
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/include/ |
bfd.h | 197 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x) 259 bfd *abfd; 475 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 477 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 478 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 480 bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 482 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 484 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 485 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 257 bfd *abfd; member in union:orl::__anon22668 [all...] |
/prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.6/include/ |
bfd.h | 197 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x) 259 bfd *abfd; 475 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 477 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 478 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 480 bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 482 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 484 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 485 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 257 bfd *abfd; member in union:orl::__anon27950 [all...] |
/prebuilts/gcc/linux-x86/x86/i686-linux-android-4.6/include/ |
bfd.h | 197 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x) 259 bfd *abfd; 475 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 477 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 478 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 480 bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 482 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 484 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 485 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 257 bfd *abfd; member in union:orl::__anon27969 [all...] |
/external/oprofile/libutil++/ |
bfd_support.cpp | 226 void fixup_linenr(bfd * abfd, asection * section, asymbol ** syms, 242 size_t section_size = bfd_section_size(abfd, section); 247 bool ret = bfd_find_nearest_line(abfd, section, syms, pc + i, 413 for (asection const * sect = abfd->sections; sect; sect = sect->next) { 431 if (abfd) 432 bfd_close(abfd); 455 bfd * image_bfd = image_bfd_info->abfd; 480 if (sym->section->owner && sym->section->owner == abfd) { 508 bool is_elf64_powerpc_target = (abfd->xvec == &bfd_elf64_powerpc_vec) 509 || (abfd->xvec == &bfd_elf64_powerpcle_vec) 616 bfd * abfd; local [all...] |
bfd_spu_support.cpp | 68 spu_bfd_iovec_pread(bfd * abfd, void * stream, void * buf, 75 /* Checking abfd isn't really necessary, except to silence 76 * compile warning. In fact, abfd will always be non-NULL. 78 if (abfd)
|
op_spu_bfd.cpp | 84 ibfd.abfd = spu_open_bfd(image_path, fd, spu_offset); 96 note = bfd_get_section_by_name(ibfd.abfd, ".note.spu_name"); 104 oct_per_byte = bfd_octets_per_byte(ibfd.abfd); 105 sec_size = bfd_section_size(ibfd.abfd, note)/oct_per_byte; 108 if (!bfd_get_section_contents(ibfd.abfd, note, sec_contents, 156 for (sect = ibfd.abfd->sections; sect; sect = sect->next) {
|
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/share/info/ |
bfd.info | 112 within code `abfd'. All operations on the target object file are 119 `abfd'. 123 unsigned int number_of_sections (abfd) 124 bfd *abfd; 126 return bfd_count_sections (abfd); 721 long bfd_get_reloc_upper_bound (bfd *abfd, asection *sect); 724 associated with section SECT attached to bfd ABFD. If an error occurs, 732 (bfd *abfd, asection *sec, arelent **loc, asymbol **syms); 734 Call the back end associated with the open BFD ABFD and translate the 747 (bfd *abfd, asection *sec, arelent **rel, unsigned int count) [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/share/info/ |
bfd.info | 112 within code `abfd'. All operations on the target object file are 119 `abfd'. 123 unsigned int number_of_sections (abfd) 124 bfd *abfd; 126 return bfd_count_sections (abfd); 721 long bfd_get_reloc_upper_bound (bfd *abfd, asection *sect); 724 associated with section SECT attached to bfd ABFD. If an error occurs, 732 (bfd *abfd, asection *sec, arelent **loc, asymbol **syms); 734 Call the back end associated with the open BFD ABFD and translate the 747 (bfd *abfd, asection *sec, arelent **rel, unsigned int count) [all...] |
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/share/info/ |
bfd.info | 112 within code `abfd'. All operations on the target object file are 119 `abfd'. 123 unsigned int number_of_sections (abfd) 124 bfd *abfd; 126 return bfd_count_sections (abfd); 721 long bfd_get_reloc_upper_bound (bfd *abfd, asection *sect); 724 associated with section SECT attached to bfd ABFD. If an error occurs, 732 (bfd *abfd, asection *sec, arelent **loc, asymbol **syms); 734 Call the back end associated with the open BFD ABFD and translate the 747 (bfd *abfd, asection *sec, arelent **rel, unsigned int count) [all...] |
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/share/info/ |
bfd.info | 112 within code `abfd'. All operations on the target object file are 119 `abfd'. 123 unsigned int number_of_sections (abfd) 124 bfd *abfd; 126 return bfd_count_sections (abfd); 721 long bfd_get_reloc_upper_bound (bfd *abfd, asection *sect); 724 associated with section SECT attached to bfd ABFD. If an error occurs, 732 (bfd *abfd, asection *sec, arelent **loc, asymbol **syms); 734 Call the back end associated with the open BFD ABFD and translate the 747 (bfd *abfd, asection *sec, arelent **rel, unsigned int count) [all...] |