/toolchain/binutils/binutils-2.27/bfd/ |
D | elf32-i370.c | 805 asection *sreloc; in i370_elf_check_relocs() local 819 sreloc = NULL; in i370_elf_check_relocs() 850 if (sreloc == NULL) in i370_elf_check_relocs() 852 sreloc = _bfd_elf_make_dynamic_reloc_section in i370_elf_check_relocs() 855 if (sreloc == NULL) in i370_elf_check_relocs() 859 sreloc->size += sizeof (Elf32_External_Rela); in i370_elf_check_relocs() 1045 asection *sreloc = NULL; in i370_elf_relocate_section() local 1202 if (sreloc == NULL) in i370_elf_relocate_section() 1204 sreloc = _bfd_elf_get_dynamic_reloc_section in i370_elf_relocate_section() 1206 if (sreloc == NULL) in i370_elf_relocate_section() [all …]
|
D | elf32-or1k.c | 810 asection *sreloc; in or1k_elf_relocate_section() local 820 sreloc = elf_section_data (input_section)->sreloc; in or1k_elf_relocate_section() 1040 BFD_ASSERT (sreloc != NULL); in or1k_elf_relocate_section() 1084 loc = sreloc->contents; in or1k_elf_relocate_section() 1085 loc += sreloc->reloc_count++ * sizeof (Elf32_External_Rela); in or1k_elf_relocate_section() 1115 sreloc = bfd_get_section_by_name (dynobj, ".rela.got"); in or1k_elf_relocate_section() 1172 loc = sreloc->contents; in or1k_elf_relocate_section() 1173 loc += sreloc->reloc_count++ * in or1k_elf_relocate_section() 1205 loc = sreloc->contents; in or1k_elf_relocate_section() 1206 loc += sreloc->reloc_count++ * sizeof (Elf32_External_Rela); in or1k_elf_relocate_section() [all …]
|
D | elf32-vax.c | 565 asection *sreloc; in elf_vax_check_relocs() local 576 sreloc = NULL; in elf_vax_check_relocs() 754 if (sreloc == NULL) in elf_vax_check_relocs() 756 sreloc = _bfd_elf_make_dynamic_reloc_section in elf_vax_check_relocs() 759 if (sreloc == NULL) in elf_vax_check_relocs() 766 sreloc->size += sizeof (Elf32_External_Rela); in elf_vax_check_relocs() 786 if (p->section == sreloc) in elf_vax_check_relocs() 797 p->section = sreloc; in elf_vax_check_relocs() 1370 asection *sreloc; in elf_vax_relocate_section() local 1381 sreloc = NULL; in elf_vax_relocate_section() [all …]
|
D | elf32-s390.c | 976 asection *sreloc; in elf_s390_check_relocs() local 991 sreloc = NULL; in elf_s390_check_relocs() 1339 if (sreloc == NULL) in elf_s390_check_relocs() 1344 sreloc = _bfd_elf_make_dynamic_reloc_section in elf_s390_check_relocs() 1347 if (sreloc == NULL) in elf_s390_check_relocs() 2037 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs() local 2039 sreloc->size += p->count * sizeof (Elf32_External_Rela); in allocate_dynrelocs() 2133 srela = elf_section_data (p->sec)->sreloc; in elf_s390_size_dynamic_sections() 2826 asection *sreloc; in elf_s390_relocate_section() local 2857 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() 1275 if (sreloc == NULL) in elf_s390_check_relocs() 1280 sreloc = _bfd_elf_make_dynamic_reloc_section in elf_s390_check_relocs() 1283 if (sreloc == NULL) in elf_s390_check_relocs() 1984 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs() local 1985 sreloc->size += p->count * sizeof (Elf64_External_Rela); in allocate_dynrelocs() 2082 srela = elf_section_data (p->sec)->sreloc; in elf_s390_size_dynamic_sections() 2785 asection *sreloc; in elf_s390_relocate_section() local 2816 sreloc = htab->elf.irelifunc; in elf_s390_relocate_section() [all …]
|
D | elf32-i386.c | 1842 asection *sreloc; in elf_i386_check_relocs() local 1883 sreloc = NULL; in elf_i386_check_relocs() 2241 if (sreloc == NULL) in elf_i386_check_relocs() 2246 sreloc = _bfd_elf_make_dynamic_reloc_section in elf_i386_check_relocs() 2249 if (sreloc == NULL) in elf_i386_check_relocs() 2995 asection *sreloc; in elf_i386_allocate_dynrelocs() local 2997 sreloc = elf_section_data (p->sec)->sreloc; in elf_i386_allocate_dynrelocs() 2999 BFD_ASSERT (sreloc != NULL); in elf_i386_allocate_dynrelocs() 3000 sreloc->size += p->count * sizeof (Elf32_External_Rel); in elf_i386_allocate_dynrelocs() 3253 srel = elf_section_data (p->sec)->sreloc; in elf_i386_size_dynamic_sections() [all …]
|
D | elf32-cris.c | 983 asection *sreloc; in cris_elf_relocate_section() local 1000 sreloc = NULL; in cris_elf_relocate_section() 1446 if (sreloc == NULL) in cris_elf_relocate_section() 1448 sreloc = _bfd_elf_get_dynamic_reloc_section in cris_elf_relocate_section() 1453 if (sreloc == NULL) in cris_elf_relocate_section() 1537 loc = sreloc->contents; in cris_elf_relocate_section() 1538 loc += sreloc->reloc_count++ * sizeof (Elf32_External_Rela); in cris_elf_relocate_section() 3139 asection *sreloc; in cris_elf_check_relocs() local 3155 sreloc = NULL; in cris_elf_check_relocs() 3597 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 | 1497 asection *sreloc; in elf_metag_relocate_section() local 1506 sreloc = NULL; in elf_metag_relocate_section() 1594 sreloc = elf_section_data (input_section)->sreloc; in elf_metag_relocate_section() 1595 BFD_ASSERT (sreloc != NULL); in elf_metag_relocate_section() 1642 loc = sreloc->contents; in elf_metag_relocate_section() 1643 loc += sreloc->reloc_count * sizeof(Elf32_External_Rela); in elf_metag_relocate_section() 1645 ++sreloc->reloc_count; in elf_metag_relocate_section() 2106 asection *sreloc; in elf_metag_check_relocs() local 2117 sreloc = NULL; in elf_metag_check_relocs() 2347 if (sreloc == NULL) in elf_metag_check_relocs() [all …]
|
D | elf32-m32r.c | 2114 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs() local 2115 sreloc->size += p->count * sizeof (Elf32_External_Rela); in allocate_dynrelocs() 2214 srel = elf_section_data (p->sec)->sreloc; in m32r_elf_size_dynamic_sections() 2408 asection *sgot, *splt, *sreloc; in m32r_elf_relocate_section() local 2419 sreloc = NULL; in m32r_elf_relocate_section() 2876 if (sreloc == NULL) in m32r_elf_relocate_section() 2878 sreloc = _bfd_elf_get_dynamic_reloc_section in m32r_elf_relocate_section() 2880 if (sreloc == NULL) in m32r_elf_relocate_section() 2929 loc = sreloc->contents; in m32r_elf_relocate_section() 2930 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() 1707 if (sreloc == NULL) in sh_elf64_relocate_section() 1709 sreloc = _bfd_elf_get_dynamic_reloc_section in sh_elf64_relocate_section() 1711 if (sreloc == NULL) in sh_elf64_relocate_section() 1758 loc = sreloc->contents; in sh_elf64_relocate_section() 1759 loc += sreloc->reloc_count++ * sizeof (Elf64_External_Rela); in sh_elf64_relocate_section() 2370 asection *sreloc; in sh_elf64_check_relocs() local 2374 sreloc = NULL; in sh_elf64_check_relocs() 2660 if (sreloc == NULL) in sh_elf64_check_relocs() [all …]
|
D | elf32-microblaze.c | 852 asection *sreloc, in microblaze_elf_output_dynamic_relocation() argument 867 (sreloc->contents + reloc_index * sizeof (Elf32_External_Rela))); in microblaze_elf_output_dynamic_relocation() 921 asection *sreloc; in microblaze_elf_relocate_section() local 934 sreloc = elf_section_data (input_section)->sreloc; in microblaze_elf_relocate_section() 1459 BFD_ASSERT (sreloc != NULL); in microblaze_elf_relocate_section() 1503 loc = sreloc->contents; in microblaze_elf_relocate_section() 1504 loc += sreloc->reloc_count++ * sizeof (Elf32_External_Rela); in microblaze_elf_relocate_section() 2331 asection *sreloc = NULL; in microblaze_elf_check_relocs() local 2480 if (sreloc == NULL) in microblaze_elf_check_relocs() 2488 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() 2776 asection *sreloc; in elf32_tic6x_check_relocs() local 2794 sreloc = NULL; in elf32_tic6x_check_relocs() 2942 if (sreloc == NULL) in elf32_tic6x_check_relocs() 2947 sreloc = _bfd_elf_make_dynamic_reloc_section in elf32_tic6x_check_relocs() 2950 if (sreloc == NULL) in elf32_tic6x_check_relocs() 3241 asection *sreloc; in elf32_tic6x_allocate_dynrelocs() local [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() 2393 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs() local 2394 sreloc->size += p->count * TILEPRO_ELF_RELA_BYTES; in allocate_dynrelocs() 2505 srel = elf_section_data (p->sec)->sreloc; in tilepro_elf_size_dynamic_sections() 2827 asection *sreloc; in tilepro_elf_relocate_section() local 2843 sreloc = elf_section_data (input_section)->sreloc; in tilepro_elf_relocate_section() [all …]
|
D | elf64-x86-64.c | 2139 asection *sreloc; in elf_x86_64_check_relocs() local 2178 sreloc = NULL; in elf_x86_64_check_relocs() 2639 if (sreloc == NULL) in elf_x86_64_check_relocs() 2644 sreloc = _bfd_elf_make_dynamic_reloc_section in elf_x86_64_check_relocs() 2648 if (sreloc == NULL) in elf_x86_64_check_relocs() 3388 asection * sreloc; in elf_x86_64_allocate_dynrelocs() local 3390 sreloc = elf_section_data (p->sec)->sreloc; in elf_x86_64_allocate_dynrelocs() 3392 BFD_ASSERT (sreloc != NULL); in elf_x86_64_allocate_dynrelocs() 3394 sreloc->size += p->count * bed->s->sizeof_rela; in elf_x86_64_allocate_dynrelocs() 3645 srel = elf_section_data (p->sec)->sreloc; in elf_x86_64_size_dynamic_sections() [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() 2660 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs() local 2661 sreloc->size += p->count * TILEGX_ELF_RELA_BYTES (htab); in allocate_dynrelocs() 2766 srel = elf_section_data (p->sec)->sreloc; in tilegx_elf_size_dynamic_sections() 3126 asection *sreloc; in tilegx_elf_relocate_section() local 3142 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-arc.c | 1583 asection *sreloc = _bfd_elf_get_dynamic_reloc_section in elf_arc_relocate_section() local 1587 BFD_ASSERT (sreloc != NULL); in elf_arc_relocate_section() 1641 BFD_ASSERT (sreloc->contents != 0); in elf_arc_relocate_section() 1643 loc = sreloc->contents; in elf_arc_relocate_section() 1644 loc += sreloc->reloc_count * sizeof (Elf32_External_Rela); in elf_arc_relocate_section() 1645 sreloc->reloc_count += 1; in elf_arc_relocate_section() 1768 asection * sreloc = NULL; in elf_arc_check_relocs() local 1858 if (sreloc == NULL) in elf_arc_check_relocs() 1860 sreloc = _bfd_elf_make_dynamic_reloc_section (sec, dynobj, in elf_arc_check_relocs() 1865 if (sreloc == NULL) in elf_arc_check_relocs() [all …]
|
D | elf32-sh.c | 3276 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs() local 3277 sreloc->size += p->count * sizeof (Elf32_External_Rela); in allocate_dynrelocs() 3402 srel = elf_section_data (p->sec)->sreloc; in sh_elf_size_dynamic_sections() 3648 sh_elf_add_dyn_reloc (bfd *output_bfd, asection *sreloc, bfd_vma offset, in sh_elf_add_dyn_reloc() argument 3658 reloc_offset = sreloc->reloc_count * sizeof (Elf32_External_Rela); in sh_elf_add_dyn_reloc() 3659 BFD_ASSERT (reloc_offset < sreloc->size); in sh_elf_add_dyn_reloc() 3661 sreloc->contents + reloc_offset); in sh_elf_add_dyn_reloc() 3662 sreloc->reloc_count++; in sh_elf_add_dyn_reloc() 3837 asection *sreloc = NULL; in sh_elf_relocate_section() local 4318 if (sreloc == NULL) in sh_elf_relocate_section() [all …]
|
D | elf32-hppa.c | 1149 asection *sreloc; in elf32_hppa_check_relocs() local 1160 sreloc = NULL; in elf32_hppa_check_relocs() 1495 if (sreloc == NULL) in elf32_hppa_check_relocs() 1497 sreloc = _bfd_elf_make_dynamic_reloc_section in elf32_hppa_check_relocs() 1500 if (sreloc == NULL) in elf32_hppa_check_relocs() 2150 asection *sreloc = elf_section_data (hdh_p->sec)->sreloc; in allocate_dynrelocs() local 2151 sreloc->size += hdh_p->count * sizeof (Elf32_External_Rela); in allocate_dynrelocs() 2275 srel = elf_section_data (hdh_p->sec)->sreloc; in elf32_hppa_size_dynamic_sections() 4000 asection *sreloc; in elf32_hppa_relocate_section() local 4068 sreloc = elf_section_data (input_section)->sreloc; in elf32_hppa_relocate_section() [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() 2474 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs() local 2475 sreloc->size += p->count * SPARC_ELF_RELA_BYTES (htab); in allocate_dynrelocs() 2608 srel = elf_section_data (p->sec)->sreloc; in _bfd_sparc_elf_size_dynamic_sections() 2942 asection *sreloc; in _bfd_sparc_elf_relocate_section() local 2959 sreloc = elf_section_data (input_section)->sreloc; in _bfd_sparc_elf_relocate_section() [all …]
|
D | elfnn-aarch64.c | 5000 asection *sreloc; in elfNN_aarch64_final_link_relocate() local 5031 sreloc = globals->root.irelifunc; in elfNN_aarch64_final_link_relocate() 5032 elf_append_rela (output_bfd, sreloc, &outrel); in elfNN_aarch64_final_link_relocate() 5166 asection *sreloc; in elfNN_aarch64_final_link_relocate() local 5209 sreloc = elf_section_data (input_section)->sreloc; in elfNN_aarch64_final_link_relocate() 5210 if (sreloc == NULL || sreloc->contents == NULL) in elfNN_aarch64_final_link_relocate() 5213 loc = sreloc->contents + sreloc->reloc_count++ * RELOC_SIZE (globals); in elfNN_aarch64_final_link_relocate() 5216 if (sreloc->reloc_count * RELOC_SIZE (globals) > sreloc->size) in elfNN_aarch64_final_link_relocate() 6992 asection *sreloc; in elfNN_aarch64_check_relocs() local 7002 sreloc = NULL; in elfNN_aarch64_check_relocs() [all …]
|
D | elf-m10300.c | 1057 asection * sreloc; in mn10300_elf_check_relocs() local 1062 sreloc = NULL; in mn10300_elf_check_relocs() 1376 if (sreloc == NULL) in mn10300_elf_check_relocs() 1378 sreloc = _bfd_elf_make_dynamic_reloc_section in mn10300_elf_check_relocs() 1380 if (sreloc == NULL) in mn10300_elf_check_relocs() 1384 sreloc->size += sizeof (Elf32_External_Rela); in mn10300_elf_check_relocs() 1450 asection * sreloc; in mn10300_elf_final_link_relocate() local 1455 sreloc = NULL; in mn10300_elf_final_link_relocate() 1554 if (sreloc == NULL) in mn10300_elf_final_link_relocate() 1556 sreloc = _bfd_elf_get_dynamic_reloc_section in mn10300_elf_final_link_relocate() [all …]
|
D | elfxx-mips.c | 3169 asection *sreloc; in mips_elf_rel_dyn_section() local 3174 sreloc = bfd_get_linker_section (dynobj, dname); in mips_elf_rel_dyn_section() 3175 if (sreloc == NULL && create_p) in mips_elf_rel_dyn_section() 3177 sreloc = bfd_make_section_anyway_with_flags (dynobj, dname, in mips_elf_rel_dyn_section() 3184 if (sreloc == NULL in mips_elf_rel_dyn_section() 3185 || ! bfd_set_section_alignment (dynobj, sreloc, in mips_elf_rel_dyn_section() 3189 return sreloc; in mips_elf_rel_dyn_section() 3295 asection *sreloc, in mips_elf_output_dynamic_relocation() argument 3312 (sreloc->contents in mips_elf_output_dynamic_relocation() 3318 (sreloc->contents in mips_elf_output_dynamic_relocation() [all …]
|