/toolchain/binutils/binutils-2.25/binutils/ |
bfdtest2.c | 50 iovec_stat (struct bfd *abfd ATTRIBUTE_UNUSED, 57 check_format_any (struct bfd *abfd, bfd_format format) 61 if (bfd_check_format_matches (abfd, format, &targets)) 66 bfd_find_target (targets[0], abfd); 68 return bfd_check_format (abfd, format); 78 bfd *abfd, *mbfd; local 87 abfd = bfd_openr_iovec (argv[1], 0, iovec_open, file, 89 if (!abfd) 92 if (!check_format_any (abfd, bfd_archive)) 95 mbfd = bfd_openr_next_archived_file (abfd, 0) [all...] |
coffdump.c | 478 bfd *abfd; local 534 abfd = bfd_openr (input_file, 0); 536 if (!abfd) 539 if (! bfd_check_format_matches (abfd, bfd_object, &matching)) 551 tree = coff_grok (abfd);
|
arsup.c | 97 ar_directory_doer (bfd *abfd, bfd *ignore ATTRIBUTE_UNUSED) 99 print_arelt_descr(outfile, abfd, verbose); 215 ar_addlib_doer (bfd *abfd, bfd *prev) 219 prev->archive_next = abfd->archive_next; 221 abfd->archive_next = obfd->archive_head; 222 obfd->archive_head = abfd; 257 bfd *abfd = bfd_openr (list->name, NULL); local 259 if (!abfd) 267 abfd->archive_next = obfd->archive_head; 268 obfd->archive_head = abfd; 370 bfd *abfd = bfd_openr (list->name, 0); local 394 bfd *abfd = bfd_openr (list->name, 0); local 424 bfd *abfd; local [all...] |
addr2line.c | 109 slurp_symtab (bfd *abfd) 115 if ((bfd_get_file_flags (abfd) & HAS_SYMS) == 0) 118 storage = bfd_get_symtab_upper_bound (abfd); 121 storage = bfd_get_dynamic_symtab_upper_bound (abfd); 125 bfd_fatal (bfd_get_filename (abfd)); 129 symcount = bfd_canonicalize_dynamic_symtab (abfd, syms); 131 symcount = bfd_canonicalize_symtab (abfd, syms); 133 bfd_fatal (bfd_get_filename (abfd)); 139 && (storage = bfd_get_dynamic_symtab_upper_bound (abfd)) > 0) 143 symcount = bfd_canonicalize_dynamic_symtab (abfd, syms) 355 bfd *abfd; local [all...] |
bucomm.c | 78 const bfd *abfd, 92 if (abfd) 95 filename = bfd_get_archive_filename (abfd); 97 section_name = bfd_get_section_name (abfd, section); 250 bfd *abfd = bfd_openw (dummy_name, p->name); 257 if (abfd == NULL) 264 if (! bfd_set_format (abfd, bfd_object)) 271 bfd_close_all_done (abfd); 276 if (bfd_set_arch_mach (abfd, (enum bfd_architecture) a, 0)) 279 bfd_close_all_done (abfd); 247 bfd *abfd = bfd_openw (dummy_name, p->name); local 313 bfd *abfd = bfd_openw (dummy_name, p->name); local [all...] |
resres.c | 82 bfd *abfd; local 89 abfd = windres_open_as_binary (filename, 1); 90 sec = bfd_get_section_by_name (abfd, ".data"); 93 set_windres_bfd (&wrbfd, abfd, sec, 106 bfd_close (abfd); 117 bfd *abfd; local 128 abfd = windres_open_as_binary (filename, 0); 129 sec = bfd_make_section_with_flags (abfd, ".data", 137 set_windres_bfd (&wrbfd, abfd, sec, 145 if (! bfd_set_section_size (abfd, sec, (sec_length + 3) & ~3) [all...] |
strings.c | 324 /* Scan section SECT of the file ABFD, whose printable name is in 333 strings_a_section (bfd *abfd, asection *sect, void *arg) 356 if (bfd_stat (abfd, &st)) 371 if (bfd_get_section_contents (abfd, sect, mem, (file_ptr) 0, sectsize)) 392 bfd *abfd; 394 abfd = bfd_openr (file, target); 396 if (abfd == NULL) 403 if (!bfd_check_format (abfd, bfd_object)) 405 bfd_close (abfd); 412 bfd_map_over_sections (abfd, strings_a_section, & filename_and_size) 389 bfd *abfd; local [all...] |
coffgrok.c | 58 static bfd *abfd; variable 133 struct coff_section *all = (struct coff_section *) (xcalloc (abfd->section_count + 1, 135 head->nsections = abfd->section_count + 1; 138 for (idx = 0, section = abfd->sections; section; section = section->next, idx++) 145 relsize = bfd_get_reloc_upper_bound (abfd, section); 147 bfd_fatal (bfd_get_filename (abfd)); 151 relcount = bfd_canonicalize_reloc (abfd, section, relpp, syms); 153 bfd_fatal (bfd_get_filename (abfd)); 181 for (section = abfd->sections; section; section = section->next) 266 for (s = abfd->sections; s; s = s->next [all...] |
rescoff.c | 115 bfd *abfd; 126 abfd = bfd_openr (filename, target); 127 if (abfd == NULL) 130 if (! bfd_check_format_matches (abfd, bfd_object, &matching)) 132 bfd_nonfatal (bfd_get_filename (abfd)); 138 sec = bfd_get_section_by_name (abfd, ".rsrc"); 144 set_windres_bfd (&wrbfd, abfd, sec, WR_KIND_BFD); 145 size = bfd_section_size (abfd, sec); 153 flaginfo.secaddr = (bfd_get_section_vma (abfd, sec) 154 - pe_data (abfd)->pe_opthdr.ImageBase) 114 bfd *abfd; local 421 bfd *abfd; local [all...] |
windmc.c | 61 bfd *abfd; member in struct:__anon75078 233 set_endianness (bfd *abfd, const char *target) 238 target_vec = bfd_get_target_info (target, abfd, &target_is_bigendian, NULL, 545 bfd *abfd; local 547 abfd = bfd_openw (filename, "binary"); 548 if (! abfd) 551 return abfd; 659 if (! bfd_set_section_contents (mc_bfd.abfd, mc_bfd.sec, data, off, length)) 674 mc_bfd.abfd = windmc_open_as_binary (filename); 675 mc_bfd.sec = bfd_make_section_with_flags (mc_bfd.abfd, ".data" [all...] |
/toolchain/binutils/binutils-2.25/bfd/ |
elfxx-sparc.h | 39 bfd *abfd; member in struct:_bfd_sparc_elf_app_reg
|
dwarf1.c | 35 bfd* abfd; member in struct:dwarf1_debug 145 struct dwarf1_unit* x = (struct dwarf1_unit *) bfd_zalloc (stash->abfd, amt); 163 struct dwarf1_func* x = (struct dwarf1_func *) bfd_zalloc (stash->abfd, amt); 175 'abfd' must be the bfd from which the section that 'aDiePtr' 181 parse_die (bfd * abfd, 192 aDieInfo->length = bfd_get_32 (abfd, (bfd_byte *) xptr); 205 aDieInfo->tag = bfd_get_16 (abfd, (bfd_byte *) xptr); 216 attr = bfd_get_16 (abfd, (bfd_byte *) xptr); 227 aDieInfo->sibling = bfd_get_32 (abfd, (bfd_byte *) xptr); 230 aDieInfo->stmt_list_offset = bfd_get_32 (abfd, (bfd_byte *) xptr) [all...] |
libieee.h | 69 bfd *abfd; member in struct:__anon74971 119 bfd *abfd; member in struct:__anon74972 132 #define IEEE_DATA(abfd) ((abfd)->tdata.ieee_data) 133 #define IEEE_AR_DATA(abfd) ((abfd)->tdata.ieee_ar_data) 135 #define ptr(abfd) (ieee_data(abfd)->input_p)
|
liboasys.h | 56 bfd *abfd; member in struct:_oasys_ar_obstack 63 bfd *abfd; member in struct:_oasys_module_info 81 #define OASYS_DATA(abfd) ((abfd)->tdata.oasys_obj_data) 82 #define OASYS_AR_DATA(abfd) ((abfd)->tdata.oasys_ar_data)
|
bfd.c | 317 .bfd_set_cacheable (bfd * abfd, bfd_boolean val) 319 . abfd->cacheable = val; 662 bfd *abfd = va_arg (ap, bfd *); 664 if (abfd == NULL) 667 else if (abfd->my_archive) 669 abfd->my_archive->filename, abfd->filename); 671 snprintf (bufp, avail, "%s", abfd->filename); 676 bfd *abfd; 683 abfd = sec->owner 660 bfd *abfd = va_arg (ap, bfd *); local 674 bfd *abfd; local [all...] |
coff-h8300.c | 55 bfd *abfd; member in struct:funcvec_hash_table 127 switch (bfd_get_mach (table->abfd)) 150 bfd *abfd, 160 table->abfd = abfd; 169 h8300_coff_link_hash_table_create (bfd *abfd) 177 if (!_bfd_link_hash_table_init (&ret->root.root, abfd, 198 special (bfd * abfd ATTRIBUTE_UNUSED, 262 #define SWAP_OUT_RELOC_EXTRA(abfd, src, dst) \ 349 #define CALC_ADDEND(abfd, symbol, ext_reloc, cache_ptr) [all...] |
libecoff.h | 33 #define ecoff_backend(abfd) \ 34 ((struct ecoff_backend_data *) (abfd)->xvec->backend_data) 85 #define ecoff_data(abfd) ((abfd)->tdata.ecoff_obj_data) 199 #define ecoff_section_data(abfd, sec) \ 210 bfd *abfd; member in struct:ecoff_link_hash_entry 331 (bfd *abfd, int enable);
|
plugin.c | 137 bfd *abfd = handle; local 139 bfd_alloc (abfd, sizeof (plugin_data_struct)); 145 abfd->flags |= HAS_SYMS; 147 abfd->tdata.plugin_data = plugin_data; 160 try_claim (bfd *abfd) 166 file.name = abfd->filename; 168 if (abfd->my_archive) 170 iobfd = abfd->my_archive; 171 file.offset = abfd->origin; 172 file.filesize = arelt_size (abfd); [all...] |
/toolchain/binutils/binutils-2.25/ld/ |
ldmisc.c | 176 bfd *abfd = sec->owner; local 181 if (abfd != NULL 182 && bfd_get_flavour (abfd) == bfd_target_elf_flavour 186 else if (abfd != NULL 187 && bfd_get_flavour (abfd) == bfd_target_coff_flavour 199 bfd *abfd = va_arg (arg, bfd *); local 201 if (abfd == NULL) 203 else if (abfd->my_archive) 204 fprintf (fp, "%s(%s)", abfd->my_archive->filename, 205 abfd->filename) 281 bfd *abfd; local [all...] |
ldcref.c | 48 bfd *abfd; member in struct:cref_ref 159 bfd *abfd, 179 if (r->abfd == abfd) 189 r->abfd = abfd; 208 handle_asneeded_cref (bfd *abfd ATTRIBUTE_UNUSED, 427 if ((r->abfd->flags & DYNAMIC) == 0) 455 lfinfo (fp, "%B\n", r->abfd); 469 lfinfo (fp, "%B\n", r->abfd); 509 bfd *abfd; local [all...] |
/toolchain/binutils/binutils-2.25/opcodes/ |
mmix-dis.c | 89 bfd *abfd = info->section && info->section->owner != NULL local 92 asection *reg_section = bfd_get_section_by_name (abfd, "*REG*"); 97 long symsize = bfd_get_symtab_upper_bound (abfd); 107 nsyms = bfd_canonicalize_symtab (abfd, syms);
|
nds32-dis.c | 59 bfd * abfd; member in struct:objdump_disasm_info
|
mep-dis.c | 649 bfd *abfd = info->section->owner; 650 mep_config_index = abfd->tdata.elf_obj_data->elf_header->e_flags & EF_MEP_INDEX_MASK; 653 cop_type = abfd->tdata.elf_obj_data->elf_header->e_flags & EF_MEP_COP_MASK; 648 bfd *abfd = info->section->owner; local [all...] |
/external/wpa_supplicant_8/src/utils/ |
trace.c | 46 bfd *abfd; local 49 abfd = bfd_openr(prg_fname, NULL); 50 if (abfd == NULL) { 55 if (bfd_check_format(abfd, bfd_archive)) { 57 bfd_close(abfd); 61 if (!bfd_check_format_matches(abfd, bfd_object, &matching)) { 64 bfd_close(abfd); 68 return abfd; 72 static void read_syms(bfd *abfd) 80 if (!(bfd_get_file_flags(abfd) & HAS_SYMS)) 154 bfd *abfd = cached_abfd; local 198 bfd *abfd = cached_abfd; local 249 bfd *abfd; local [all...] |
/ndk/sources/host-tools/ndk-stack/binutils/ |
addr2line.c | 110 slurp_symtab (bfd *abfd) 116 if ((bfd_get_file_flags (abfd) & HAS_SYMS) == 0) 119 storage = bfd_get_symtab_upper_bound (abfd); 122 storage = bfd_get_dynamic_symtab_upper_bound (abfd); 126 bfd_fatal (bfd_get_filename (abfd)); 130 symcount = bfd_canonicalize_dynamic_symtab (abfd, syms); 132 symcount = bfd_canonicalize_symtab (abfd, syms); 134 bfd_fatal (bfd_get_filename (abfd)); 152 find_address_in_section (bfd *abfd, asection *section, 161 if ((bfd_get_section_flags (abfd, section) & SEC_ALLOC) == 0 340 bfd *abfd; local [all...] |