/netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
H A D | elf32-vax.c | 582 asection *sreloc; in elf_vax_check_relocs() local 591 sreloc = NULL; in elf_vax_check_relocs() 745 if (sreloc == NULL) in elf_vax_check_relocs() 747 sreloc = _bfd_elf_make_dynamic_reloc_section in elf_vax_check_relocs() 750 if (sreloc == NULL) in elf_vax_check_relocs() 763 sreloc->size += sizeof (Elf32_External_Rela); in elf_vax_check_relocs() 783 if (p->section == sreloc) in elf_vax_check_relocs() 794 p->section = sreloc; in elf_vax_check_relocs() 1247 asection *sreloc; in elf_vax_relocate_section() local 1257 sreloc = NULL; in elf_vax_relocate_section() [all …]
|
H A D | elf64-s390.c | 813 asection *sreloc; in elf_s390_check_relocs() local 830 sreloc = NULL; in elf_s390_check_relocs() 1191 if (sreloc == NULL) in elf_s390_check_relocs() 1196 sreloc = _bfd_elf_make_dynamic_reloc_section in elf_s390_check_relocs() 1199 if (sreloc == NULL) in elf_s390_check_relocs() 1707 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs() local 1708 sreloc->size += p->count * sizeof (Elf64_External_Rela); in allocate_dynrelocs() 1793 srela = elf_section_data (p->sec)->sreloc; in elf_s390_size_dynamic_sections() 2507 asection *sreloc; in elf_s390_relocate_section() local 2538 sreloc = htab->elf.irelifunc; in elf_s390_relocate_section() [all …]
|
H A D | elf32-s390.c | 894 asection *sreloc; in elf_s390_check_relocs() local 909 sreloc = NULL; in elf_s390_check_relocs() 1256 if (sreloc == NULL) in elf_s390_check_relocs() 1261 sreloc = _bfd_elf_make_dynamic_reloc_section in elf_s390_check_relocs() 1264 if (sreloc == NULL) in elf_s390_check_relocs() 1770 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs() local 1772 sreloc->size += p->count * sizeof (Elf32_External_Rela); in allocate_dynrelocs() 1840 srela = elf_section_data (p->sec)->sreloc; in elf_s390_size_dynamic_sections() 2501 asection *sreloc; in elf_s390_relocate_section() local 2532 sreloc = htab->elf.irelifunc; in elf_s390_relocate_section() [all …]
|
H A D | elf32-i386.c | 2403 asection *sreloc; in elf_i386_relocate_section() local 2449 sreloc = htab->elf.irelifunc; in elf_i386_relocate_section() 2451 sreloc = htab->elf.srelgot; in elf_i386_relocate_section() 2453 sreloc = htab->elf.irelplt; in elf_i386_relocate_section() 2454 elf_append_rel (output_bfd, sreloc, &outrel); in elf_i386_relocate_section() 2753 asection *sreloc; in elf_i386_relocate_section() local 2797 sreloc = elf_section_data (input_section)->sreloc; in elf_i386_relocate_section() 2799 if (sreloc == NULL || sreloc->contents == NULL) in elf_i386_relocate_section() 2805 elf_append_rel (output_bfd, sreloc, &outrel); in elf_i386_relocate_section() 2821 asection *sreloc; in elf_i386_relocate_section() local [all …]
|
H A D | elf32-or1k.c | 1310 asection *sreloc; in or1k_elf_relocate_section() local 1322 sreloc = elf_section_data (input_section)->sreloc; in or1k_elf_relocate_section() 1635 BFD_ASSERT (sreloc != NULL); in or1k_elf_relocate_section() 1663 loc = sreloc->contents; in or1k_elf_relocate_section() 1664 loc += sreloc->reloc_count++ * sizeof (Elf32_External_Rela); in or1k_elf_relocate_section() 1950 asection *sreloc = NULL; in or1k_elf_check_relocs() local 2178 if (sreloc == NULL) in or1k_elf_check_relocs() 2201 sreloc = bfd_get_section_by_name (dynobj, name); in or1k_elf_check_relocs() 2202 if (sreloc == NULL) in or1k_elf_check_relocs() 2204 sreloc = _bfd_elf_make_dynamic_reloc_section in or1k_elf_check_relocs() [all …]
|
H A D | elf32-cris.c | 988 asection *sreloc; in cris_elf_relocate_section() local 1005 sreloc = NULL; in cris_elf_relocate_section() 1460 if (sreloc == NULL) in cris_elf_relocate_section() 1462 sreloc = _bfd_elf_get_dynamic_reloc_section in cris_elf_relocate_section() 1467 if (sreloc == NULL) in cris_elf_relocate_section() 1551 loc = sreloc->contents; in cris_elf_relocate_section() 1552 loc += sreloc->reloc_count++ * sizeof (Elf32_External_Rela); in cris_elf_relocate_section() 2961 asection *sreloc; in cris_elf_check_relocs() local 2977 sreloc = NULL; in cris_elf_check_relocs() 3367 if (sreloc == NULL) in cris_elf_check_relocs() [all …]
|
H A D | elf32-score7.c | 1100 asection *sreloc; in score_elf_rel_dyn_section() local 1102 sreloc = bfd_get_linker_section (dynobj, dname); in score_elf_rel_dyn_section() 1103 if (sreloc == NULL && create_p) in score_elf_rel_dyn_section() 1105 sreloc = bfd_make_section_anyway_with_flags (dynobj, dname, in score_elf_rel_dyn_section() 1112 if (sreloc == NULL in score_elf_rel_dyn_section() 1113 || !bfd_set_section_alignment (sreloc, in score_elf_rel_dyn_section() 1117 return sreloc; in score_elf_rel_dyn_section() 1151 asection *sreloc; in score_elf_create_dynamic_relocation() local 1159 sreloc = score_elf_rel_dyn_section (dynobj, false); in score_elf_create_dynamic_relocation() 1160 BFD_ASSERT (sreloc != NULL); in score_elf_create_dynamic_relocation() [all …]
|
H A D | elf32-metag.c | 1471 asection *sreloc; in elf_metag_relocate_section() local 1480 sreloc = NULL; in elf_metag_relocate_section() 1568 sreloc = elf_section_data (input_section)->sreloc; in elf_metag_relocate_section() 1569 BFD_ASSERT (sreloc != NULL); in elf_metag_relocate_section() 1616 loc = sreloc->contents; in elf_metag_relocate_section() 1617 loc += sreloc->reloc_count * sizeof(Elf32_External_Rela); in elf_metag_relocate_section() 1619 ++sreloc->reloc_count; in elf_metag_relocate_section() 2070 asection *sreloc; in elf_metag_check_relocs() local 2081 sreloc = NULL; in elf_metag_check_relocs() 2308 if (sreloc == NULL) in elf_metag_check_relocs() [all …]
|
H A D | elf32-m32r.c | 1951 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs() local 1952 sreloc->size += p->count * sizeof (Elf32_External_Rela); in allocate_dynrelocs() 2025 srel = elf_section_data (p->sec)->sreloc; in m32r_elf_size_dynamic_sections() 2170 asection *sgot, *splt, *sreloc; in m32r_elf_relocate_section() local 2180 sreloc = NULL; in m32r_elf_relocate_section() 2638 if (sreloc == NULL) in m32r_elf_relocate_section() 2640 sreloc = _bfd_elf_get_dynamic_reloc_section in m32r_elf_relocate_section() 2642 if (sreloc == NULL) in m32r_elf_relocate_section() 2691 loc = sreloc->contents; in m32r_elf_relocate_section() 2692 loc += sreloc->reloc_count * sizeof (Elf32_External_Rela); in m32r_elf_relocate_section() [all …]
|
H A D | elf32-microblaze.c | 894 asection *sreloc, in microblaze_elf_output_dynamic_relocation() argument 909 (sreloc->contents + reloc_index * sizeof (Elf32_External_Rela))); in microblaze_elf_output_dynamic_relocation() 963 asection *sreloc; in microblaze_elf_relocate_section() local 976 sreloc = elf_section_data (input_section)->sreloc; in microblaze_elf_relocate_section() 1540 BFD_ASSERT (sreloc != NULL); in microblaze_elf_relocate_section() 1584 loc = sreloc->contents; in microblaze_elf_relocate_section() 1585 loc += sreloc->reloc_count++ * sizeof (Elf32_External_Rela); in microblaze_elf_relocate_section() 2367 asection *sreloc = NULL; in microblaze_elf_check_relocs() local 2525 if (sreloc == NULL) in microblaze_elf_check_relocs() 2533 sreloc = _bfd_elf_make_dynamic_reloc_section (sec, dynobj, in microblaze_elf_check_relocs() [all …]
|
H A D | elf32-tilepro.c | 1402 asection *sreloc; in tilepro_elf_check_relocs() local 1412 sreloc = NULL; in tilepro_elf_check_relocs() 1708 if (sreloc == NULL) in tilepro_elf_check_relocs() 1710 sreloc = _bfd_elf_make_dynamic_reloc_section in tilepro_elf_check_relocs() 1713 if (sreloc == NULL) in tilepro_elf_check_relocs() 2156 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs() local 2157 sreloc->size += p->count * TILEPRO_ELF_RELA_BYTES; in allocate_dynrelocs() 2242 srel = elf_section_data (p->sec)->sreloc; in tilepro_elf_size_dynamic_sections() 2527 asection *sreloc; in tilepro_elf_relocate_section() local 2543 sreloc = elf_section_data (input_section)->sreloc; in tilepro_elf_relocate_section() [all …]
|
H A D | elf32-tic6x.c | 2337 asection *sreloc; in elf32_tic6x_relocate_section() local 2341 sreloc = elf_section_data (input_section)->sreloc; in elf32_tic6x_relocate_section() 2342 BFD_ASSERT (sreloc != NULL && sreloc->contents != NULL); in elf32_tic6x_relocate_section() 2394 elf32_tic6x_install_rela (output_bfd, sreloc, &outrel); in elf32_tic6x_relocate_section() 2690 asection *sreloc; in elf32_tic6x_check_relocs() local 2708 sreloc = NULL; in elf32_tic6x_check_relocs() 2852 if (sreloc == NULL) in elf32_tic6x_check_relocs() 2857 sreloc = _bfd_elf_make_dynamic_reloc_section in elf32_tic6x_check_relocs() 2860 if (sreloc == NULL) in elf32_tic6x_check_relocs() 3149 asection *sreloc; in elf32_tic6x_allocate_dynrelocs() local [all …]
|
/netbsd-src/external/gpl3/binutils/dist/bfd/ |
H A D | elf32-vax.c | 582 asection *sreloc; in elf_vax_check_relocs() local 591 sreloc = NULL; in elf_vax_check_relocs() 745 if (sreloc == NULL) in elf_vax_check_relocs() 747 sreloc = _bfd_elf_make_dynamic_reloc_section in elf_vax_check_relocs() 750 if (sreloc == NULL) in elf_vax_check_relocs() 763 sreloc->size += sizeof (Elf32_External_Rela); in elf_vax_check_relocs() 783 if (p->section == sreloc) in elf_vax_check_relocs() 794 p->section = sreloc; in elf_vax_check_relocs() 1247 asection *sreloc; in elf_vax_relocate_section() local 1257 sreloc = NULL; in elf_vax_relocate_section() [all …]
|
H A D | elf32-s390.c | 894 asection *sreloc; in elf_s390_check_relocs() local 909 sreloc = NULL; in elf_s390_check_relocs() 1256 if (sreloc == NULL) in elf_s390_check_relocs() 1261 sreloc = _bfd_elf_make_dynamic_reloc_section in elf_s390_check_relocs() 1264 if (sreloc == NULL) in elf_s390_check_relocs() 1770 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs() local 1772 sreloc->size += p->count * sizeof (Elf32_External_Rela); in allocate_dynrelocs() 1840 srela = elf_section_data (p->sec)->sreloc; in elf_s390_size_dynamic_sections() 2501 asection *sreloc; in elf_s390_relocate_section() local 2532 sreloc = htab->elf.irelifunc; in elf_s390_relocate_section() [all …]
|
H A D | elf64-s390.c | 813 asection *sreloc; in elf_s390_check_relocs() local 830 sreloc = NULL; in elf_s390_check_relocs() 1191 if (sreloc == NULL) in elf_s390_check_relocs() 1196 sreloc = _bfd_elf_make_dynamic_reloc_section in elf_s390_check_relocs() 1199 if (sreloc == NULL) in elf_s390_check_relocs() 1707 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs() local 1708 sreloc->size += p->count * sizeof (Elf64_External_Rela); in allocate_dynrelocs() 1793 srela = elf_section_data (p->sec)->sreloc; in elf_s390_size_dynamic_sections() 2507 asection *sreloc; in elf_s390_relocate_section() local 2538 sreloc = htab->elf.irelifunc; in elf_s390_relocate_section() [all …]
|
H A D | elf32-i386.c | 2429 asection *sreloc; in elf_i386_relocate_section() local 2475 sreloc = htab->elf.irelifunc; in elf_i386_relocate_section() 2477 sreloc = htab->elf.srelgot; in elf_i386_relocate_section() 2479 sreloc = htab->elf.irelplt; in elf_i386_relocate_section() 2480 elf_append_rel (output_bfd, sreloc, &outrel); in elf_i386_relocate_section() 2779 asection *sreloc; in elf_i386_relocate_section() local 2823 sreloc = elf_section_data (input_section)->sreloc; in elf_i386_relocate_section() 2825 if (sreloc == NULL || sreloc->contents == NULL) in elf_i386_relocate_section() 2831 elf_append_rel (output_bfd, sreloc, &outrel); in elf_i386_relocate_section() 2847 asection *sreloc; in elf_i386_relocate_section() local [all …]
|
H A D | elf32-or1k.c | 1310 asection *sreloc; in or1k_elf_relocate_section() local 1322 sreloc = elf_section_data (input_section)->sreloc; in or1k_elf_relocate_section() 1643 BFD_ASSERT (sreloc != NULL); in or1k_elf_relocate_section() 1671 loc = sreloc->contents; in or1k_elf_relocate_section() 1672 loc += sreloc->reloc_count++ * sizeof (Elf32_External_Rela); in or1k_elf_relocate_section() 1958 asection *sreloc = NULL; in or1k_elf_check_relocs() local 2186 if (sreloc == NULL) in or1k_elf_check_relocs() 2209 sreloc = bfd_get_section_by_name (dynobj, name); in or1k_elf_check_relocs() 2210 if (sreloc == NULL) in or1k_elf_check_relocs() 2212 sreloc = _bfd_elf_make_dynamic_reloc_section in or1k_elf_check_relocs() [all …]
|
H A D | elf32-cris.c | 988 asection *sreloc; in cris_elf_relocate_section() local 1005 sreloc = NULL; in cris_elf_relocate_section() 1460 if (sreloc == NULL) in cris_elf_relocate_section() 1462 sreloc = _bfd_elf_get_dynamic_reloc_section in cris_elf_relocate_section() 1467 if (sreloc == NULL) in cris_elf_relocate_section() 1551 loc = sreloc->contents; in cris_elf_relocate_section() 1552 loc += sreloc->reloc_count++ * sizeof (Elf32_External_Rela); in cris_elf_relocate_section() 2961 asection *sreloc; in cris_elf_check_relocs() local 2977 sreloc = NULL; in cris_elf_check_relocs() 3367 if (sreloc == NULL) in cris_elf_check_relocs() [all …]
|
H A D | elf32-score7.c | 1100 asection *sreloc; in score_elf_rel_dyn_section() local 1102 sreloc = bfd_get_linker_section (dynobj, dname); in score_elf_rel_dyn_section() 1103 if (sreloc == NULL && create_p) in score_elf_rel_dyn_section() 1105 sreloc = bfd_make_section_anyway_with_flags (dynobj, dname, in score_elf_rel_dyn_section() 1112 if (sreloc == NULL in score_elf_rel_dyn_section() 1113 || !bfd_set_section_alignment (sreloc, in score_elf_rel_dyn_section() 1117 return sreloc; in score_elf_rel_dyn_section() 1151 asection *sreloc; in score_elf_create_dynamic_relocation() local 1159 sreloc = score_elf_rel_dyn_section (dynobj, false); in score_elf_create_dynamic_relocation() 1160 BFD_ASSERT (sreloc != NULL); in score_elf_create_dynamic_relocation() [all …]
|
H A D | elf32-metag.c | 1471 asection *sreloc; in elf_metag_relocate_section() local 1480 sreloc = NULL; in elf_metag_relocate_section() 1568 sreloc = elf_section_data (input_section)->sreloc; in elf_metag_relocate_section() 1569 BFD_ASSERT (sreloc != NULL); in elf_metag_relocate_section() 1616 loc = sreloc->contents; in elf_metag_relocate_section() 1617 loc += sreloc->reloc_count * sizeof(Elf32_External_Rela); in elf_metag_relocate_section() 1619 ++sreloc->reloc_count; in elf_metag_relocate_section() 2070 asection *sreloc; in elf_metag_check_relocs() local 2081 sreloc = NULL; in elf_metag_check_relocs() 2308 if (sreloc == NULL) in elf_metag_check_relocs() [all …]
|
H A D | elf32-m32r.c | 1951 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs() local 1952 sreloc->size += p->count * sizeof (Elf32_External_Rela); in allocate_dynrelocs() 2025 srel = elf_section_data (p->sec)->sreloc; in m32r_elf_size_dynamic_sections() 2170 asection *sgot, *splt, *sreloc; in m32r_elf_relocate_section() local 2180 sreloc = NULL; in m32r_elf_relocate_section() 2638 if (sreloc == NULL) in m32r_elf_relocate_section() 2640 sreloc = _bfd_elf_get_dynamic_reloc_section in m32r_elf_relocate_section() 2642 if (sreloc == NULL) in m32r_elf_relocate_section() 2691 loc = sreloc->contents; in m32r_elf_relocate_section() 2692 loc += sreloc->reloc_count * sizeof (Elf32_External_Rela); in m32r_elf_relocate_section() [all …]
|
H A D | elf32-tilepro.c | 1402 asection *sreloc; in tilepro_elf_check_relocs() local 1412 sreloc = NULL; in tilepro_elf_check_relocs() 1708 if (sreloc == NULL) in tilepro_elf_check_relocs() 1710 sreloc = _bfd_elf_make_dynamic_reloc_section in tilepro_elf_check_relocs() 1713 if (sreloc == NULL) in tilepro_elf_check_relocs() 2156 asection *sreloc = elf_section_data (p->sec)->sreloc; in allocate_dynrelocs() local 2157 sreloc->size += p->count * TILEPRO_ELF_RELA_BYTES; in allocate_dynrelocs() 2242 srel = elf_section_data (p->sec)->sreloc; in tilepro_elf_size_dynamic_sections() 2527 asection *sreloc; in tilepro_elf_relocate_section() local 2543 sreloc = elf_section_data (input_section)->sreloc; in tilepro_elf_relocate_section() [all …]
|
H A D | elf32-microblaze.c | 912 asection *sreloc, in microblaze_elf_output_dynamic_relocation() argument 927 (sreloc->contents + reloc_index * sizeof (Elf32_External_Rela))); in microblaze_elf_output_dynamic_relocation() 981 asection *sreloc; in microblaze_elf_relocate_section() local 994 sreloc = elf_section_data (input_section)->sreloc; in microblaze_elf_relocate_section() 1558 BFD_ASSERT (sreloc != NULL); in microblaze_elf_relocate_section() 1602 loc = sreloc->contents; in microblaze_elf_relocate_section() 1603 loc += sreloc->reloc_count++ * sizeof (Elf32_External_Rela); in microblaze_elf_relocate_section() 2387 asection *sreloc = NULL; in microblaze_elf_check_relocs() local 2545 if (sreloc == NULL) in microblaze_elf_check_relocs() 2553 sreloc = _bfd_elf_make_dynamic_reloc_section (sec, dynobj, in microblaze_elf_check_relocs() [all …]
|
H A D | elf32-tic6x.c | 2337 asection *sreloc; in elf32_tic6x_relocate_section() local 2341 sreloc = elf_section_data (input_section)->sreloc; in elf32_tic6x_relocate_section() 2342 BFD_ASSERT (sreloc != NULL && sreloc->contents != NULL); in elf32_tic6x_relocate_section() 2394 elf32_tic6x_install_rela (output_bfd, sreloc, &outrel); in elf32_tic6x_relocate_section() 2690 asection *sreloc; in elf32_tic6x_check_relocs() local 2708 sreloc = NULL; in elf32_tic6x_check_relocs() 2852 if (sreloc == NULL) in elf32_tic6x_check_relocs() 2857 sreloc = _bfd_elf_make_dynamic_reloc_section in elf32_tic6x_check_relocs() 2860 if (sreloc == NULL) in elf32_tic6x_check_relocs() 3149 asection *sreloc; in elf32_tic6x_allocate_dynrelocs() local [all …]
|
H A D | elf32-score.c | 1241 asection *sreloc; in score_elf_rel_dyn_section() local 1243 sreloc = bfd_get_linker_section (dynobj, dname); in score_elf_rel_dyn_section() 1244 if (sreloc == NULL && create_p) in score_elf_rel_dyn_section() 1246 sreloc = bfd_make_section_anyway_with_flags (dynobj, dname, in score_elf_rel_dyn_section() 1253 if (sreloc == NULL in score_elf_rel_dyn_section() 1254 || !bfd_set_section_alignment (sreloc, in score_elf_rel_dyn_section() 1258 return sreloc; in score_elf_rel_dyn_section() 1291 asection *sreloc; in score_elf_create_dynamic_relocation() local 1299 sreloc = score_elf_rel_dyn_section (dynobj, false); in score_elf_create_dynamic_relocation() 1300 BFD_ASSERT (sreloc != NULL); in score_elf_create_dynamic_relocation() [all …]
|