| /freebsd-12.1/contrib/binutils/bfd/ |
| H A D | reloc.c | 1335 bfd *input_bfd, in _bfd_final_link_relocate() argument 1380 bfd *input_bfd, in _bfd_relocate_contents() argument 1403 x = bfd_get_8 (input_bfd, location); in _bfd_relocate_contents() 1527 bfd_put_8 (input_bfd, x, location); in _bfd_relocate_contents() 1530 bfd_put_16 (input_bfd, x, location); in _bfd_relocate_contents() 1533 bfd_put_32 (input_bfd, x, location); in _bfd_relocate_contents() 1537 bfd_put_64 (input_bfd, x, location); in _bfd_relocate_contents() 1554 bfd *input_bfd, in _bfd_clear_contents() argument 1568 x = bfd_get_8 (input_bfd, location); in _bfd_clear_contents() 1595 bfd_put_8 (input_bfd, x, location); in _bfd_clear_contents() [all …]
|
| H A D | coff-alpha.c | 1272 bfd *input_bfd; 1390 bfd *input_bfd; 1560 input_bfd); 1567 input_bfd); 1574 input_bfd, (int) r_type); 1638 insn = bfd_get_32 (input_bfd, 1774 input_bfd, 1839 bfd_put_64 (input_bfd, val, 1902 input_bfd, 1973 input_bfd, [all …]
|
| H A D | elf32-cr16.c | 481 bfd *input_bfd, in cr16_elf_final_link_relocate() argument 602 bfd_put_16 (input_bfd, Rvalue, hit_data); in cr16_elf_final_link_relocate() 610 | (bfd_get_16 (input_bfd, hit_data + 2))) in cr16_elf_final_link_relocate() 627 | (bfd_get_16 (input_bfd, hit_data))) in cr16_elf_final_link_relocate() 635 | (bfd_get_16 (input_bfd, hit_data))) in cr16_elf_final_link_relocate() 643 | (bfd_get_16 (input_bfd, hit_data))) in cr16_elf_final_link_relocate() 651 | (bfd_get_32 (input_bfd, hit_data)); in cr16_elf_final_link_relocate() 809 symtab_hdr = &elf_tdata (input_bfd)->symtab_hdr; in elf32_cr16_relocate_section() 810 sym_hashes = elf_sym_hashes (input_bfd); in elf32_cr16_relocate_section() 928 bfd *input_bfd = input_section->owner; in elf32_cr16_get_relocated_section_contents() local [all …]
|
| H A D | pe-mips.c | 587 bfd *input_bfd, in coff_pe_mips_relocate_section() argument 687 if (! obj_pe (input_bfd)) in coff_pe_mips_relocate_section() 722 input_bfd, x); \ in coff_pe_mips_relocate_section() 736 tmp = bfd_get_32 (input_bfd, mem); in coff_pe_mips_relocate_section() 739 bfd_put_32 (input_bfd, tmp, mem); in coff_pe_mips_relocate_section() 743 tmp = bfd_get_32 (input_bfd, mem); in coff_pe_mips_relocate_section() 753 bfd_put_32 (input_bfd, tmp, mem); in coff_pe_mips_relocate_section() 774 input_bfd); in coff_pe_mips_relocate_section() 780 bfd_put_32 (input_bfd, tmp, mem); in coff_pe_mips_relocate_section() 789 bfd_put_32 (input_bfd, tmp, mem); in coff_pe_mips_relocate_section() [all …]
|
| H A D | coff-mips.c | 799 bfd *input_bfd; 811 insn = bfd_get_32 (input_bfd, 816 vallo = (bfd_get_32 (input_bfd, 835 bfd_put_32 (input_bfd, (bfd_vma) insn, 846 bfd *input_bfd; 862 BFD_ASSERT (input_bfd->xvec->byteorder 1002 input_bfd, input_section, 1212 (info, h->root.root.string, input_bfd, 1235 input_bfd, 1246 input_bfd, input_section, contents, [all …]
|
| H A D | cofflink.c | 1315 (input_bfd, a, FALSE, in mark_relocs() 1675 bfd_release (input_bfd, mt); in _bfd_coff_link_input_bfd() 1711 bfd_release (input_bfd, mt); in _bfd_coff_link_input_bfd() 1764 if (obj_pe (input_bfd) in _bfd_coff_link_input_bfd() 1791 if (! obj_pe (input_bfd)) in _bfd_coff_link_input_bfd() 2293 input_bfd, o); in _bfd_coff_link_input_bfd() 2333 input_bfd, o, in _bfd_coff_link_input_bfd() 2367 input_bfd, o, irel, in _bfd_coff_link_input_bfd() 2412 (input_bfd, is, buf)); in _bfd_coff_link_input_bfd() 2827 bfd *input_bfd, in _bfd_coff_generic_relocate_section() argument [all …]
|
| H A D | reloc16.c | 147 bfd *input_bfd = input_section->owner; local 150 long reloc_size = bfd_get_reloc_upper_bound (input_bfd, input_section); 167 bfd_canonicalize_reloc (input_bfd, input_section, reloc_vector, 168 _bfd_generic_link_get_symbols (input_bfd)); 254 bfd *input_bfd = link_order->u.indirect.section->owner; local 256 long reloc_size = bfd_get_reloc_upper_bound (input_bfd, input_section); 273 if (!bfd_get_section_contents (input_bfd, input_section, data, 0, sz)) 280 reloc_count = bfd_canonicalize_reloc (input_bfd, 323 bfd_coff_reloc16_extra_cases (input_bfd, link_info, link_order,
|
| H A D | aoutx.h | 3866 bfd *input_bfd, in aout_link_input_section_std() argument 4090 input_bfd, relocation, in aout_link_input_section_std() 4164 input_bfd, input_section, in aout_link_input_section_std() 4210 bfd *input_bfd, in aout_link_input_section_ext() argument 4483 r_section = obj_bsssec (input_bfd); in aout_link_input_section_ext() 4566 input_bfd, input_section, in aout_link_input_section_ext() 4624 bfd *input_bfd, in aout_link_input_section() argument 5197 (finfo->info, input_bfd)); in aout_link_input_bfd() 5218 obj_textsec (input_bfd), in aout_link_input_bfd() 5226 obj_datasec (input_bfd), in aout_link_input_bfd() [all …]
|
| H A D | elf32-score.c | 1101 score_elf_local_relocation_p (bfd *input_bfd, in score_elf_local_relocation_p() argument 1836 bfd *input_bfd, in score_elf_final_link_relocate() argument 1967 output_bfd, input_bfd, g); in score_elf_final_link_relocate() 1973 gp0 = _bfd_get_gp_value (input_bfd); in score_elf_final_link_relocate() 2017 bfd_put_32 (input_bfd, value, hit_data); in score_elf_final_link_relocate() 2024 bfd_put_16 (input_bfd, value, hit_data); in score_elf_final_link_relocate() 2099 bfd_put_32 (input_bfd, value, hit_data); in score_elf_final_link_relocate() 2111 bfd_put_32 (input_bfd, value, hit_data); in score_elf_final_link_relocate() 2129 output_bfd, input_bfd, value); in score_elf_final_link_relocate() 2194 bfd *input_bfd, in _bfd_score_elf_relocate_section() argument [all …]
|
| H A D | elf32-mep.c | 232 bfd * input_bfd, in mep_final_link_relocate() argument 245 if (bfd_big_endian (input_bfd)) in mep_final_link_relocate() 482 bfd * input_bfd, in mep_elf_relocate_section() argument 494 symtab_hdr = & elf_tdata (input_bfd)->symtab_hdr; in mep_elf_relocate_section() 495 sym_hashes = elf_sym_hashes (input_bfd); in mep_elf_relocate_section() 520 input_bfd, input_section, contents, in mep_elf_relocate_section() 537 (input_bfd, symtab_hdr->sh_link, sym->st_name); in mep_elf_relocate_section() 581 (info, h->root.root.string, input_bfd, in mep_elf_relocate_section() 616 r = mep_final_link_relocate (howto, input_bfd, input_section, in mep_elf_relocate_section() 630 input_bfd, input_section, rel->r_offset); in mep_elf_relocate_section() [all …]
|
| H A D | elf32-i386.c | 2202 bfd *input_bfd, in elf_i386_relocate_section() argument 2253 input_bfd, input_section, r_type); in elf_i386_relocate_section() 2475 input_bfd, h->root.root.string); in elf_i386_relocate_section() 2656 BFD_ASSERT (bfd_get_8 (input_bfd, in elf_i386_relocate_section() 2662 val = bfd_get_8 (input_bfd, in elf_i386_relocate_section() 2682 && bfd_get_8 (input_bfd, in elf_i386_relocate_section() 2792 type = bfd_get_8 (input_bfd, in elf_i386_relocate_section() 3057 BFD_ASSERT (bfd_get_8 (input_bfd, in elf_i386_relocate_section() 3070 BFD_ASSERT (bfd_get_8 (input_bfd, in elf_i386_relocate_section() 3306 input_bfd, in elf_i386_relocate_section() [all …]
|
| H A D | elf32-arm.c | 4031 bfd * input_bfd, in elf32_thumb_to_arm_stub() argument 4075 sym_sec->owner, input_bfd, name); in elf32_thumb_to_arm_stub() 4124 tmp = bfd_get_32 (input_bfd, hit_data in elf32_thumb_to_arm_stub() 4232 bfd * input_bfd, in elf32_arm_to_thumb_stub() argument 4643 (input_bfd, in elf32_arm_final_link_relocate() 4762 input_bfd, in elf32_arm_final_link_relocate() 5061 input_bfd, in elf32_arm_final_link_relocate() 5752 input_bfd, input_section, in elf32_arm_final_link_relocate() 6431 input_bfd, input_section, in elf32_arm_relocate_section() 6521 input_bfd, in elf32_arm_relocate_section() [all …]
|
| H A D | coff-arm.c | 1018 bfd *input_bfd) in find_thumb_glue() argument 1036 input_bfd, tmp_name, name); in find_thumb_glue() 1047 bfd *input_bfd) in find_arm_glue() argument 1065 input_bfd, tmp_name, name); in find_arm_glue() 1164 bfd *input_bfd, in coff_arm_relocate_section() argument 1368 h_sec->owner, input_bfd, name); in coff_arm_relocate_section() 1459 h_sec->owner, input_bfd, name); in coff_arm_relocate_section() 1642 if (bfd_big_endian (input_bfd)) in coff_arm_relocate_section() 1678 if (bfd_big_endian (input_bfd)) in coff_arm_relocate_section() 1695 bfd_put_32 (input_bfd, x, location); in coff_arm_relocate_section() [all …]
|
| H A D | ecofflink.c | 357 bfd *input_bfd; member 413 bfd *input_bfd; 421 && (*tail)->u.file.input_bfd == input_bfd 441 n->u.file.input_bfd = input_bfd; 587 bfd *input_bfd; 926 input_bfd, pos, 965 input_bfd, pos, size)) 975 input_bfd, pos, size)) 1120 output_swap, input_bfd, info) in bfd_ecoff_debug_accumulate_other() argument 1125 bfd *input_bfd; [all …]
|
| H A D | elfxx-mips.c | 3992 && ! NEWABI_P (input_bfd)) in mips_elf_calculate_relocation() 4242 input_bfd); in mips_elf_calculate_relocation() 4664 input_bfd, in mips_elf_perform_relocation() 7743 NEWABI_P (input_bfd) in _bfd_mips_elf_relocate_section() 7901 input_bfd, contents); in _bfd_mips_elf_relocate_section() 7988 input_bfd, input_section, in _bfd_mips_elf_relocate_section() 8111 input_bfd, input_section, in _bfd_mips_elf_relocate_section() 10041 if (abfd && input_bfd in _bfd_elf_mips_get_relocated_section_contents() 10342 bfd *input_bfd; in _bfd_mips_elf_final_link() local 10458 bfd *input_bfd; in _bfd_mips_elf_final_link() local [all …]
|
| H A D | coff-rs6000.c | 2769 bfd *input_bfd ATTRIBUTE_UNUSED; in xcoff_reloc_type_noop() 2786 bfd *input_bfd; in xcoff_reloc_type_fail() 2807 bfd *input_bfd ATTRIBUTE_UNUSED; in xcoff_reloc_type_pos() 2825 bfd *input_bfd ATTRIBUTE_UNUSED; in xcoff_reloc_type_neg() 2843 bfd *input_bfd ATTRIBUTE_UNUSED; in xcoff_reloc_type_rel() 2868 bfd *input_bfd; in xcoff_reloc_type_toc() 2933 bfd *input_bfd; in xcoff_reloc_type_br() 3048 bfd *input_bfd; in xcoff_complain_overflow_bitfield_func() 3124 bfd *input_bfd; in xcoff_complain_overflow_signed_func() 3186 bfd *input_bfd; in xcoff_complain_overflow_unsigned_func() [all …]
|
| H A D | elf64-x86-64.c | 2060 sym_hashes = elf_sym_hashes (input_bfd); in elf64_x86_64_relocate_section() 2272 input_bfd, h->root.root.string); in elf64_x86_64_relocate_section() 2356 input_bfd, h->root.root.string); in elf64_x86_64_relocate_section() 2538 BFD_ASSERT (bfd_get_8 (input_bfd, in elf64_x86_64_relocate_section() 2543 BFD_ASSERT (bfd_get_8 (input_bfd, in elf64_x86_64_relocate_section() 2818 BFD_ASSERT (bfd_get_8 (input_bfd, in elf64_x86_64_relocate_section() 2823 BFD_ASSERT (bfd_get_8 (input_bfd, in elf64_x86_64_relocate_section() 3002 input_bfd, in elf64_x86_64_relocate_section() 3026 name = bfd_section_name (input_bfd, sec); in elf64_x86_64_relocate_section() 3033 (bfd_vma) 0, input_bfd, input_section, in elf64_x86_64_relocate_section() [all …]
|
| H A D | bout.c | 1141 bfd *input_bfd = i->owner; in b_out_bfd_relax_section() local 1165 _bfd_generic_link_get_symbols (input_bfd)); in b_out_bfd_relax_section() 1235 BFD_ASSERT (bfd_get_section_contents (input_bfd, in b_out_bfd_get_relocated_section_contents() 1241 reloc_count = bfd_canonicalize_reloc (input_bfd, in b_out_bfd_get_relocated_section_contents() 1282 calljx_callback (input_bfd, link_info, reloc, in b_out_bfd_get_relocated_section_contents() 1289 bfd_put_32 (input_bfd, in b_out_bfd_get_relocated_section_contents() 1290 (bfd_get_32 (input_bfd, data + src_address) in b_out_bfd_get_relocated_section_contents() 1297 callj_callback (input_bfd, link_info, reloc, data, in b_out_bfd_get_relocated_section_contents() 1314 callj_callback (input_bfd, link_info, reloc, data, in b_out_bfd_get_relocated_section_contents() 1322 long int word = bfd_get_32 (input_bfd, in b_out_bfd_get_relocated_section_contents() [all …]
|
| H A D | elfxx-sparc.c | 2381 entry->input_bfd = output_bfd; in _bfd_sparc_elf_size_dynamic_sections() 2461 bfd *input_bfd, in _bfd_sparc_elf_relocate_section() argument 2481 sym_hashes = elf_sym_hashes (input_bfd); in _bfd_sparc_elf_relocate_section() 2897 input_bfd); in _bfd_sparc_elf_relocate_section() 2927 if (! ABI_64_P (input_bfd) in _bfd_sparc_elf_relocate_section() 3154 && (((insn = bfd_get_32 (input_bfd, in _bfd_sparc_elf_relocate_section() 3261 input_bfd, in _bfd_sparc_elf_relocate_section() 3303 bfd_arch_bits_per_address (input_bfd), in _bfd_sparc_elf_relocate_section() 3439 z = bfd_get_32 (input_bfd, in _bfd_sparc_elf_relocate_section() 3489 && strcmp (bfd_section_name (input_bfd, in _bfd_sparc_elf_relocate_section() [all …]
|
| H A D | xcofflink.c | 3396 bfd *input_bfd) in xcoff_link_input_bfd() argument 3422 if ((input_bfd->flags & DYNAMIC) != 0 in xcoff_link_input_bfd() 3430 isymesz = bfd_coff_symesz (input_bfd); in xcoff_link_input_bfd() 3432 linesz = bfd_coff_linesz (input_bfd); in xcoff_link_input_bfd() 3480 bfd_coff_swap_aux_in (input_bfd, in xcoff_link_input_bfd() 4299 input_bfd, o, in xcoff_link_input_bfd() 4435 (input_bfd, is, buf)); in xcoff_link_input_bfd() 4441 (finfo->info, name, input_bfd, o, in xcoff_link_input_bfd() 4492 input_bfd, sec); in xcoff_link_input_bfd() 4513 input_bfd, in xcoff_link_input_bfd() [all …]
|
| H A D | elf64-s390.c | 2203 invalid_tls_insn (input_bfd, input_section, rel) in invalid_tls_insn() argument 2204 bfd *input_bfd; in invalid_tls_insn() 2213 input_bfd, 2227 bfd *input_bfd; 2242 symtab_hdr = &elf_tdata (input_bfd)->symtab_hdr; 2243 sym_hashes = elf_sym_hashes (input_bfd); 2960 invalid_tls_insn (input_bfd, input_section, rel); 3010 input_bfd, 3046 name = bfd_section_name (input_bfd, sec); 3054 (bfd_vma) 0, input_bfd, input_section, [all …]
|
| H A D | linker.c | 2053 bfd *input_bfd; in _bfd_generic_final_link() local 2060 input_bfd = input_section->owner; in _bfd_generic_final_link() 2158 bfd *input_bfd, in _bfd_generic_link_output_symbols() argument 2165 if (! generic_link_read_symbols (input_bfd)) in _bfd_generic_link_output_symbols() 2179 newsym = bfd_make_empty_symbol (input_bfd); in _bfd_generic_link_output_symbols() 2182 newsym->name = input_bfd->filename; in _bfd_generic_link_output_symbols() 2311 if (bfd_asymbol_bfd (sym) == input_bfd in _bfd_generic_link_output_symbols() 2348 if (bfd_is_local_label (input_bfd, sym)) in _bfd_generic_link_output_symbols() 2716 bfd *input_bfd; in default_indirect_link_order() local 2725 input_bfd = input_section->owner; in default_indirect_link_order() [all …]
|
| H A D | elf64-alpha.c | 3937 sym_hashes = elf_sym_hashes (input_bfd); in elf64_alpha_relocate_section_r() 3952 input_bfd, (int) r_type); in elf64_alpha_relocate_section_r() 4046 (input_bfd, elf_elfheader(input_bfd)->e_shstrndx, in elf64_alpha_relocate_section() 4105 input_bfd, (int) r_type); in elf64_alpha_relocate_section() 4342 input_bfd, h->root.root.root.string); in elf64_alpha_relocate_section() 4372 input_bfd, name); in elf64_alpha_relocate_section() 4424 input_bfd, in elf64_alpha_relocate_section() 4532 input_bfd); in elf64_alpha_relocate_section() 5028 bfd *input_bfd; in elf64_alpha_final_link() local 5042 input_bfd = input_section->owner; in elf64_alpha_final_link() [all …]
|
| H A D | elflink.c | 579 bfd *input_bfd, in bfd_elf_link_record_local_dynamic_symbol() argument 596 if (entry->input_bfd == input_bfd && entry->input_indx == input_indx) in bfd_elf_link_record_local_dynamic_symbol() 605 if (!bfd_elf_get_elf_syms (input_bfd, &elf_tdata (input_bfd)->symtab_hdr, in bfd_elf_link_record_local_dynamic_symbol() 623 bfd_release (input_bfd, entry); in bfd_elf_link_record_local_dynamic_symbol() 629 (input_bfd, elf_tdata (input_bfd)->symtab_hdr.sh_link, in bfd_elf_link_record_local_dynamic_symbol() 650 entry->input_bfd = input_bfd; in bfd_elf_link_record_local_dynamic_symbol() 667 bfd *input_bfd, in _bfd_elf_link_lookup_local_dynindx() argument 673 if (e->input_bfd == input_bfd && e->input_indx == input_indx) in _bfd_elf_link_lookup_local_dynindx() 6999 bfd * input_bfd, in put_value() argument 7035 bfd * input_bfd, in get_value() argument [all …]
|
| H A D | coff-ppc.c | 992 bfd *input_bfd; 1046 (obj_coff_sym_hashes (input_bfd)[symndx]); 1144 local_toc_table = obj_coff_local_toc_table(input_bfd); 1197 input_bfd, name, 1252 input_bfd, (unsigned long) toc_section->size); 1278 x = bfd_get_32 (input_bfd, loc); 1307 input_bfd, input_section, howto->name, 1419 input_bfd, 1432 input_bfd, 1441 input_bfd, [all …]
|