/toolchain/binutils/binutils-2.25/bfd/ |
D | elf32-i370.c | 796 asection *sreloc; in i370_elf_check_relocs() local 810 sreloc = NULL; in i370_elf_check_relocs() 841 if (sreloc == NULL) in i370_elf_check_relocs() 843 sreloc = _bfd_elf_make_dynamic_reloc_section in i370_elf_check_relocs() 846 if (sreloc == NULL) in i370_elf_check_relocs() 850 sreloc->size += sizeof (Elf32_External_Rela); in i370_elf_check_relocs() 1036 asection *sreloc = NULL; in i370_elf_relocate_section() local 1195 if (sreloc == NULL) in i370_elf_relocate_section() 1197 sreloc = _bfd_elf_get_dynamic_reloc_section in i370_elf_relocate_section() 1199 if (sreloc == NULL) in i370_elf_relocate_section() [all …]
|
D | elf32-or1k.c | 806 asection *sreloc; in or1k_elf_relocate_section() local 816 sreloc = elf_section_data (input_section)->sreloc; in or1k_elf_relocate_section() 1034 BFD_ASSERT (sreloc != NULL); in or1k_elf_relocate_section() 1078 loc = sreloc->contents; in or1k_elf_relocate_section() 1079 loc += sreloc->reloc_count++ * sizeof (Elf32_External_Rela); in or1k_elf_relocate_section() 1109 sreloc = bfd_get_section_by_name (dynobj, ".rela.got"); in or1k_elf_relocate_section() 1166 loc = sreloc->contents; in or1k_elf_relocate_section() 1167 loc += sreloc->reloc_count++ * in or1k_elf_relocate_section() 1199 loc = sreloc->contents; in or1k_elf_relocate_section() 1200 loc += sreloc->reloc_count++ * sizeof (Elf32_External_Rela); in or1k_elf_relocate_section() [all …]
|
D | elf32-vax.c | 557 asection *sreloc; in elf_vax_check_relocs() local 568 sreloc = NULL; in elf_vax_check_relocs() 746 if (sreloc == NULL) in elf_vax_check_relocs() 748 sreloc = _bfd_elf_make_dynamic_reloc_section in elf_vax_check_relocs() 751 if (sreloc == NULL) in elf_vax_check_relocs() 758 sreloc->size += sizeof (Elf32_External_Rela); in elf_vax_check_relocs() 778 if (p->section == sreloc) in elf_vax_check_relocs() 789 p->section = sreloc; in elf_vax_check_relocs() 1362 asection *sreloc; in elf_vax_relocate_section() local 1373 sreloc = NULL; in elf_vax_relocate_section() [all …]
|
D | elf32-i386.c | 1420 asection *sreloc; in elf_i386_check_relocs() local 1434 sreloc = NULL; in elf_i386_check_relocs() 1742 if (sreloc == NULL) in elf_i386_check_relocs() 1747 sreloc = _bfd_elf_make_dynamic_reloc_section in elf_i386_check_relocs() 1750 if (sreloc == NULL) in elf_i386_check_relocs() 2445 asection *sreloc; in elf_i386_allocate_dynrelocs() local 2447 sreloc = elf_section_data (p->sec)->sreloc; in elf_i386_allocate_dynrelocs() 2449 BFD_ASSERT (sreloc != NULL); in elf_i386_allocate_dynrelocs() 2450 sreloc->size += p->count * sizeof (Elf32_External_Rel); in elf_i386_allocate_dynrelocs() 2734 srel = elf_section_data (p->sec)->sreloc; in elf_i386_size_dynamic_sections() [all …]
|
D | elf32-s390.c | 976 asection *sreloc; in elf_s390_check_relocs() local 991 sreloc = NULL; in elf_s390_check_relocs() 1337 if (sreloc == NULL) in elf_s390_check_relocs() 1342 sreloc = _bfd_elf_make_dynamic_reloc_section in elf_s390_check_relocs() 1345 if (sreloc == NULL) in elf_s390_check_relocs() 1988 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs() local 1990 sreloc->size += p->count * sizeof (Elf32_External_Rela); in allocate_dynrelocs() 2084 srela = elf_section_data (p->sec)->sreloc; in elf_s390_size_dynamic_sections() 2743 asection *sreloc; in elf_s390_relocate_section() local 2774 sreloc = htab->elf.irelifunc; in elf_s390_relocate_section() [all …]
|
D | elf64-s390.c | 895 asection *sreloc; in elf_s390_check_relocs() local 912 sreloc = NULL; in elf_s390_check_relocs() 1273 if (sreloc == NULL) in elf_s390_check_relocs() 1278 sreloc = _bfd_elf_make_dynamic_reloc_section in elf_s390_check_relocs() 1281 if (sreloc == NULL) in elf_s390_check_relocs() 1936 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs() local 1937 sreloc->size += p->count * sizeof (Elf64_External_Rela); in allocate_dynrelocs() 2034 srela = elf_section_data (p->sec)->sreloc; in elf_s390_size_dynamic_sections() 2709 asection *sreloc; in elf_s390_relocate_section() local 2740 sreloc = htab->elf.irelifunc; in elf_s390_relocate_section() [all …]
|
D | elf32-cris.c | 979 asection *sreloc; in cris_elf_relocate_section() local 996 sreloc = NULL; in cris_elf_relocate_section() 1442 if (sreloc == NULL) in cris_elf_relocate_section() 1444 sreloc = _bfd_elf_get_dynamic_reloc_section in cris_elf_relocate_section() 1449 if (sreloc == NULL) in cris_elf_relocate_section() 1533 loc = sreloc->contents; in cris_elf_relocate_section() 1534 loc += sreloc->reloc_count++ * sizeof (Elf32_External_Rela); in cris_elf_relocate_section() 3140 asection *sreloc; in cris_elf_check_relocs() local 3156 sreloc = NULL; in cris_elf_check_relocs() 3598 if (sreloc == NULL) in cris_elf_check_relocs() [all …]
|
D | elf32-score7.c | 1104 asection *sreloc; in score_elf_rel_dyn_section() local 1106 sreloc = bfd_get_linker_section (dynobj, dname); in score_elf_rel_dyn_section() 1107 if (sreloc == NULL && create_p) in score_elf_rel_dyn_section() 1109 sreloc = bfd_make_section_anyway_with_flags (dynobj, dname, in score_elf_rel_dyn_section() 1116 if (sreloc == NULL in score_elf_rel_dyn_section() 1117 || ! bfd_set_section_alignment (dynobj, sreloc, in score_elf_rel_dyn_section() 1121 return sreloc; in score_elf_rel_dyn_section() 1155 asection *sreloc; in score_elf_create_dynamic_relocation() local 1163 sreloc = score_elf_rel_dyn_section (dynobj, FALSE); in score_elf_create_dynamic_relocation() 1164 BFD_ASSERT (sreloc != NULL); in score_elf_create_dynamic_relocation() [all …]
|
D | elf32-metag.c | 1493 asection *sreloc; in elf_metag_relocate_section() local 1502 sreloc = NULL; in elf_metag_relocate_section() 1590 sreloc = elf_section_data (input_section)->sreloc; in elf_metag_relocate_section() 1591 BFD_ASSERT (sreloc != NULL); in elf_metag_relocate_section() 1638 loc = sreloc->contents; in elf_metag_relocate_section() 1639 loc += sreloc->reloc_count * sizeof(Elf32_External_Rela); in elf_metag_relocate_section() 1641 ++sreloc->reloc_count; in elf_metag_relocate_section() 2103 asection *sreloc; in elf_metag_check_relocs() local 2114 sreloc = NULL; in elf_metag_check_relocs() 2344 if (sreloc == NULL) in elf_metag_check_relocs() [all …]
|
D | elf32-m32r.c | 2110 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs() local 2111 sreloc->size += p->count * sizeof (Elf32_External_Rela); in allocate_dynrelocs() 2210 srel = elf_section_data (p->sec)->sreloc; in m32r_elf_size_dynamic_sections() 2404 asection *sgot, *splt, *sreloc; in m32r_elf_relocate_section() local 2415 sreloc = NULL; in m32r_elf_relocate_section() 2872 if (sreloc == NULL) in m32r_elf_relocate_section() 2874 sreloc = _bfd_elf_get_dynamic_reloc_section in m32r_elf_relocate_section() 2876 if (sreloc == NULL) in m32r_elf_relocate_section() 2925 loc = sreloc->contents; in m32r_elf_relocate_section() 2926 loc += sreloc->reloc_count * sizeof (Elf32_External_Rela); in m32r_elf_relocate_section() [all …]
|
D | elf64-sh64.c | 1440 asection *sreloc; in sh_elf64_relocate_section() local 1451 sreloc = NULL; in sh_elf64_relocate_section() 1710 if (sreloc == NULL) in sh_elf64_relocate_section() 1712 sreloc = _bfd_elf_get_dynamic_reloc_section in sh_elf64_relocate_section() 1714 if (sreloc == NULL) in sh_elf64_relocate_section() 1761 loc = sreloc->contents; in sh_elf64_relocate_section() 1762 loc += sreloc->reloc_count++ * sizeof (Elf64_External_Rela); in sh_elf64_relocate_section() 2396 asection *sreloc; in sh_elf64_check_relocs() local 2400 sreloc = NULL; in sh_elf64_check_relocs() 2686 if (sreloc == NULL) in sh_elf64_check_relocs() [all …]
|
D | elf32-microblaze.c | 843 asection *sreloc, in microblaze_elf_output_dynamic_relocation() argument 858 (sreloc->contents + reloc_index * sizeof (Elf32_External_Rela))); in microblaze_elf_output_dynamic_relocation() 912 asection *sreloc; in microblaze_elf_relocate_section() local 925 sreloc = elf_section_data (input_section)->sreloc; in microblaze_elf_relocate_section() 1447 BFD_ASSERT (sreloc != NULL); in microblaze_elf_relocate_section() 1491 loc = sreloc->contents; in microblaze_elf_relocate_section() 1492 loc += sreloc->reloc_count++ * sizeof (Elf32_External_Rela); in microblaze_elf_relocate_section() 2322 asection *sreloc = NULL; in microblaze_elf_check_relocs() local 2471 if (sreloc == NULL) in microblaze_elf_check_relocs() 2479 sreloc = _bfd_elf_make_dynamic_reloc_section (sec, dynobj, in microblaze_elf_check_relocs() [all …]
|
D | elf32-tic6x.c | 2427 asection *sreloc; in elf32_tic6x_relocate_section() local 2431 sreloc = elf_section_data (input_section)->sreloc; in elf32_tic6x_relocate_section() 2432 BFD_ASSERT (sreloc != NULL && sreloc->contents != NULL); in elf32_tic6x_relocate_section() 2484 elf32_tic6x_install_rela (output_bfd, sreloc, &outrel); in elf32_tic6x_relocate_section() 2779 asection *sreloc; in elf32_tic6x_check_relocs() local 2797 sreloc = NULL; in elf32_tic6x_check_relocs() 2945 if (sreloc == NULL) in elf32_tic6x_check_relocs() 2950 sreloc = _bfd_elf_make_dynamic_reloc_section in elf32_tic6x_check_relocs() 2953 if (sreloc == NULL) in elf32_tic6x_check_relocs() 3244 asection *sreloc; in elf32_tic6x_allocate_dynrelocs() local [all …]
|
D | elf64-x86-64.c | 1516 asection *sreloc; in elf_x86_64_check_relocs() local 1530 sreloc = NULL; in elf_x86_64_check_relocs() 1964 if (sreloc == NULL) in elf_x86_64_check_relocs() 1969 sreloc = _bfd_elf_make_dynamic_reloc_section in elf_x86_64_check_relocs() 1973 if (sreloc == NULL) in elf_x86_64_check_relocs() 2677 asection * sreloc; in elf_x86_64_allocate_dynrelocs() local 2679 sreloc = elf_section_data (p->sec)->sreloc; in elf_x86_64_allocate_dynrelocs() 2681 BFD_ASSERT (sreloc != NULL); in elf_x86_64_allocate_dynrelocs() 2683 sreloc->size += p->count * bed->s->sizeof_rela; in elf_x86_64_allocate_dynrelocs() 2966 srel = elf_section_data (p->sec)->sreloc; in elf_x86_64_size_dynamic_sections() [all …]
|
D | elf32-score.c | 1247 asection *sreloc; in score_elf_rel_dyn_section() local 1249 sreloc = bfd_get_linker_section (dynobj, dname); in score_elf_rel_dyn_section() 1250 if (sreloc == NULL && create_p) in score_elf_rel_dyn_section() 1252 sreloc = bfd_make_section_anyway_with_flags (dynobj, dname, in score_elf_rel_dyn_section() 1259 if (sreloc == NULL in score_elf_rel_dyn_section() 1260 || ! bfd_set_section_alignment (dynobj, sreloc, in score_elf_rel_dyn_section() 1264 return sreloc; in score_elf_rel_dyn_section() 1297 asection *sreloc; in score_elf_create_dynamic_relocation() local 1305 sreloc = score_elf_rel_dyn_section (dynobj, FALSE); in score_elf_create_dynamic_relocation() 1306 BFD_ASSERT (sreloc != NULL); in score_elf_create_dynamic_relocation() [all …]
|
D | elf32-tilepro.c | 1479 asection *sreloc; in tilepro_elf_check_relocs() local 1489 sreloc = NULL; in tilepro_elf_check_relocs() 1787 if (sreloc == NULL) in tilepro_elf_check_relocs() 1789 sreloc = _bfd_elf_make_dynamic_reloc_section in tilepro_elf_check_relocs() 1792 if (sreloc == NULL) in tilepro_elf_check_relocs() 2391 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs() local 2392 sreloc->size += p->count * TILEPRO_ELF_RELA_BYTES; in allocate_dynrelocs() 2503 srel = elf_section_data (p->sec)->sreloc; in tilepro_elf_size_dynamic_sections() 2825 asection *sreloc; in tilepro_elf_relocate_section() local 2841 sreloc = elf_section_data (input_section)->sreloc; in tilepro_elf_relocate_section() [all …]
|
D | elfxx-tilegx.c | 1668 asection *sreloc; in tilegx_elf_check_relocs() local 1679 sreloc = NULL; in tilegx_elf_check_relocs() 2025 if (sreloc == NULL) in tilegx_elf_check_relocs() 2027 sreloc = _bfd_elf_make_dynamic_reloc_section in tilegx_elf_check_relocs() 2031 if (sreloc == NULL) in tilegx_elf_check_relocs() 2658 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs() local 2659 sreloc->size += p->count * TILEGX_ELF_RELA_BYTES (htab); in allocate_dynrelocs() 2764 srel = elf_section_data (p->sec)->sreloc; in tilegx_elf_size_dynamic_sections() 3124 asection *sreloc; in tilegx_elf_relocate_section() local 3140 sreloc = elf_section_data (input_section)->sreloc; in tilegx_elf_relocate_section() [all …]
|
D | elf32-m68k.c | 2554 asection *sreloc; in elf_m68k_check_relocs() local 2566 sreloc = NULL; in elf_m68k_check_relocs() 2801 if (sreloc == NULL) in elf_m68k_check_relocs() 2803 sreloc = _bfd_elf_make_dynamic_reloc_section in elf_m68k_check_relocs() 2806 if (sreloc == NULL) in elf_m68k_check_relocs() 2818 sreloc->size += sizeof (Elf32_External_Rela); in elf_m68k_check_relocs() 2861 if (p->section == sreloc) in elf_m68k_check_relocs() 2872 p->section = sreloc; in elf_m68k_check_relocs() 3617 asection *sreloc; in elf_m68k_relocate_section() local 3629 sreloc = NULL; in elf_m68k_relocate_section() [all …]
|
D | elf32-sh.c | 3261 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs() local 3262 sreloc->size += p->count * sizeof (Elf32_External_Rela); in allocate_dynrelocs() 3386 srel = elf_section_data (p->sec)->sreloc; in sh_elf_size_dynamic_sections() 3633 sh_elf_add_dyn_reloc (bfd *output_bfd, asection *sreloc, bfd_vma offset, in sh_elf_add_dyn_reloc() argument 3643 reloc_offset = sreloc->reloc_count * sizeof (Elf32_External_Rela); in sh_elf_add_dyn_reloc() 3644 BFD_ASSERT (reloc_offset < sreloc->size); in sh_elf_add_dyn_reloc() 3646 sreloc->contents + reloc_offset); in sh_elf_add_dyn_reloc() 3647 sreloc->reloc_count++; in sh_elf_add_dyn_reloc() 3822 asection *sreloc = NULL; in sh_elf_relocate_section() local 4304 if (sreloc == NULL) in sh_elf_relocate_section() [all …]
|
D | elfnn-aarch64.c | 4498 asection *sreloc; in elfNN_aarch64_final_link_relocate() local 4529 sreloc = globals->root.irelifunc; in elfNN_aarch64_final_link_relocate() 4530 elf_append_rela (output_bfd, sreloc, &outrel); in elfNN_aarch64_final_link_relocate() 4639 asection *sreloc; in elfNN_aarch64_final_link_relocate() local 4679 sreloc = elf_section_data (input_section)->sreloc; in elfNN_aarch64_final_link_relocate() 4680 if (sreloc == NULL || sreloc->contents == NULL) in elfNN_aarch64_final_link_relocate() 4683 loc = sreloc->contents + sreloc->reloc_count++ * RELOC_SIZE (globals); in elfNN_aarch64_final_link_relocate() 4686 if (sreloc->reloc_count * RELOC_SIZE (globals) > sreloc->size) in elfNN_aarch64_final_link_relocate() 5972 asection *sreloc; in elfNN_aarch64_check_relocs() local 5982 sreloc = NULL; in elfNN_aarch64_check_relocs() [all …]
|
D | elfxx-sparc.c | 1376 asection *sreloc; in _bfd_sparc_elf_check_relocs() local 1388 sreloc = NULL; in _bfd_sparc_elf_check_relocs() 1788 if (sreloc == NULL) in _bfd_sparc_elf_check_relocs() 1790 sreloc = _bfd_elf_make_dynamic_reloc_section in _bfd_sparc_elf_check_relocs() 1794 if (sreloc == NULL) in _bfd_sparc_elf_check_relocs() 2472 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs() local 2473 sreloc->size += p->count * SPARC_ELF_RELA_BYTES (htab); in allocate_dynrelocs() 2606 srel = elf_section_data (p->sec)->sreloc; in _bfd_sparc_elf_size_dynamic_sections() 2940 asection *sreloc; in _bfd_sparc_elf_relocate_section() local 2957 sreloc = elf_section_data (input_section)->sreloc; in _bfd_sparc_elf_relocate_section() [all …]
|
D | elf32-nios2.c | 2741 asection *sreloc = NULL; in nios2_elf32_relocate_section() local 3462 sreloc = elf_section_data (input_section)->sreloc; in nios2_elf32_relocate_section() 3463 if (sreloc == NULL) in nios2_elf32_relocate_section() 3466 loc = sreloc->contents; in nios2_elf32_relocate_section() 3467 loc += sreloc->reloc_count++ * sizeof (Elf32_External_Rela); in nios2_elf32_relocate_section() 3723 asection *sreloc = NULL; in nios2_elf32_check_relocs() local 3944 if (sreloc == NULL) in nios2_elf32_check_relocs() 3946 sreloc = _bfd_elf_make_dynamic_reloc_section in nios2_elf32_check_relocs() 3948 if (sreloc == NULL) in nios2_elf32_check_relocs() 4843 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs() local [all …]
|
D | elf-m10300.c | 1051 asection * sreloc; in mn10300_elf_check_relocs() local 1056 sreloc = NULL; in mn10300_elf_check_relocs() 1370 if (sreloc == NULL) in mn10300_elf_check_relocs() 1372 sreloc = _bfd_elf_make_dynamic_reloc_section in mn10300_elf_check_relocs() 1374 if (sreloc == NULL) in mn10300_elf_check_relocs() 1378 sreloc->size += sizeof (Elf32_External_Rela); in mn10300_elf_check_relocs() 1444 asection * sreloc; in mn10300_elf_final_link_relocate() local 1449 sreloc = NULL; in mn10300_elf_final_link_relocate() 1548 if (sreloc == NULL) in mn10300_elf_final_link_relocate() 1550 sreloc = _bfd_elf_get_dynamic_reloc_section in mn10300_elf_final_link_relocate() [all …]
|
D | elfxx-mips.c | 3163 asection *sreloc; in mips_elf_rel_dyn_section() local 3168 sreloc = bfd_get_linker_section (dynobj, dname); in mips_elf_rel_dyn_section() 3169 if (sreloc == NULL && create_p) in mips_elf_rel_dyn_section() 3171 sreloc = bfd_make_section_anyway_with_flags (dynobj, dname, in mips_elf_rel_dyn_section() 3178 if (sreloc == NULL in mips_elf_rel_dyn_section() 3179 || ! bfd_set_section_alignment (dynobj, sreloc, in mips_elf_rel_dyn_section() 3183 return sreloc; in mips_elf_rel_dyn_section() 3289 asection *sreloc, in mips_elf_output_dynamic_relocation() argument 3306 (sreloc->contents in mips_elf_output_dynamic_relocation() 3312 (sreloc->contents in mips_elf_output_dynamic_relocation() [all …]
|
D | elf32-arm.c | 7440 elf32_arm_allocate_dynrelocs (struct bfd_link_info *info, asection *sreloc, in elf32_arm_allocate_dynrelocs() argument 7447 if (sreloc == NULL) in elf32_arm_allocate_dynrelocs() 7449 sreloc->size += RELOC_SIZE (htab) * count; in elf32_arm_allocate_dynrelocs() 7457 elf32_arm_allocate_irelocs (struct bfd_link_info *info, asection *sreloc, in elf32_arm_allocate_irelocs() argument 7467 BFD_ASSERT (sreloc != NULL); in elf32_arm_allocate_irelocs() 7468 sreloc->size += RELOC_SIZE (htab) * count; in elf32_arm_allocate_irelocs() 7476 asection *sreloc, Elf_Internal_Rela *rel) in elf32_arm_add_dynreloc() argument 7484 sreloc = htab->root.irelplt; in elf32_arm_add_dynreloc() 7485 if (sreloc == NULL) in elf32_arm_add_dynreloc() 7487 loc = sreloc->contents; in elf32_arm_add_dynreloc() [all …]
|