/toolchain/binutils/binutils-2.25/bfd/ |
D | elf32-xstormy16.c | 411 asection *splt; in xstormy16_elf_check_relocs() local 420 splt = NULL; in xstormy16_elf_check_relocs() 460 if (splt == NULL) in xstormy16_elf_check_relocs() 462 splt = bfd_get_linker_section (dynobj, ".plt"); in xstormy16_elf_check_relocs() 463 if (splt == NULL) in xstormy16_elf_check_relocs() 469 splt = bfd_make_section_anyway_with_flags (dynobj, ".plt", in xstormy16_elf_check_relocs() 471 if (splt == NULL in xstormy16_elf_check_relocs() 472 || ! bfd_set_section_alignment (dynobj, splt, 1)) in xstormy16_elf_check_relocs() 500 *offset = splt->size; in xstormy16_elf_check_relocs() 501 splt->size += 4; in xstormy16_elf_check_relocs() [all …]
|
D | elf32-m32c.c | 355 asection *splt; in m32c_elf_relocate_section() local 362 splt = NULL; in m32c_elf_relocate_section() 364 splt = bfd_get_linker_section (dynobj, ".plt"); in m32c_elf_relocate_section() 489 bfd_put_32 (input_bfd, x, splt->contents + *plt_offset); in m32c_elf_relocate_section() 493 relocation = (splt->output_section->vma in m32c_elf_relocate_section() 494 + splt->output_offset in m32c_elf_relocate_section() 505 splt, in m32c_elf_relocate_section() 600 asection *splt; in m32c_elf_check_relocs() local 609 splt = NULL; in m32c_elf_check_relocs() 642 if (splt == NULL) in m32c_elf_check_relocs() [all …]
|
D | elf32-rl78.c | 418 asection *splt; in rl78_elf_relocate_section() local 425 splt = NULL; in rl78_elf_relocate_section() 427 splt = bfd_get_linker_section (dynobj, ".plt"); in rl78_elf_relocate_section() 510 bfd_put_32 (input_bfd, x, splt->contents + *plt_offset); in rl78_elf_relocate_section() 514 relocation = (splt->output_section->vma in rl78_elf_relocate_section() 515 + splt->output_offset in rl78_elf_relocate_section() 526 splt, in rl78_elf_relocate_section() 1130 asection *splt; in rl78_elf_check_relocs() local 1139 splt = NULL; in rl78_elf_check_relocs() 1172 if (splt == NULL) in rl78_elf_check_relocs() [all …]
|
D | elf32-or1k.c | 622 asection *splt; member 885 if (htab->splt != NULL && h != NULL in or1k_elf_relocate_section() 888 relocation = (htab->splt->output_section->vma in or1k_elf_relocate_section() 889 + htab->splt->output_offset in or1k_elf_relocate_section() 1735 asection *splt; in or1k_elf_finish_dynamic_sections() local 1806 splt = htab->splt; in or1k_elf_finish_dynamic_sections() 1807 if (splt && splt->size > 0) in or1k_elf_finish_dynamic_sections() 1812 splt->contents); in or1k_elf_finish_dynamic_sections() 1814 splt->contents + 4); in or1k_elf_finish_dynamic_sections() 1816 splt->contents + 8); in or1k_elf_finish_dynamic_sections() [all …]
|
D | elfxx-sparc.c | 806 sparc32_plt_entry_build (bfd *output_bfd, asection *splt, bfd_vma offset, in sparc32_plt_entry_build() argument 812 splt->contents + offset); in sparc32_plt_entry_build() 816 splt->contents + offset + 4); in sparc32_plt_entry_build() 818 splt->contents + offset + 8); in sparc32_plt_entry_build() 831 sparc64_plt_entry_build (bfd *output_bfd, asection *splt, bfd_vma offset, in sparc64_plt_entry_build() argument 834 unsigned char *entry = splt->contents + offset; in sparc64_plt_entry_build() 848 | (((splt->contents + PLT64_ENTRY_SIZE) - (entry + 4)) / 4 & 0x7ffff); in sparc64_plt_entry_build() 897 ptr = splt->contents in sparc64_plt_entry_build() 903 *r_offset = (bfd_vma) (ptr - splt->contents); in sparc64_plt_entry_build() 920 bfd_put_64 (output_bfd, (bfd_vma) (splt->contents - (entry + 4)), ptr); in sparc64_plt_entry_build() [all …]
|
D | elf32-m32r.c | 1524 asection *splt; member 1656 htab->splt = s; in m32r_elf_create_dynamic_sections() 1960 asection *s = htab->splt; in allocate_dynrelocs() 2253 if (s == htab->splt in m32r_elf_size_dynamic_sections() 2318 if (htab->splt->size != 0) in m32r_elf_size_dynamic_sections() 2404 asection *sgot, *splt, *sreloc; in m32r_elf_relocate_section() local 2414 splt = htab->splt; in m32r_elf_relocate_section() 2834 relocation = (splt->output_section->vma in m32r_elf_relocate_section() 2835 + splt->output_offset in m32r_elf_relocate_section() 3122 asection *splt; in m32r_elf_finish_dynamic_symbol() local [all …]
|
D | elf32-metag.c | 849 asection *splt; member 1663 htab->splt == NULL) in elf_metag_relocate_section() 1671 relocation = (htab->splt->output_section->vma in elf_metag_relocate_section() 1672 + htab->splt->output_offset in elf_metag_relocate_section() 2037 if (htab->splt != NULL) in elf_metag_create_dynamic_sections() 2076 htab->splt = bfd_get_linker_section (abfd, ".plt"); in elf_metag_create_dynamic_sections() 2627 asection *s = htab->splt; in allocate_dynrelocs() 2946 if (s == htab->splt in elf_metag_size_dynamic_sections() 3076 asection *splt; in elf_metag_finish_dynamic_symbol() local 3089 splt = htab->splt; in elf_metag_finish_dynamic_symbol() [all …]
|
D | elf32-vax.c | 1360 asection *splt; in elf_vax_relocate_section() local 1371 splt = NULL; in elf_vax_relocate_section() 1510 if (splt == NULL) in elf_vax_relocate_section() 1512 splt = bfd_get_linker_section (dynobj, ".plt"); in elf_vax_relocate_section() 1513 BFD_ASSERT (splt != NULL); in elf_vax_relocate_section() 1761 asection *splt; in elf_vax_finish_dynamic_symbol() local 1774 splt = bfd_get_linker_section (dynobj, ".plt"); in elf_vax_finish_dynamic_symbol() 1777 BFD_ASSERT (splt != NULL && sgot != NULL && srela != NULL); in elf_vax_finish_dynamic_symbol() 1794 memcpy (splt->contents + h->plt.offset, elf_vax_plt_entry, in elf_vax_finish_dynamic_symbol() 1800 splt->contents + h->plt.offset + 4); in elf_vax_finish_dynamic_symbol() [all …]
|
D | sunos.c | 1249 asection *splt = NULL; in sunos_scan_std_relocs() local 1321 splt = bfd_get_linker_section (dynobj, ".plt"); in sunos_scan_std_relocs() 1323 BFD_ASSERT (splt != NULL && srel != NULL); in sunos_scan_std_relocs() 1367 if (splt->size == 0) in sunos_scan_std_relocs() 1368 splt->size = M68K_PLT_ENTRY_SIZE; in sunos_scan_std_relocs() 1369 h->plt_offset = splt->size; in sunos_scan_std_relocs() 1373 h->root.root.u.def.section = splt; in sunos_scan_std_relocs() 1374 h->root.root.u.def.value = splt->size; in sunos_scan_std_relocs() 1377 splt->size += M68K_PLT_ENTRY_SIZE; in sunos_scan_std_relocs() 1405 asection *splt = NULL; in sunos_scan_ext_relocs() local [all …]
|
D | elf32-lm32.c | 94 asection *splt; member 1432 asection *splt; in lm32_elf_finish_dynamic_sections() local 1491 splt = htab->splt; in lm32_elf_finish_dynamic_sections() 1492 if (splt && splt->size > 0) in lm32_elf_finish_dynamic_sections() 1496 bfd_put_32 (output_bfd, PLT0_PIC_ENTRY_WORD0, splt->contents); in lm32_elf_finish_dynamic_sections() 1497 bfd_put_32 (output_bfd, PLT0_PIC_ENTRY_WORD1, splt->contents + 4); in lm32_elf_finish_dynamic_sections() 1498 bfd_put_32 (output_bfd, PLT0_PIC_ENTRY_WORD2, splt->contents + 8); in lm32_elf_finish_dynamic_sections() 1499 bfd_put_32 (output_bfd, PLT0_PIC_ENTRY_WORD3, splt->contents + 12); in lm32_elf_finish_dynamic_sections() 1500 bfd_put_32 (output_bfd, PLT0_PIC_ENTRY_WORD4, splt->contents + 16); in lm32_elf_finish_dynamic_sections() 1509 splt->contents); in lm32_elf_finish_dynamic_sections() [all …]
|
D | elf32-cris.c | 978 asection *splt; in cris_elf_relocate_section() local 995 splt = NULL; in cris_elf_relocate_section() 1001 splt = bfd_get_linker_section (dynobj, ".plt"); in cris_elf_relocate_section() 1374 || splt == NULL) in cris_elf_relocate_section() 1382 relocation = (splt->output_section->vma in cris_elf_relocate_section() 1383 + splt->output_offset in cris_elf_relocate_section() 1399 || splt == NULL) in cris_elf_relocate_section() 1407 relocation = (splt->output_section->vma in cris_elf_relocate_section() 1408 + splt->output_offset in cris_elf_relocate_section() 2089 asection *splt; in elf_cris_finish_dynamic_symbol() local [all …]
|
D | elf32-nios2.c | 2740 asection *splt; in nios2_elf32_relocate_section() local 2751 splt = htab->root.splt; in nios2_elf32_relocate_section() 2940 if (h != NULL && splt != NULL && h->plt.offset != (bfd_vma) -1) in nios2_elf32_relocate_section() 2947 relocation = (splt->output_section->vma in nios2_elf32_relocate_section() 2948 + splt->output_offset in nios2_elf32_relocate_section() 3638 if (!bfd_set_section_alignment (dynobj, htab->root.splt, 4)) in nios2_elf32_create_dynamic_sections() 4147 asection *splt; in nios2_elf32_finish_dynamic_symbol() local 4159 splt = htab->root.splt; in nios2_elf32_finish_dynamic_symbol() 4162 BFD_ASSERT (splt != NULL && sgotplt != NULL && srela != NULL); in nios2_elf32_finish_dynamic_symbol() 4167 nios2_elf32_install_data (splt, nios2_so_plt_entry, h->plt.offset, in nios2_elf32_finish_dynamic_symbol() [all …]
|
D | elf64-x86-64.c | 1065 && htab->elf.splt != NULL) in elf_x86_64_create_dynamic_sections() 2465 asection *s = htab->elf.splt; in elf_x86_64_allocate_dynrelocs() 3082 if (htab->elf.splt->size == 0) in elf_x86_64_size_dynamic_sections() 3083 htab->elf.splt->size += GET_PLT_ENTRY_SIZE (output_bfd); in elf_x86_64_size_dynamic_sections() 3084 htab->tlsdesc_plt = htab->elf.splt->size; in elf_x86_64_size_dynamic_sections() 3085 htab->elf.splt->size += GET_PLT_ENTRY_SIZE (output_bfd); in elf_x86_64_size_dynamic_sections() 3097 && (htab->elf.splt == NULL in elf_x86_64_size_dynamic_sections() 3098 || htab->elf.splt->size == 0) in elf_x86_64_size_dynamic_sections() 3109 && htab->elf.splt != NULL in elf_x86_64_size_dynamic_sections() 3110 && htab->elf.splt->size != 0 in elf_x86_64_size_dynamic_sections() [all …]
|
D | elf32-i386.c | 1012 && htab->elf.splt != NULL) in elf_i386_create_dynamic_sections() 2216 asection *s = htab->elf.splt; in elf_i386_allocate_dynrelocs() 2845 && (htab->elf.splt == NULL in elf_i386_size_dynamic_sections() 2846 || htab->elf.splt->size == 0) in elf_i386_size_dynamic_sections() 2858 && htab->elf.splt != NULL in elf_i386_size_dynamic_sections() 2859 && htab->elf.splt->size != 0 in elf_i386_size_dynamic_sections() 2860 && !bfd_is_abs_section (htab->elf.splt->output_section) in elf_i386_size_dynamic_sections() 2874 if (s == htab->elf.splt in elf_i386_size_dynamic_sections() 2945 bfd_put_32 (dynobj, htab->elf.splt->size, in elf_i386_size_dynamic_sections() 2965 if (htab->elf.splt->size != 0) in elf_i386_size_dynamic_sections() [all …]
|
D | elf32-tilepro.c | 1115 tilepro_plt_entry_build (asection *splt, asection *sgotplt, bfd_vma offset, in tilepro_plt_entry_build() argument 1126 - splt->output_section->vma in tilepro_plt_entry_build() 1127 - splt->output_offset in tilepro_plt_entry_build() 1139 memcpy (splt->contents + offset, in tilepro_plt_entry_build() 1144 pc = (tilepro_bundle_bits *)(splt->contents + offset); in tilepro_plt_entry_build() 1314 if (!htab->elf.splt || !htab->elf.srelplt || !htab->sdynbss in tilepro_elf_create_dynamic_sections() 2227 asection *s = htab->elf.splt; in allocate_dynrelocs() 2566 && (htab->elf.splt == NULL in tilepro_elf_size_dynamic_sections() 2567 || htab->elf.splt->size == 0) in tilepro_elf_size_dynamic_sections() 2582 if (s == htab->elf.splt in tilepro_elf_size_dynamic_sections() [all …]
|
D | elf64-sh64.c | 1439 asection *splt; in sh_elf64_relocate_section() local 1450 splt = NULL; in sh_elf64_relocate_section() 2012 if (splt == NULL) in sh_elf64_relocate_section() 2014 splt = bfd_get_linker_section (dynobj, ".plt"); in sh_elf64_relocate_section() 2015 BFD_ASSERT (splt != NULL); in sh_elf64_relocate_section() 2018 relocation = (splt->output_section->vma in sh_elf64_relocate_section() 2019 + splt->output_offset in sh_elf64_relocate_section() 3598 asection *splt; in sh64_elf64_finish_dynamic_symbol() local 3612 splt = bfd_get_linker_section (dynobj, ".plt"); in sh64_elf64_finish_dynamic_symbol() 3615 BFD_ASSERT (splt != NULL && sgot != NULL && srel != NULL); in sh64_elf64_finish_dynamic_symbol() [all …]
|
D | elfxx-tilegx.c | 1274 asection *splt, asection *sgotplt, in tilegx_plt_entry_build() argument 1286 - splt->output_section->vma in tilegx_plt_entry_build() 1287 - splt->output_offset in tilegx_plt_entry_build() 1304 memcpy (splt->contents + offset, plt_entry, PLT_ENTRY_SIZE); in tilegx_plt_entry_build() 1307 pc = (tilegx_bundle_bits *)(splt->contents + offset); in tilegx_plt_entry_build() 1519 if (!htab->elf.splt || !htab->elf.srelplt || !htab->sdynbss in tilegx_elf_create_dynamic_sections() 2494 asection *s = htab->elf.splt; in allocate_dynrelocs() 2827 && (htab->elf.splt == NULL in tilegx_elf_size_dynamic_sections() 2828 || htab->elf.splt->size == 0) in tilegx_elf_size_dynamic_sections() 2843 if (s == htab->elf.splt in tilegx_elf_size_dynamic_sections() [all …]
|
D | elf32-s390.c | 856 htab->elf.splt = bfd_get_linker_section (dynobj, ".plt"); in elf_s390_create_dynamic_sections() 862 if (!htab->elf.splt || !htab->elf.srelplt || !htab->sdynbss in elf_s390_create_dynamic_sections() 1805 asection *s = htab->elf.splt; in allocate_dynrelocs() 2154 if (s == htab->elf.splt in elf_s390_size_dynamic_sections() 2225 if (htab->elf.splt->size != 0) in elf_s390_size_dynamic_sections() 2669 || (htab->elf.splt == NULL && htab->elf.iplt == NULL)) in elf_s390_relocate_section() 2682 relocation = (htab->elf.splt->output_section->vma in elf_s390_relocate_section() 2683 + htab->elf.splt->output_offset in elf_s390_relocate_section() 2697 || (htab->elf.splt == NULL && !s390_is_ifunc_symbol_p (h))) in elf_s390_relocate_section() 2709 relocation = (htab->elf.splt->output_section->vma in elf_s390_relocate_section() [all …]
|
D | elf32-microblaze.c | 727 asection *splt; member 1153 if (htab->splt != NULL && h != NULL in microblaze_elf_relocate_section() 1156 relocation = (htab->splt->output_section->vma in microblaze_elf_relocate_section() 1157 + htab->splt->output_offset in microblaze_elf_relocate_section() 2554 htab->splt = bfd_get_linker_section (dynobj, ".plt"); in microblaze_elf_create_dynamic_sections() 2560 if (!htab->splt || !htab->srelplt || !htab->sdynbss in microblaze_elf_create_dynamic_sections() 2791 asection *s = htab->splt; in allocate_dynrelocs() 3075 if (htab->splt->size > 0) in microblaze_elf_size_dynamic_sections() 3076 htab->splt->size += 4; in microblaze_elf_size_dynamic_sections() 3116 else if (s != htab->splt && s != htab->sgot && s != htab->sgotplt) in microblaze_elf_size_dynamic_sections() [all …]
|
D | elf64-alpha.c | 2559 asection *splt = (asection *) data; in elf64_alpha_size_plt_section_1() local 2572 if (splt->size == 0) in elf64_alpha_size_plt_section_1() 2573 splt->size = PLT_HEADER_SIZE; in elf64_alpha_size_plt_section_1() 2574 gotent->plt_offset = splt->size; in elf64_alpha_size_plt_section_1() 2575 splt->size += PLT_ENTRY_SIZE; in elf64_alpha_size_plt_section_1() 2592 asection *splt, *spltrel, *sgotplt; in elf64_alpha_size_plt_section() local 2602 splt = bfd_get_linker_section (dynobj, ".plt"); in elf64_alpha_size_plt_section() 2603 if (splt == NULL) in elf64_alpha_size_plt_section() 2606 splt->size = 0; in elf64_alpha_size_plt_section() 2609 elf64_alpha_size_plt_section_1, splt); in elf64_alpha_size_plt_section() [all …]
|
D | elf-m10300.c | 726 htab->splt = s; in _bfd_mn10300_elf_create_got_section() 1443 asection * splt; in mn10300_elf_final_link_relocate() local 1448 splt = NULL; in mn10300_elf_final_link_relocate() 1751 splt = htab->root.splt; in mn10300_elf_final_link_relocate() 1752 value = (splt->output_section->vma in mn10300_elf_final_link_relocate() 1753 + splt->output_offset in mn10300_elf_final_link_relocate() 1774 splt = htab->root.splt; in mn10300_elf_final_link_relocate() 1775 value = (splt->output_section->vma in mn10300_elf_final_link_relocate() 1776 + splt->output_offset in mn10300_elf_final_link_relocate() 3484 asection * splt; in mn10300_elf_relax_section() local [all …]
|
D | elf32-arm.c | 3452 if (!htab->root.splt in elf32_arm_create_dynamic_sections() 3685 asection *splt; in arm_type_of_stub() local 3688 splt = globals->root.iplt; in arm_type_of_stub() 3690 splt = globals->root.splt; in arm_type_of_stub() 3691 if (splt != NULL) in arm_type_of_stub() 3704 destination = (splt->output_section->vma in arm_type_of_stub() 3705 + splt->output_offset in arm_type_of_stub() 4789 if (htab->root.splt != NULL && found->hash != NULL in cortex_a8_erratum_scan() 5170 sym_sec = htab->root.splt; in elf32_arm_size_stubs() 5244 && globals->root.splt != NULL in elf32_arm_size_stubs() [all …]
|
D | elf32-m68k.c | 3616 asection *splt; in elf_m68k_relocate_section() local 3628 splt = NULL; in elf_m68k_relocate_section() 3951 if (splt == NULL) in elf_m68k_relocate_section() 3953 splt = bfd_get_linker_section (dynobj, ".plt"); in elf_m68k_relocate_section() 3954 BFD_ASSERT (splt != NULL); in elf_m68k_relocate_section() 3957 relocation = (splt->output_section->vma in elf_m68k_relocate_section() 3958 + splt->output_offset in elf_m68k_relocate_section() 3970 if (splt == NULL) in elf_m68k_relocate_section() 3972 splt = bfd_get_linker_section (dynobj, ".plt"); in elf_m68k_relocate_section() 3973 BFD_ASSERT (splt != NULL); in elf_m68k_relocate_section() [all …]
|
D | elf32-hppa.c | 280 asection *splt; member 771 + htab->splt->output_offset in hppa_build_one_stub() 772 + htab->splt->output_section->vma in hppa_build_one_stub() 773 - elf_gp (htab->splt->output_section->owner)); in hppa_build_one_stub() 985 if (htab->splt != NULL) in elf32_hppa_create_dynamic_sections() 992 htab->splt = bfd_get_linker_section (abfd, ".plt"); in elf32_hppa_create_dynamic_sections() 1967 sec = htab->splt; in allocate_plt_static() 2015 sec = htab->splt; in allocate_dynrelocs() 2321 sec = htab->splt; in elf32_hppa_size_dynamic_sections() 2367 if (sec == htab->splt) in elf32_hppa_size_dynamic_sections() [all …]
|
D | elf64-s390.c | 775 htab->elf.splt = bfd_get_linker_section (dynobj, ".plt"); in elf_s390_create_dynamic_sections() 781 if (!htab->elf.splt || !htab->elf.srelplt || !htab->sdynbss in elf_s390_create_dynamic_sections() 1753 asection *s = htab->elf.splt; in allocate_dynrelocs() 2105 if (s == htab->elf.splt in elf_s390_size_dynamic_sections() 2176 if (htab->elf.splt->size != 0) in elf_s390_size_dynamic_sections() 2632 || (htab->elf.splt == NULL && !s390_is_ifunc_symbol_p (h))) in elf_s390_relocate_section() 2644 relocation = (htab->elf.splt->output_section->vma in elf_s390_relocate_section() 2645 + htab->elf.splt->output_offset in elf_s390_relocate_section() 2660 || (htab->elf.splt == NULL && !s390_is_ifunc_symbol_p (h))) in elf_s390_relocate_section() 2672 relocation = (htab->elf.splt->output_section->vma in elf_s390_relocate_section() [all …]
|