/dragonfly/contrib/binutils-2.34/bfd/ |
H A D | elf-linux-core.h | 57 (bfd *obfd, in swap_linux_prpsinfo32_ugid32_out() argument 66 bfd_put_32 (obfd, from->pr_uid, to->pr_uid); in swap_linux_prpsinfo32_ugid32_out() 67 bfd_put_32 (obfd, from->pr_gid, to->pr_gid); in swap_linux_prpsinfo32_ugid32_out() 68 bfd_put_32 (obfd, from->pr_pid, to->pr_pid); in swap_linux_prpsinfo32_ugid32_out() 71 bfd_put_32 (obfd, from->pr_sid, to->pr_sid); in swap_linux_prpsinfo32_ugid32_out() 109 (bfd *obfd, in swap_linux_prpsinfo32_ugid16_out() argument 118 bfd_put_16 (obfd, from->pr_uid, to->pr_uid); in swap_linux_prpsinfo32_ugid16_out() 119 bfd_put_16 (obfd, from->pr_gid, to->pr_gid); in swap_linux_prpsinfo32_ugid16_out() 120 bfd_put_32 (obfd, from->pr_pid, to->pr_pid); in swap_linux_prpsinfo32_ugid16_out() 162 (bfd *obfd, in swap_linux_prpsinfo64_ugid32_out() argument [all …]
|
H A D | elf-attrs.c | 344 _bfd_elf_copy_obj_attributes (bfd *ibfd, bfd *obfd) in _bfd_elf_copy_obj_attributes() argument 353 || bfd_get_flavour (obfd) != bfd_target_elf_flavour) in _bfd_elf_copy_obj_attributes() 367 out_attr->s = _bfd_elf_attr_strdup (obfd, in_attr->s); in _bfd_elf_copy_obj_attributes() 383 bfd_elf_add_obj_attr_string (obfd, vendor, list->tag, in _bfd_elf_copy_obj_attributes() 596 bfd *obfd = info->output_bfd; in _bfd_elf_merge_object_attributes() local 650 out_attr = elf_known_obj_attributes_proc (obfd); in _bfd_elf_merge_unknown_attribute_low() 653 err_bfd = obfd; in _bfd_elf_merge_unknown_attribute_low() 679 _bfd_elf_merge_unknown_attribute_list (bfd *ibfd, bfd *obfd) in _bfd_elf_merge_unknown_attribute_list() argument 687 out_listp = &elf_other_obj_attributes_proc (obfd); in _bfd_elf_merge_unknown_attribute_list() 701 err_bfd = obfd; in _bfd_elf_merge_unknown_attribute_list() [all …]
|
H A D | bfd.c | 2703 bfd_convert_section_size (bfd *ibfd, sec_ptr isec, bfd *obfd, in bfd_convert_section_size() argument 2710 || bfd_get_flavour (obfd) != bfd_target_elf_flavour) in bfd_convert_section_size() 2715 == get_elf_backend_data (obfd)->s->elfclass) in bfd_convert_section_size() 2720 return _bfd_elf_convert_gnu_property_size (ibfd, obfd); in bfd_convert_section_size() 2768 || bfd_get_flavour (obfd) != bfd_target_elf_flavour) in bfd_convert_section_contents() 2773 == get_elf_backend_data (obfd)->s->elfclass) in bfd_convert_section_contents() 2841 bfd_put_32 (obfd, ELFCOMPRESS_ZLIB, &echdr->ch_type); in bfd_convert_section_contents() 2842 bfd_put_32 (obfd, chdr.ch_size, &echdr->ch_size); in bfd_convert_section_contents() 2848 bfd_put_32 (obfd, ELFCOMPRESS_ZLIB, &echdr->ch_type); in bfd_convert_section_contents() 2849 bfd_put_32 (obfd, 0, &echdr->ch_reserved); in bfd_convert_section_contents() [all …]
|
/dragonfly/contrib/gdb-7/gdb/ |
H A D | gcore.c | 56 if (!obfd) in create_gcore_bfd() 60 return obfd; in create_gcore_bfd() 68 write_gcore_file (bfd *obfd) in write_gcore_file() argument 111 bfd *obfd = arg; in do_bfd_delete_cleanup() local 126 bfd *obfd; in gcore_command() local 153 write_gcore_file (obfd); in gcore_command() 159 gdb_bfd_unref (obfd); in gcore_command() 390 bfd *obfd = data; in gcore_create_callback() local 500 obfd); in objfile_find_memory_regions() 513 obfd); in objfile_find_memory_regions() [all …]
|
H A D | symfile.c | 690 bfd *abfd = objfile->obfd; in default_symfile_offsets() 2451 if (objfile->obfd == NULL) in reread_symbols() 2462 if (objfile->obfd->my_archive) in reread_symbols() 2532 struct bfd *obfd = objfile->obfd; in reread_symbols() local 2538 if (objfile->obfd == NULL) in reread_symbols() 2543 make_cleanup_bfd_unref (obfd); in reread_symbols() 2546 gdb_bfd_unref (obfd); in reread_symbols() 3320 bfd_section_name (objfile->obfd, in map_overlay_command() 3549 bfd *obfd = osect->objfile->obfd; in simple_overlay_update_1() local 3625 bfd *obfd = osect->objfile->obfd; in simple_overlay_update() local [all …]
|
H A D | fbsd-nat.c | 94 fbsd_find_memory_regions (find_memory_region_ftype func, void *obfd) in fbsd_find_memory_regions() argument 136 func (start, size, read, write, exec, 1, obfd); in fbsd_find_memory_regions() 169 fbsd_make_corefile_notes (bfd *obfd, int *note_size) in fbsd_make_corefile_notes() argument 181 i_ehdrp = elf_elfheader (obfd); in fbsd_make_corefile_notes() 191 note_data = elfcore_write_prstatus (obfd, note_data, note_size, in fbsd_make_corefile_notes() 200 note_data = elfcore_write_prfpreg (obfd, note_data, note_size, in fbsd_make_corefile_notes() 212 note_data = elfcore_write_prpsinfo (obfd, note_data, note_size, in fbsd_make_corefile_notes()
|
H A D | elfread.c | 280 bfd *abfd = objfile->obfd; in elf_symtab_read() 612 bfd *obfd = objfile->obfd; in elf_rel_plt_read() local 627 plt = bfd_get_section_by_name (obfd, ".plt"); in elf_rel_plt_read() 632 got_plt = bfd_get_section_by_name (obfd, ".got.plt"); in elf_rel_plt_read() 860 bfd *obfd = objfile->obfd; in elf_gnu_ifunc_resolve_by_got() local 876 plt = bfd_get_section_by_name (obfd, ".plt"); in elf_gnu_ifunc_resolve_by_got() 1176 build_id = build_id_bfd_get (objfile->obfd); in find_separate_debug_file_by_buildid() 1227 bfd *synth_abfd, *abfd = objfile->obfd; in elf_symfile_read() 1259 bfd_get_filename (objfile->obfd), in elf_symfile_read() 1270 bfd_get_filename (objfile->obfd), in elf_symfile_read() [all …]
|
H A D | record-full.c | 2392 len, bfd_get_filename (obfd), in bfdcore_read() 2611 len, bfd_get_filename (obfd), in bfdcore_write() 2628 bfd *obfd = data; in record_full_save_cleanups() local 2631 gdb_bfd_unref (obfd); in record_full_save_cleanups() 2648 bfd *obfd; in record_full_save() local 2713 bfd_section_lma (obfd, osec) = 0; in record_full_save() 2716 write_gcore_file (obfd); in record_full_save() 2786 bfdcore_write (obfd, osec, in record_full_save() 2800 bfdcore_write (obfd, osec, &signal, in record_full_save() 2805 bfdcore_write (obfd, osec, &count, in record_full_save() [all …]
|
H A D | fbsd-nat.h | 32 extern int fbsd_find_memory_regions (find_memory_region_ftype func, void *obfd); 37 extern char *fbsd_make_corefile_notes (bfd *obfd, int *note_size);
|
H A D | machoread.c | 433 if (name[0] == bfd_get_symbol_leading_char (main_objfile->obfd)) in macho_resolve_oso_sym_with_minsym() 808 if (bfd_mach_o_lookup_command (objfile->obfd, in macho_check_dsym() 848 bfd *abfd = objfile->obfd; in macho_symfile_read() 859 storage_needed = bfd_get_symtab_upper_bound (objfile->obfd); in macho_symfile_read() 862 bfd_get_filename (objfile->obfd), in macho_symfile_read() 877 symcount = bfd_canonicalize_symtab (objfile->obfd, symbol_table); in macho_symfile_read() 881 bfd_get_filename (objfile->obfd), in macho_symfile_read() 913 for (asect = objfile->obfd->sections, dsect = dsym_bfd->sections; in macho_symfile_read() 948 bfd *abfd = objfile->obfd; in macho_symfile_relocate() 976 objfile->num_sections = bfd_count_sections (objfile->obfd); in macho_symfile_offsets()
|
H A D | objfiles.c | 174 objfile->per_bfd = get_objfile_bfd_data (objfile, objfile->obfd); in set_objfile_per_bfd() 225 bfd_map_over_sections (objfile->obfd, in build_objfile_section_table() 267 objfile->obfd = abfd; in allocate_objfile() 589 if (objfile->obfd) in free_objfile() 590 gdb_bfd_unref (objfile->obfd); in free_objfile() 827 exec_set_section_address (bfd_get_filename (objfile->obfd), idx, in objfile_relocate1() 871 addr_info_make_relative (objfile_addrs, debug_objfile->obfd); in objfile_relocate() 874 == bfd_count_sections (debug_objfile->obfd)); in objfile_relocate() 1296 if (insert_section_p (objfile->obfd, s->the_bfd_section)) in update_section_map() 1312 if (insert_section_p (objfile->obfd, s->the_bfd_section)) in update_section_map()
|
/dragonfly/contrib/binutils-2.27/bfd/ |
H A D | elf-linux-core.h | 56 swap_linux_prpsinfo32_out (bfd *obfd, in swap_linux_prpsinfo32_out() argument 62 bfd_put_8 (obfd, from->pr_zomb, &to->pr_zomb); in swap_linux_prpsinfo32_out() 65 bfd_put_16 (obfd, from->pr_uid, to->pr_uid); in swap_linux_prpsinfo32_out() 66 bfd_put_16 (obfd, from->pr_gid, to->pr_gid); in swap_linux_prpsinfo32_out() 67 bfd_put_32 (obfd, from->pr_pid, to->pr_pid); in swap_linux_prpsinfo32_out() 70 bfd_put_32 (obfd, from->pr_sid, to->pr_sid); in swap_linux_prpsinfo32_out() 104 swap_linux_prpsinfo64_out (bfd *obfd, in swap_linux_prpsinfo64_out() argument 113 bfd_put_32 (obfd, from->pr_uid, to->pr_uid); in swap_linux_prpsinfo64_out() 114 bfd_put_32 (obfd, from->pr_gid, to->pr_gid); in swap_linux_prpsinfo64_out() 115 bfd_put_32 (obfd, from->pr_pid, to->pr_pid); in swap_linux_prpsinfo64_out() [all …]
|
H A D | elf-attrs.c | 342 _bfd_elf_copy_obj_attributes (bfd *ibfd, bfd *obfd) in _bfd_elf_copy_obj_attributes() argument 351 || bfd_get_flavour (obfd) != bfd_target_elf_flavour) in _bfd_elf_copy_obj_attributes() 365 out_attr->s = _bfd_elf_attr_strdup (obfd, in_attr->s); in _bfd_elf_copy_obj_attributes() 381 bfd_elf_add_obj_attr_string (obfd, vendor, list->tag, in _bfd_elf_copy_obj_attributes() 574 _bfd_elf_merge_object_attributes (bfd *ibfd, bfd *obfd) in _bfd_elf_merge_object_attributes() argument 627 out_attr = elf_known_obj_attributes_proc (obfd); in _bfd_elf_merge_unknown_attribute_low() 630 err_bfd = obfd; in _bfd_elf_merge_unknown_attribute_low() 656 _bfd_elf_merge_unknown_attribute_list (bfd *ibfd, bfd *obfd) in _bfd_elf_merge_unknown_attribute_list() argument 664 out_listp = &elf_other_obj_attributes_proc (obfd); in _bfd_elf_merge_unknown_attribute_list() 678 err_bfd = obfd; in _bfd_elf_merge_unknown_attribute_list() [all …]
|
H A D | bfd.c | 2138 bfd_convert_section_size (bfd *ibfd, sec_ptr isec, bfd *obfd, in bfd_convert_section_size() argument 2149 || bfd_get_flavour (obfd) != bfd_target_elf_flavour) in bfd_convert_section_size() 2154 == get_elf_backend_data (obfd)->s->elfclass) in bfd_convert_section_size() 2189 bfd_convert_section_contents (bfd *ibfd, sec_ptr isec, bfd *obfd, in bfd_convert_section_contents() argument 2203 || bfd_get_flavour (obfd) != bfd_target_elf_flavour) in bfd_convert_section_contents() 2208 == get_elf_backend_data (obfd)->s->elfclass) in bfd_convert_section_contents() 2255 bfd_put_32 (obfd, ELFCOMPRESS_ZLIB, &echdr->ch_type); in bfd_convert_section_contents() 2256 bfd_put_32 (obfd, chdr.ch_size, &echdr->ch_size); in bfd_convert_section_contents() 2262 bfd_put_32 (obfd, ELFCOMPRESS_ZLIB, &echdr->ch_type); in bfd_convert_section_contents() 2263 bfd_put_32 (obfd, 0, &echdr->ch_reserved); in bfd_convert_section_contents() [all …]
|
H A D | opncls.c | 98 _bfd_new_bfd_contained_in (bfd *obfd) in _bfd_new_bfd_contained_in() argument 105 nbfd->xvec = obfd->xvec; in _bfd_new_bfd_contained_in() 106 nbfd->iovec = obfd->iovec; in _bfd_new_bfd_contained_in() 107 if (obfd->iovec == &opncls_iovec) in _bfd_new_bfd_contained_in() 108 nbfd->iostream = obfd->iostream; in _bfd_new_bfd_contained_in() 109 nbfd->my_archive = obfd; in _bfd_new_bfd_contained_in() 111 nbfd->target_defaulted = obfd->target_defaulted; in _bfd_new_bfd_contained_in() 112 nbfd->lto_output = obfd->lto_output; in _bfd_new_bfd_contained_in() 113 nbfd->no_export = obfd->no_export; in _bfd_new_bfd_contained_in()
|
/dragonfly/contrib/binutils-2.27/binutils/ |
H A D | arsup.c | 43 static bfd *obfd; variable 161 if (!obfd) in ar_open() 248 if (!obfd) in ar_addmod() 279 if (obfd) in ar_clear() 286 if (!obfd) in ar_delete() 328 if (!obfd) in ar_save() 343 obfd = 0; in ar_save() 351 if (!obfd) in ar_replace() 417 if (!obfd) in ar_list() 440 if (obfd) in ar_end() [all …]
|
H A D | objcopy.c | 1861 bfd_get_filename (obfd), bfd_get_target (obfd)); in copy_object() 2539 bfd *obfd; in copy_archive() member 2611 l->obfd = NULL; in copy_archive() 2629 l->obfd = NULL; in copy_archive() 2690 l->obfd = output_bfd; in copy_archive() 2726 bfd_close (l->obfd); in copy_archive() 2813 bfd *obfd; in copy_file() local 2826 if (obfd == NULL) in copy_file() 2839 bfd *obfd; in copy_file() local 2848 if (obfd == NULL) in copy_file() [all …]
|
H A D | ar.c | 1132 bfd *obfd; in write_archive() local 1145 obfd = bfd_openw (new_name, bfd_get_target (iarch)); in write_archive() 1147 if (obfd == NULL) in write_archive() 1150 output_bfd = obfd; in write_archive() 1152 bfd_set_format (obfd, bfd_archive); in write_archive() 1156 obfd->has_armap = write_armap >= 0; in write_archive() 1162 obfd->flags |= BFD_TRADITIONAL_FORMAT; in write_archive() 1166 obfd->flags |= BFD_DETERMINISTIC_OUTPUT; in write_archive() 1169 bfd_is_thin_archive (obfd) = 1; in write_archive() 1171 if (!bfd_set_archive_head (obfd, contents_head)) in write_archive() [all …]
|
/dragonfly/contrib/binutils-2.34/binutils/ |
H A D | arsup.c | 43 static bfd *obfd; variable 168 if (!obfd) in ar_open() 255 if (!obfd) in ar_addmod() 291 if (obfd) in ar_clear() 298 if (!obfd) in ar_delete() 340 if (!obfd) in ar_save() 355 obfd = 0; in ar_save() 363 if (!obfd) in ar_replace() 429 if (!obfd) in ar_list() 452 if (obfd) in ar_end() [all …]
|
H A D | objcopy.c | 2621 bfd_get_filename (obfd), bfd_get_target (obfd)); in copy_object() 3306 (NULL, obfd, osec, in copy_object() 3315 (NULL, obfd, osec, in copy_object() 3445 bfd *obfd; in copy_archive() member 3540 l->obfd = NULL; in copy_archive() 3558 l->obfd = NULL; in copy_archive() 3654 if (l->obfd == NULL) in copy_archive() 3748 bfd *obfd; in copy_file() local 3761 if (obfd == NULL) in copy_file() 3782 bfd *obfd; in copy_file() local [all …]
|
H A D | ar.c | 1195 bfd *obfd; in write_archive() local 1210 if (obfd == NULL) in write_archive() 1213 output_bfd = obfd; in write_archive() 1215 bfd_set_format (obfd, bfd_archive); in write_archive() 1219 obfd->has_armap = write_armap >= 0; in write_archive() 1225 obfd->flags |= BFD_TRADITIONAL_FORMAT; in write_archive() 1229 obfd->flags |= BFD_DETERMINISTIC_OUTPUT; in write_archive() 1232 obfd->flags |= BFD_ARCHIVE_FULL_PATH; in write_archive() 1235 bfd_set_thin_archive (obfd, TRUE); in write_archive() 1237 if (!bfd_set_archive_head (obfd, contents_head)) in write_archive() [all …]
|
/dragonfly/contrib/gdb-7/bfd/ |
H A D | elf-attrs.c | 342 _bfd_elf_copy_obj_attributes (bfd *ibfd, bfd *obfd) in _bfd_elf_copy_obj_attributes() argument 351 || bfd_get_flavour (obfd) != bfd_target_elf_flavour) in _bfd_elf_copy_obj_attributes() 365 out_attr->s = _bfd_elf_attr_strdup (obfd, in_attr->s); in _bfd_elf_copy_obj_attributes() 381 bfd_elf_add_obj_attr_string (obfd, vendor, list->tag, in _bfd_elf_copy_obj_attributes() 554 _bfd_elf_merge_object_attributes (bfd *ibfd, bfd *obfd) in _bfd_elf_merge_object_attributes() argument 607 out_attr = elf_known_obj_attributes_proc (obfd); in _bfd_elf_merge_unknown_attribute_low() 610 err_bfd = obfd; in _bfd_elf_merge_unknown_attribute_low() 636 _bfd_elf_merge_unknown_attribute_list (bfd *ibfd, bfd *obfd) in _bfd_elf_merge_unknown_attribute_list() argument 644 out_listp = &elf_other_obj_attributes_proc (obfd); in _bfd_elf_merge_unknown_attribute_list() 658 err_bfd = obfd; in _bfd_elf_merge_unknown_attribute_list() [all …]
|
/dragonfly/contrib/gdb-7/gdb/cli/ |
H A D | cli-dump.c | 131 bfd *obfd; in bfd_openw_with_cleanup() local 135 obfd = gdb_bfd_openw (filename, target); in bfd_openw_with_cleanup() 136 if (obfd == NULL) in bfd_openw_with_cleanup() 139 make_cleanup_bfd_unref (obfd); in bfd_openw_with_cleanup() 140 if (!bfd_set_format (obfd, bfd_object)) in bfd_openw_with_cleanup() 150 return obfd; in bfd_openw_with_cleanup() 193 bfd *obfd; in dump_bfd_file() local 197 osection = bfd_make_section_anyway (obfd, ".newsec"); in dump_bfd_file() 198 bfd_set_section_size (obfd, osection, len); in dump_bfd_file() 199 bfd_set_section_vma (obfd, osection, vaddr); in dump_bfd_file() [all …]
|
/dragonfly/contrib/binutils-2.27/ld/ |
H A D | ldmain.c | 918 bfd *obfd; in multiple_definition() local 935 obfd = NULL; in multiple_definition() 965 nbfd = obfd; in multiple_definition() 968 obfd = NULL; in multiple_definition() 972 if (obfd != NULL) in multiple_definition() 995 bfd *obfd; in multiple_common() local 1020 obfd = NULL; in multiple_common() 1031 if (obfd != NULL) in multiple_common() 1051 if (obfd != NULL) in multiple_common() 1058 if (obfd != NULL) in multiple_common() [all …]
|
/dragonfly/contrib/binutils-2.34/ld/ |
H A D | ldmain.c | 952 bfd *obfd; in multiple_definition() local 969 obfd = NULL; in multiple_definition() 1000 nbfd = obfd; in multiple_definition() 1003 obfd = NULL; in multiple_definition() 1007 if (obfd != NULL) in multiple_definition() 1031 bfd *obfd; in multiple_common() local 1056 obfd = NULL; in multiple_common() 1065 if (obfd != NULL) in multiple_common() 1091 if (obfd != NULL) in multiple_common() 1102 if (obfd != NULL) in multiple_common() [all …]
|