/freebsd-11.0-release/contrib/gdb/gdb/ |
H A D | gcore.c | 47 bfd *obfd; local 69 obfd = bfd_openw (corefilename, default_gcore_target ()); 70 if (!obfd) 74 old_chain = make_cleanup_bfd_close (obfd); 76 bfd_set_format (obfd, bfd_core); 77 bfd_set_arch_mach (obfd, default_gcore_arch (), default_gcore_mach ()); 80 note_data = target_make_corefile_notes (obfd, ¬e_size); 85 note_sec = bfd_make_section_anyway (obfd, "note0"); 90 bfd_set_section_vma (obfd, note_sec, 0); 91 bfd_set_section_flags (obfd, note_se 289 make_output_phdrs(bfd *obfd, asection *osec, void *ignored) argument 313 bfd *obfd = data; local 393 objfile_find_memory_regions(int (*func) (CORE_ADDR, unsigned long, int, int, int, void *), void *obfd) argument 445 gcore_copy_callback(bfd *obfd, asection *osec, void *ignored) argument 477 gcore_memory_sections(bfd *obfd) argument [all...] |
H A D | fbsd-proc.c | 75 void *obfd) 113 func (start, size, read, write, exec, obfd); 121 fbsd_make_corefile_notes (bfd *obfd, int *note_size) argument 130 i_ehdrp = elf_elfheader (obfd); 134 note_data = elfcore_write_prstatus (obfd, note_data, note_size, 139 note_data = elfcore_write_prfpreg (obfd, note_data, note_size, 143 note_data = elfcore_write_thrmisc (obfd, note_data, note_size, 154 note_data = elfcore_write_prpsinfo (obfd, note_data, note_size, 73 fbsd_find_memory_regions(int (*func) (CORE_ADDR, unsigned long, int, int, int, void *), void *obfd) argument
|
H A D | somread.c | 331 bfd *abfd = objfile->obfd; 433 objfile->num_sections = bfd_count_sections (objfile->obfd); 507 text_section = bfd_get_section_by_name (objfile->obfd, "$SHLIB_INFO$"); 511 bfd_get_section_contents (objfile->obfd, text_section, dl_header, 0, 12 * sizeof (int)); 530 bfd_get_section_contents (objfile->obfd, text_section, string_buffer, 545 bfd_get_section_contents (objfile->obfd, text_section, buffer, 565 bfd_get_section_contents (objfile->obfd, text_section, buffer, 630 text_section = bfd_get_section_by_name (objfile->obfd, "$SHLIB_INFO$"); 634 bfd_get_section_contents (objfile->obfd, text_section, dl_header, 0, 12 * sizeof (int)); 653 bfd_get_section_contents (objfile->obfd, text_sectio [all...] |
H A D | elfread.c | 165 int stripped = (bfd_get_symcount (objfile->obfd) == 0); 462 bfd *abfd = objfile->obfd; 485 storage_needed = bfd_get_symtab_upper_bound (objfile->obfd); 487 error (_("Can't read symbols from %s: %s"), bfd_get_filename (objfile->obfd), 494 symcount = bfd_canonicalize_symtab (objfile->obfd, symbol_table); 497 error (_("Can't read symbols from %s: %s"), bfd_get_filename (objfile->obfd), 505 storage_needed = bfd_get_dynamic_symtab_upper_bound (objfile->obfd); 511 dynsymcount = bfd_canonicalize_dynamic_symtab (objfile->obfd, 515 error (_("Can't read symbols from %s: %s"), bfd_get_filename (objfile->obfd),
|
H A D | symfile.c | 393 sect = bfd_get_section_by_name (objfile->obfd, ".text"); 397 sect = bfd_get_section_by_name (objfile->obfd, ".data"); 401 sect = bfd_get_section_by_name (objfile->obfd, ".bss"); 405 sect = bfd_get_section_by_name (objfile->obfd, ".rodata"); 452 objfile->num_sections = bfd_count_sections (objfile->obfd); 542 = alloc_section_addr_info (bfd_count_sections (objfile->obfd)); 587 lower_sect = bfd_get_section_by_name (objfile->obfd, ".text"); 589 bfd_map_over_sections (objfile->obfd, find_lowest_section, 595 if ((bfd_get_section_flags (objfile->obfd, lower_sect) & SEC_CODE) == 0) 598 bfd_section_name (objfile->obfd, lower_sec 3392 bfd *obfd = osect->objfile->obfd; local 3453 bfd *obfd = osect->objfile->obfd; local [all...] |
H A D | xcoffread.c | 270 bfd_map_over_sections (objfile->obfd, find_targ_sec, &args); 285 bfd_map_over_sections (objfile->obfd, find_targ_sec, &args); 594 coff_data (this_symtab_psymtab->objfile->obfd)->local_linesz; 786 abfd = this_symtab_psymtab->objfile->obfd; 878 bfd_coff_swap_sym_in (objfile->obfd, raw_symbol, &symbol); 893 coff_data (objfile->obfd)->local_symesz; 913 bfd *abfd = objfile->obfd; 1616 bfd_coff_swap_sym_in (this_symtab_psymtab->objfile->obfd, 1640 int xcoff64 = bfd_xcoff_is_xcoff64 (objfile->obfd); 1692 bfd_coff_swap_aux_in (objfile->obfd, stb [all...] |
H A D | objfiles.c | 126 bfd_map_over_sections (objfile->obfd, add_to_objfile_sections, (char *) objfile); 180 objfile->obfd = abfd; 242 if (bfd_get_file_flags (objfile->obfd) & EXEC_P) 246 objfile->ei.entry_point = bfd_get_start_address (objfile->obfd); 415 if (objfile->obfd != NULL) 417 char *name = bfd_get_filename (objfile->obfd); 418 if (!bfd_close (objfile->obfd)) 644 abfd = objfile->obfd;
|
H A D | pa64solib.c | 276 so->abfd = so->objfile->obfd; 411 shlib_info = bfd_get_section_by_name (symfile_objfile->obfd, ".dynamic"); 416 if (bfd_section_size (symfile_objfile->obfd, shlib_info) == 0) 484 shlib_info = bfd_get_section_by_name (symfile_objfile->obfd, ".dynamic"); 489 if (bfd_section_size (symfile_objfile->obfd, shlib_info) == 0) 954 dyninfo_sect = bfd_get_section_by_name (symfile_objfile->obfd, 1020 dyninfo_addr = bfd_section_vma (symfile_objfile->obfd, dyninfo_sect); 1038 dyn_tag = bfd_h_get_64 (symfile_objfile->obfd,
|
H A D | minsyms.c | 524 if (symfile_objfile != NULL && symfile_objfile->obfd != NULL) 525 return bfd_get_symbol_leading_char (symfile_objfile->obfd); 598 if (tempstring[0] == get_symbol_leading_char (objfile->obfd)) 863 leading_char = get_symbol_leading_char (objfile->obfd);
|
H A D | nlmread.c | 177 bfd *abfd = objfile->obfd;
|
H A D | coff-pe-read.c | 193 bfd *dll = objfile->obfd; 212 char const *target = bfd_get_target (objfile->obfd);
|
H A D | mipsread.c | 84 bfd *abfd = objfile->obfd; 224 bfd *abfd = objfile->obfd;
|
/freebsd-11.0-release/contrib/binutils/binutils/ |
H A D | arsup.c | 42 static bfd *obfd; variable 158 obfd = bfd_openw (tname, NULL); 160 if (!obfd) 195 ptr = &(obfd->archive_head); 206 bfd_set_format (obfd, bfd_archive); 208 obfd->has_armap = 1; 219 abfd->archive_next = obfd->archive_head; 220 obfd->archive_head = abfd; 226 if (obfd == NULL) 246 if (!obfd) [all...] |
H A D | objcopy.c | 910 filter_symbols (bfd *abfd, bfd *obfd, asymbol **osyms, 952 && (bfd_get_symbol_leading_char (obfd) != '\0') 959 name[0] = bfd_get_symbol_leading_char (obfd); 977 *ptr++ = bfd_get_symbol_leading_char (obfd); 1249 copy_unknown_object (bfd *ibfd, bfd *obfd) 1279 bfd_get_archive_filename (ibfd), bfd_get_filename (obfd)); 1297 if (bfd_bwrite (cbuf, (bfd_size_type) tocopy, obfd) 1300 bfd_nonfatal (bfd_get_filename (obfd)); 1308 chmod (bfd_get_filename (obfd), buf.st_mode); 1317 copy_object (bfd *ibfd, bfd *obfd) 908 filter_symbols(bfd *abfd, bfd *obfd, asymbol **osyms, asymbol **isyms, long symcount) argument 1247 copy_unknown_object(bfd *ibfd, bfd *obfd) argument 1315 copy_object(bfd *ibfd, bfd *obfd) argument 1806 copy_archive(bfd *ibfd, bfd *obfd, const char *output_target, bfd_boolean force_output_target) argument 1813 bfd *obfd; member in struct:name_list 1994 bfd *obfd; local 2014 bfd *obfd; local 2131 setup_bfd_headers(bfd *ibfd, bfd *obfd) argument 2159 bfd *obfd = obfdarg; local 2318 bfd *obfd = obfdarg; local 2575 write_debugging_info(bfd *obfd, void *dhandle, long *symcountp ATTRIBUTE_UNUSED, asymbol ***symppp ATTRIBUTE_UNUSED) argument [all...] |
H A D | ar.c | 927 bfd *obfd; 940 obfd = bfd_openw (new_name, bfd_get_target (iarch)); 942 if (obfd == NULL) 945 output_bfd = obfd; 947 bfd_set_format (obfd, bfd_archive); 951 obfd->has_armap = write_armap >= 0; 957 obfd->flags |= BFD_TRADITIONAL_FORMAT; 960 if (!bfd_set_archive_head (obfd, contents_head)) 963 if (!bfd_close (obfd)) 924 bfd *obfd; local
|
/freebsd-11.0-release/contrib/binutils/bfd/ |
H A D | cpu-arm.c | 156 bfd_arm_merge_machines (bfd *ibfd, bfd *obfd) argument 159 unsigned int out = bfd_get_mach (obfd); 163 bfd_set_arch_mach (obfd, bfd_arch_arm, in); 170 bfd_set_arch_mach (obfd, bfd_arch_arm, bfd_mach_arm_unknown); 190 ibfd, obfd); 201 obfd, ibfd); 206 bfd_set_arch_mach (obfd, bfd_arch_arm, in);
|
H A D | elf32-sparc.c | 70 elf32_sparc_merge_private_bfd_data (bfd *ibfd, bfd *obfd) argument 78 || bfd_get_flavour (obfd) != bfd_target_elf_flavour) 92 if (bfd_get_mach (obfd) < ibfd_mach) 93 bfd_set_arch_mach (obfd, bfd_arch_sparc, ibfd_mach);
|
H A D | elf-attrs.c | 353 _bfd_elf_copy_obj_attributes (bfd *ibfd, bfd *obfd) argument 364 out_attr = &elf_known_obj_attributes (obfd)[vendor][4]; 370 out_attr->s = _bfd_elf_attr_strdup (obfd, in_attr->s); 383 bfd_elf_add_obj_attr_int (obfd, vendor, list->tag, in_attr->i); 386 bfd_elf_add_obj_attr_string (obfd, vendor, list->tag, 390 bfd_elf_add_obj_attr_compat (obfd, vendor, in_attr->i, 559 _bfd_elf_merge_object_attributes (bfd *ibfd, bfd *obfd) argument 589 bfd_elf_add_proc_attr_compat (obfd, in_attr->i, in_attr->s);
|
H A D | elf32-mep.c | 752 mep_elf_copy_private_bfd_data (bfd * ibfd, bfd * obfd) 755 || bfd_get_flavour (obfd) != bfd_target_elf_flavour) 758 elf_elfheader (obfd)->e_flags = elf_elfheader (ibfd)->e_flags; 759 elf_flags_init (obfd) = TRUE; 762 _bfd_elf_copy_obj_attributes (ibfd, obfd); 771 mep_elf_merge_private_bfd_data (bfd * ibfd, bfd * obfd) 778 if (_bfd_generic_verify_endian_match (ibfd, obfd) == FALSE) 782 old_flags = elf_elfheader (obfd)->e_flags; 786 ibfd, old_flags, new_flags, elf_flags_init (obfd) ? "yes" : "no"); 790 if (!elf_flags_init (obfd)) 745 mep_elf_copy_private_bfd_data(bfd * ibfd, bfd * obfd) argument 764 mep_elf_merge_private_bfd_data(bfd * ibfd, bfd * obfd) argument [all...] |
H A D | coff-arm.c | 2150 coff_arm_adjust_symndx (bfd *obfd ATTRIBUTE_UNUSED, 2178 coff_arm_merge_private_bfd_data (bfd * ibfd, bfd * obfd) 2180 BFD_ASSERT (ibfd != NULL && obfd != NULL); 2182 if (ibfd == obfd) 2189 || obfd->xvec->flavour != bfd_target_coff_flavour) 2194 if (! bfd_arm_merge_machines (ibfd, obfd)) 2200 if (APCS_SET (obfd)) 2203 if (APCS_26_FLAG (obfd) != APCS_26_FLAG (ibfd)) 2208 ibfd, obfd, 2210 APCS_26_FLAG (obfd) 2176 coff_arm_merge_private_bfd_data(bfd * ibfd, bfd * obfd) argument [all...] |
H A D | elf64-sparc.c | 631 elf64_sparc_merge_private_bfd_data (bfd *ibfd, bfd *obfd) 638 || bfd_get_flavour (obfd) != bfd_target_elf_flavour) 642 old_flags = elf_elfheader (obfd)->e_flags; 644 if (!elf_flags_init (obfd)) /* First call, no flags set */ 646 elf_flags_init (obfd) = TRUE; 647 elf_elfheader (obfd)->e_flags = new_flags; 702 elf_elfheader (obfd)->e_flags = old_flags; 629 elf64_sparc_merge_private_bfd_data(bfd *ibfd, bfd *obfd) argument
|
H A D | libcoff.h | 914 #define bfd_coff_start_final_link(obfd, info)\ 915 ((coff_backend_info (obfd)->_bfd_coff_start_final_link)\ 916 (obfd, info)) 917 #define bfd_coff_relocate_section(obfd,info,ibfd,o,con,rel,isyms,secs)\ 919 (obfd, info, ibfd, o, con, rel, isyms, secs)) 923 #define bfd_coff_adjust_symndx(obfd, info, ibfd, sec, rel, adjustedp)\ 925 (obfd, info, ibfd, sec, rel, adjustedp))
|
/freebsd-11.0-release/contrib/gdb/gdb/cli/ |
H A D | cli-dump.c | 150 bfd *obfd; local 154 obfd = bfd_openw (filename, target); 155 if (obfd == NULL) 158 make_cleanup_bfd_close (obfd); 159 if (!bfd_set_format (obfd, bfd_object)) 169 return obfd; 212 bfd *obfd; local 215 obfd = bfd_openw_with_cleanup (filename, target, mode); 216 osection = bfd_make_section_anyway (obfd, ".newsec"); 217 bfd_set_section_size (obfd, osectio [all...] |
/freebsd-11.0-release/contrib/binutils/ld/ |
H A D | ldmain.c | 996 bfd *obfd, 1018 if (obfd != NULL) 1019 einfo (_("%D: first defined here\n"), obfd, osec, oval); 1038 bfd *obfd, 1055 if (obfd != NULL) 1056 einfo (_("%B: warning: common is here\n"), obfd); 1065 if (obfd != NULL) 1066 einfo (_("%B: warning: defined here\n"), obfd); 1075 if (obfd != NULL) 1076 einfo (_("%B: warning: larger common is here\n"), obfd); 992 multiple_definition(struct bfd_link_info *info ATTRIBUTE_UNUSED, const char *name, bfd *obfd, asection *osec, bfd_vma oval, bfd *nbfd, asection *nsec, bfd_vma nval) argument 1034 multiple_common(struct bfd_link_info *info ATTRIBUTE_UNUSED, const char *name, bfd *obfd, enum bfd_link_hash_type otype, bfd_vma osize, bfd *nbfd, enum bfd_link_hash_type ntype, bfd_vma nsize) argument [all...] |
/freebsd-11.0-release/contrib/gdb/include/ |
H A D | bfdlink.h | 416 bfd *obfd, asection *osec, bfd_vma oval, 431 bfd *obfd, enum bfd_link_hash_type otype, bfd_vma osize,
|