Searched refs:ibfd (Results 1 - 25 of 35) sorted by relevance

12

/freebsd-11-stable/contrib/binutils/bfd/
H A Delf32-sparc.c70 elf32_sparc_merge_private_bfd_data (bfd *ibfd, bfd *obfd) argument
77 if (bfd_get_flavour (ibfd) != bfd_target_elf_flavour
83 ibfd_mach = bfd_get_mach (ibfd);
88 (_("%B: compiled for a 64 bit system and target is 32 bit"), ibfd);
90 else if ((ibfd->flags & DYNAMIC) == 0)
96 if (((elf_elfheader (ibfd)->e_flags & EF_SPARC_LEDATA)
101 (_("%B: linking little endian files with big endian files"), ibfd);
104 previous_ibfd_e_flags = elf_elfheader (ibfd)->e_flags & EF_SPARC_LEDATA;
H A Delf32-spu.c400 bfd *ibfd)
402 Elf_Internal_Shdr *symtab_hdr = &elf_tdata (ibfd)->symtab_hdr;
406 struct elf_link_hash_entry **sym_hashes = elf_sym_hashes (ibfd);
446 locsyms = bfd_elf_get_elf_syms (ibfd, symtab_hdr, symcount, 0,
467 symsec = bfd_section_from_elf_index (ibfd, sym->st_shndx);
529 bfd *ibfd; local
536 for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd
395 get_sym_h(struct elf_link_hash_entry **hp, Elf_Internal_Sym **symp, asection **symsecp, Elf_Internal_Sym **locsymsp, unsigned long r_symndx, bfd *ibfd) argument
859 bfd *ibfd; local
1737 bfd *ibfd; local
2102 bfd *ibfd; local
2375 bfd *ibfd; local
2576 bfd *ibfd; local
[all...]
H A Delf-attrs.c353 _bfd_elf_copy_obj_attributes (bfd *ibfd, bfd *obfd) argument
363 in_attr = &elf_known_obj_attributes (ibfd)[vendor][4];
375 for (list = elf_other_obj_attributes (ibfd)[vendor];
559 _bfd_elf_merge_object_attributes (bfd *ibfd, bfd *obfd) argument
571 in_list = elf_other_obj_attributes (ibfd)[vendor];
572 out_list = elf_other_obj_attributes (ibfd)[vendor];
582 ibfd, in_attr->s);
602 ibfd, in_attr->s, in_attr->i);
621 ibfd, in_attr->s, out_list->attr.i);
H A Dcpu-arm.c156 bfd_arm_merge_machines (bfd *ibfd, bfd *obfd) argument
158 unsigned int in = bfd_get_mach (ibfd);
190 ibfd, obfd);
201 obfd, ibfd);
H A Dcoff-arm.c2152 bfd *ibfd,
2161 h = obj_coff_sym_hashes (ibfd)[irel->r_symndx];
2178 coff_arm_merge_private_bfd_data (bfd * ibfd, bfd * obfd)
2180 BFD_ASSERT (ibfd != NULL && obfd != NULL);
2182 if (ibfd == obfd)
2188 if ( ibfd->xvec->flavour != bfd_target_coff_flavour
2194 if (! bfd_arm_merge_machines (ibfd, obfd))
2198 if (APCS_SET (ibfd))
2203 if (APCS_26_FLAG (obfd) != APCS_26_FLAG (ibfd))
2208 ibfd, obf
2148 coff_arm_adjust_symndx(bfd *obfd ATTRIBUTE_UNUSED, struct bfd_link_info *info ATTRIBUTE_UNUSED, bfd *ibfd, asection *sec, struct internal_reloc *irel, bfd_boolean *adjustedp) argument
2176 coff_arm_merge_private_bfd_data(bfd * ibfd, bfd * obfd) argument
[all...]
H A Delf32-ppc.c2137 bfd *ibfd;
2155 for (ibfd = link_info->input_bfds; ibfd; ibfd = ibfd->link_next)
2157 asec = bfd_get_section_by_name (ibfd, APUINFO_SECTION_NAME);
2184 for (ibfd = link_info->input_bfds; ibfd; ibfd = ibfd
2133 bfd *ibfd; local
3682 ppc_elf_merge_obj_attributes(bfd *ibfd, bfd *obfd) argument
3738 ppc_elf_merge_private_bfd_data(bfd *ibfd, bfd *obfd) argument
3848 bfd *ibfd; local
4086 branch_reloc_hash_match(const bfd *ibfd, const Elf_Internal_Rela *rel, const struct elf_link_hash_entry *hash) argument
4126 bfd *ibfd; local
4920 bfd *ibfd; local
[all...]
H A Delf32-mep.c752 mep_elf_copy_private_bfd_data (bfd * ibfd, bfd * obfd)
754 if (bfd_get_flavour (ibfd) != bfd_target_elf_flavour
758 elf_elfheader (obfd)->e_flags = elf_elfheader (ibfd)->e_flags;
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)
781 new_flags = elf_elfheader (ibfd)->e_flags;
786 ibfd, old_flags, new_flags, elf_flags_init (obfd) ? "yes" : "no");
816 _bfd_error_handler (_("%B and %B are for different cores"), last_ibfd, ibfd);
833 _bfd_error_handler (_("%B and %B are for different configurations"), last_ibfd, ibfd);
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 Delf64-ppc.c2596 ppc64_elf_merge_private_bfd_data (bfd *ibfd, bfd *obfd)
2599 if (ibfd->xvec->byteorder != obfd->xvec->byteorder
2600 && ibfd->xvec->byteorder != BFD_ENDIAN_UNKNOWN
2605 if (bfd_big_endian (ibfd))
2612 (*_bfd_error_handler) (msg, ibfd);
4212 ppc64_elf_add_symbol_hook (bfd *ibfd ATTRIBUTE_UNUSED,
4221 && strcmp (bfd_get_section_name (ibfd, *sec), ".opd") == 0)
4329 ppc64_elf_check_directives (bfd *ibfd, struct bfd_link_info *info)
4338 if (is_ppc64_elf_target (ibfd->xvec))
4372 ppc64_elf_as_needed_cleanup (bfd *ibfd ATTRIBUTE_UNUSE
2594 ppc64_elf_merge_private_bfd_data(bfd *ibfd, bfd *obfd) argument
4325 ppc64_elf_check_directives(bfd *ibfd, struct bfd_link_info *info) argument
6086 get_sym_h(struct elf_link_hash_entry **hp, Elf_Internal_Sym **symp, asection **symsecp, char **tls_maskp, Elf_Internal_Sym **locsymsp, unsigned long r_symndx, bfd *ibfd) argument
6186 get_tls_mask(char **tls_maskp, unsigned long *toc_symndx, bfd_vma *toc_addend, Elf_Internal_Sym **locsymsp, const Elf_Internal_Rela *rel, bfd *ibfd) argument
6358 bfd *ibfd = sec->owner; local
6433 bfd *ibfd; local
6856 branch_reloc_hash_match(const bfd *ibfd, const Elf_Internal_Rela *rel, const struct ppc_link_hash_entry *hash1, const struct ppc_link_hash_entry *hash2) argument
6898 bfd *ibfd; local
7327 bfd *ibfd; local
7989 bfd *ibfd; local
[all...]
H A Delf.c331 bfd_elf_get_elf_syms (bfd *ibfd, argument
356 if (symtab_hdr == &elf_tdata (ibfd)->symtab_hdr)
357 shndx_hdr = &elf_tdata (ibfd)->symtab_shndx_hdr;
362 bed = get_elf_backend_data (ibfd);
372 || bfd_seek (ibfd, pos, SEEK_SET) != 0
373 || bfd_bread (extsym_buf, amt, ibfd) != amt)
392 || bfd_seek (ibfd, pos, SEEK_SET) != 0
393 || bfd_bread (extshndx_buf, amt, ibfd) != amt)
412 if (!(*bed->s->swap_symbol_in) (ibfd, esym, shndx, isym))
417 ibfd, (unsigne
1063 bfd *ibfd; local
1107 _bfd_elf_copy_private_bfd_data(bfd *ibfd, bfd *obfd) argument
5242 rewrite_elf_program_header(bfd *ibfd, bfd *obfd) argument
5850 copy_elf_program_header(bfd *ibfd, bfd *obfd) argument
5970 copy_private_bfd_data(bfd *ibfd, bfd *obfd) argument
6055 _bfd_elf_init_private_section_data(bfd *ibfd, asection *isec, bfd *obfd, asection *osec, struct bfd_link_info *link_info) argument
6118 _bfd_elf_copy_private_section_data(bfd *ibfd, asection *isec, bfd *obfd, asection *osec) argument
6147 _bfd_elf_copy_private_header_data(bfd *ibfd, bfd *obfd) argument
6203 _bfd_elf_copy_private_symbol_data(bfd *ibfd, asymbol *isymarg, bfd *obfd, asymbol *osymarg) argument
[all...]
H A Delf64-sparc.c631 elf64_sparc_merge_private_bfd_data (bfd *ibfd, bfd *obfd)
637 if (bfd_get_flavour (ibfd) != bfd_target_elf_flavour
641 new_flags = elf_elfheader (ibfd)->e_flags;
660 if ((ibfd->flags & DYNAMIC) != 0)
680 ibfd);
699 ibfd, (long) new_flags, (long) old_flags);
629 elf64_sparc_merge_private_bfd_data(bfd *ibfd, bfd *obfd) argument
H A Dlibbfd.c942 _bfd_generic_verify_endian_match (bfd *ibfd, bfd *obfd)
944 if (ibfd->xvec->byteorder != obfd->xvec->byteorder
945 && ibfd->xvec->byteorder != BFD_ENDIAN_UNKNOWN
950 if (bfd_big_endian (ibfd))
955 (*_bfd_error_handler) (msg, ibfd);
1058 _bfd_generic_init_private_section_data (bfd *ibfd ATTRIBUTE_UNUSED,
939 _bfd_generic_verify_endian_match(bfd *ibfd, bfd *obfd) argument
H A Delf32-arm.c6659 elf32_arm_copy_private_bfd_data (bfd *ibfd, bfd *obfd) argument
6664 if ( bfd_get_flavour (ibfd) != bfd_target_elf_flavour
6668 in_flags = elf_elfheader (ibfd)->e_flags;
6690 obfd, ibfd);
6705 elf_elfheader (ibfd)->e_ident[EI_OSABI];
6708 _bfd_elf_copy_obj_attributes (ibfd, obfd);
6758 elf32_arm_merge_eabi_attributes (bfd *ibfd, bfd *obfd) argument
6771 _bfd_elf_copy_obj_attributes (ibfd, obfd);
6780 in_attr = elf_known_obj_attributes_proc (ibfd);
6794 hasbfd = ibfd;
7012 elf32_arm_merge_private_bfd_data(bfd * ibfd, bfd * obfd) argument
8543 bfd *ibfd; local
[all...]
H A Dlibcoff.h917 #define bfd_coff_relocate_section(obfd,info,ibfd,o,con,rel,isyms,secs)\
918 ((coff_backend_info (ibfd)->_bfd_coff_relocate_section)\
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))
H A Daout-target.h214 MY_bfd_copy_private_section_data (bfd *ibfd, argument
219 if (bfd_get_flavour (ibfd) == bfd_target_aout_flavour
221 obj_aout_subformat (obfd) = obj_aout_subformat (ibfd);
H A Daoutf1.h79 sunos_merge_private_bfd_data (bfd *ibfd, bfd *obfd) argument
81 if (bfd_get_flavour (ibfd) != bfd_target_aout_flavour
87 if (bfd_get_mach (obfd) < bfd_get_mach (ibfd))
88 bfd_set_arch_mach (obfd, bfd_arch_sparc, bfd_get_mach (ibfd));
H A Delf-eh-frame.c1195 bfd *ibfd; local
1199 for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->link_next)
1201 if (bfd_get_flavour (ibfd) != bfd_target_elf_flavour
1202 || (ibfd->flags & DYNAMIC) != 0)
1205 eh = bfd_get_section_by_name (ibfd, ".eh_frame");
H A Delfxx-mips.c2439 mips_elf_local_got_index (bfd *abfd, bfd *ibfd, struct bfd_link_info *info,
2449 entry = mips_elf_create_local_got_entry (abfd, info, ibfd, g, sgot,
2472 mips_elf_global_got_index (bfd *abfd, bfd *ibfd, struct elf_link_hash_entry *h,
2481 if (g->bfd2got && ibfd)
2487 g = mips_elf_got_for_ibfd (g, ibfd);
2490 e.abfd = ibfd;
2558 mips_elf_got_page (bfd *abfd, bfd *ibfd, struct bfd_link_info *info,
2569 entry = mips_elf_create_local_got_entry (abfd, info, ibfd, g, sgot,
2588 mips_elf_got16_entry (bfd *abfd, bfd *ibfd, struct bfd_link_info *info,
2604 entry = mips_elf_create_local_got_entry (abfd, info, ibfd,
2426 mips_elf_local_got_index(bfd *abfd, bfd *ibfd, struct bfd_link_info *info, bfd_vma value, unsigned long r_symndx, struct mips_elf_link_hash_entry *h, int r_type) argument
2459 mips_elf_global_got_index(bfd *abfd, bfd *ibfd, struct elf_link_hash_entry *h, int r_type, struct bfd_link_info *info) argument
2545 mips_elf_got_page(bfd *abfd, bfd *ibfd, struct bfd_link_info *info, bfd_vma value, bfd_vma *offsetp) argument
2575 mips_elf_got16_entry(bfd *abfd, bfd *ibfd, struct bfd_link_info *info, bfd_vma value, bfd_boolean external) argument
2623 mips_elf_create_local_got_entry(bfd *abfd, struct bfd_link_info *info, bfd *ibfd, struct mips_got_info *gg, asection *sgot, bfd_vma value, unsigned long r_symndx, struct mips_elf_link_hash_entry *h, int r_type) argument
2978 mips_elf_got_for_ibfd(struct mips_got_info *g, bfd *ibfd) argument
3368 mips_elf_adjust_gp(bfd *abfd, struct mips_got_info *g, bfd *ibfd) argument
10982 mips_elf_merge_obj_attributes(bfd *ibfd, bfd *obfd) argument
11089 _bfd_mips_elf_merge_private_bfd_data(bfd *ibfd, bfd *obfd) argument
[all...]
H A Dpeicode.h349 pe_bfd_copy_private_bfd_data (bfd *ibfd, bfd *obfd)
355 && pe_data (ibfd) != NULL
356 && pe_data (ibfd)->real_flags & IMAGE_FILE_LARGE_ADDRESS_AWARE)
359 if (!_bfd_XX_bfd_copy_private_bfd_data_common (ibfd, obfd))
363 return pe_saved_coff_bfd_copy_private_bfd_data (ibfd, obfd);
348 pe_bfd_copy_private_bfd_data(bfd *ibfd, bfd *obfd) argument
H A Dbfd-in2.h1734 (bfd *ibfd, asection *isec, bfd *obfd, asection *osec);
1736 #define bfd_copy_private_section_data(ibfd, isection, obfd, osection) \
1738 (ibfd, isection, obfd, osection))
4580 (bfd *ibfd, asymbol *isym, bfd *obfd, asymbol *osym);
4582 #define bfd_copy_private_symbol_data(ibfd, isymbol, obfd, osymbol) \
4584 (ibfd, isymbol, obfd, osymbol))
4817 bfd_boolean bfd_copy_private_header_data (bfd *ibfd, bfd *obfd);
4819 #define bfd_copy_private_header_data(ibfd, obfd) \
4821 (ibfd, obfd))
4822 bfd_boolean bfd_copy_private_bfd_data (bfd *ibfd, bf
[all...]
H A DpeXXigen.c2007 _bfd_XX_bfd_copy_private_bfd_data_common (bfd * ibfd, bfd * obfd)
2010 if (ibfd->xvec->flavour != bfd_target_coff_flavour
2014 pe_data (obfd)->pe_opthdr = pe_data (ibfd)->pe_opthdr;
2015 pe_data (obfd)->dll = pe_data (ibfd)->dll;
2030 _bfd_XX_bfd_copy_private_section_data (bfd *ibfd,
2035 if (bfd_get_flavour (ibfd) != bfd_target_coff_flavour
2039 if (coff_section_data (ibfd, isec) != NULL
2040 && pei_section_data (ibfd, isec) != NULL)
2059 pei_section_data (ibfd, isec)->virt_size;
2061 pei_section_data (ibfd, ise
2006 _bfd_XX_bfd_copy_private_bfd_data_common(bfd * ibfd, bfd * obfd) argument
2029 _bfd_XX_bfd_copy_private_section_data(bfd *ibfd, asection *isec, bfd *obfd, asection *osec) argument
[all...]
/freebsd-11-stable/contrib/binutils/binutils/
H A Dobjcopy.c1249 copy_unknown_object (bfd *ibfd, bfd *obfd)
1257 if (bfd_stat_arch_elt (ibfd, &buf) != 0)
1259 bfd_nonfatal (bfd_get_archive_filename (ibfd));
1267 bfd_get_archive_filename (ibfd));
1271 if (bfd_seek (ibfd, (file_ptr) 0, SEEK_SET) != 0)
1273 bfd_nonfatal (bfd_get_archive_filename (ibfd));
1279 bfd_get_archive_filename (ibfd), bfd_get_filename (obfd));
1289 if (bfd_bread (cbuf, (bfd_size_type) tocopy, ibfd)
1292 bfd_nonfatal (bfd_get_archive_filename (ibfd));
1317 copy_object (bfd *ibfd, bf
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
1975 bfd *ibfd; local
2131 setup_bfd_headers(bfd *ibfd, bfd *obfd) argument
2157 setup_section(bfd *ibfd, sec_ptr isection, void *obfdarg) argument
2316 copy_section(bfd *ibfd, sec_ptr isection, void *obfdarg) argument
2530 mark_symbols_used_in_relocations(bfd *ibfd, sec_ptr isection, void *symbolsarg) argument
[all...]
H A Darsup.c174 bfd *ibfd; local
176 ibfd = bfd_openr (name, NULL);
178 if (!ibfd)
186 if (!bfd_check_format(ibfd, bfd_archive))
196 element = bfd_openr_next_archived_file (ibfd, NULL);
202 element = bfd_openr_next_archived_file (ibfd, element);
/freebsd-11-stable/contrib/gdb/gdb/cli/
H A Dcli-dump.c133 bfd *ibfd; local
135 ibfd = bfd_openr (filename, target);
136 if (ibfd == NULL)
140 make_cleanup_bfd_close (ibfd);
141 if (!bfd_check_format (ibfd, bfd_object))
144 return ibfd;
454 restore_section_callback (bfd *ibfd, asection *isec, void *args) argument
457 bfd_vma sec_start = bfd_section_vma (ibfd, isec);
458 bfd_size_type size = bfd_section_size (ibfd, isec);
467 if (!(bfd_get_section_flags (ibfd, ise
573 bfd *ibfd; local
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dgcore.c405 bfd *ibfd = objfile->obfd; local
407 flagword flags = bfd_get_section_flags (ibfd, isec);
412 int size = bfd_section_size (ibfd, isec);
415 ret = (*func) (objsec->addr, bfd_section_size (ibfd, isec),
/freebsd-11-stable/gnu/usr.bin/binutils/libbfd/
H A Dbfd.h1740 (bfd *ibfd, asection *isec, bfd *obfd, asection *osec);
1742 #define bfd_copy_private_section_data(ibfd, isection, obfd, osection) \
1744 (ibfd, isection, obfd, osection))
4587 (bfd *ibfd, asymbol *isym, bfd *obfd, asymbol *osym);
4589 #define bfd_copy_private_symbol_data(ibfd, isymbol, obfd, osymbol) \
4591 (ibfd, isymbol, obfd, osymbol))
4824 bfd_boolean bfd_copy_private_header_data (bfd *ibfd, bfd *obfd);
4826 #define bfd_copy_private_header_data(ibfd, obfd) \
4828 (ibfd, obfd))
4829 bfd_boolean bfd_copy_private_bfd_data (bfd *ibfd, bf
[all...]

Completed in 588 milliseconds

12