/toolchain/binutils/binutils-2.25/bfd/ |
D | elf32-vax.c | 555 asection *sgot; in elf_vax_check_relocs() local 566 sgot = NULL; in elf_vax_check_relocs() 614 if (sgot == NULL) in elf_vax_check_relocs() 616 sgot = bfd_get_linker_section (dynobj, ".got"); in elf_vax_check_relocs() 617 BFD_ASSERT (sgot != NULL); in elf_vax_check_relocs() 1307 asection *sgot; in elf_vax_instantiate_got_entries() local 1317 sgot = bfd_get_linker_section (dynobj, ".got"); in elf_vax_instantiate_got_entries() 1335 sgot->size += 4; in elf_vax_instantiate_got_entries() 1359 asection *sgot; in elf_vax_relocate_section() local 1370 sgot = NULL; in elf_vax_relocate_section() [all …]
|
D | elf32-or1k.c | 619 asection *sgot; member 808 asection *sgot; in or1k_elf_relocate_section() local 818 sgot = htab->sgot; in or1k_elf_relocate_section() 898 BFD_ASSERT (sgot != NULL); in or1k_elf_relocate_section() 930 sgot->contents + off); in or1k_elf_relocate_section() 936 relocation = sgot->output_offset + off; in or1k_elf_relocate_section() 957 bfd_put_32 (output_bfd, relocation, sgot->contents + off); in or1k_elf_relocate_section() 968 outrel.r_offset = (sgot->output_section->vma in or1k_elf_relocate_section() 969 + sgot->output_offset in or1k_elf_relocate_section() 981 relocation = sgot->output_offset + off; in or1k_elf_relocate_section() [all …]
|
D | elf32-cris.c | 977 asection *sgot; in cris_elf_relocate_section() local 994 sgot = NULL; in cris_elf_relocate_section() 1002 sgot = bfd_get_linker_section (dynobj, ".got"); in cris_elf_relocate_section() 1244 sgot->contents + off); in cris_elf_relocate_section() 1263 bfd_put_32 (output_bfd, relocation, sgot->contents + off); in cris_elf_relocate_section() 1275 outrel.r_offset = (sgot->output_section->vma in cris_elf_relocate_section() 1276 + sgot->output_offset in cris_elf_relocate_section() 1289 relocation = sgot->output_offset + off; in cris_elf_relocate_section() 1345 if (sgot == NULL) in cris_elf_relocate_section() 1361 relocation -= sgot->output_section->vma; in cris_elf_relocate_section() [all …]
|
D | elf32-lm32.c | 90 asection *sgot; member 109 (lm32_elf_hash_table (info)->sgot) 221 htab->sgot = bfd_get_linker_section (dynobj, ".got"); in create_got_section() 224 if (! htab->sgot || ! htab->sgotplt || ! htab->srelgot) in create_got_section() 823 asection *sgot; in lm32_elf_relocate_section() local 831 sgot = htab->sgot; in lm32_elf_relocate_section() 934 BFD_ASSERT (sgot != NULL); in lm32_elf_relocate_section() 969 sgot->contents + off); in lm32_elf_relocate_section() 976 sgot->output_section->vma in lm32_elf_relocate_section() 977 + sgot->output_offset in lm32_elf_relocate_section() [all …]
|
D | elf64-sh64.c | 1437 asection *sgot; in sh_elf64_relocate_section() local 1448 sgot = NULL; in sh_elf64_relocate_section() 1820 if (sgot == NULL) in sh_elf64_relocate_section() 1822 sgot = bfd_get_linker_section (dynobj, ".got"); in sh_elf64_relocate_section() 1823 BFD_ASSERT (sgot != NULL); in sh_elf64_relocate_section() 1864 sgot->contents + off); in sh_elf64_relocate_section() 1877 relocation = sgot->output_offset + off; in sh_elf64_relocate_section() 1908 bfd_put_64 (output_bfd, relocation, sgot->contents + off); in sh_elf64_relocate_section() 1919 outrel.r_offset = (sgot->output_section->vma in sh_elf64_relocate_section() 1920 + sgot->output_offset in sh_elf64_relocate_section() [all …]
|
D | elf32-m32r.c | 1521 asection *sgot; member 1619 htab->sgot = bfd_get_linker_section (dynobj, ".got"); in create_got_section() 1622 if (! htab->sgot || ! htab->sgotplt || ! htab->srelgot) in create_got_section() 1692 if (htab->sgot == NULL in m32r_elf_create_dynamic_sections() 2017 s = htab->sgot; in allocate_dynrelocs() 2225 s = htab->sgot; in m32r_elf_size_dynamic_sections() 2254 || s == htab->sgot in m32r_elf_size_dynamic_sections() 2404 asection *sgot, *splt, *sreloc; in m32r_elf_relocate_section() local 2413 sgot = htab->sgot; in m32r_elf_relocate_section() 2666 BFD_ASSERT (sgot != NULL); in m32r_elf_relocate_section() [all …]
|
D | elf-m10300.c | 697 if (htab->sgot != NULL) in _bfd_mn10300_elf_create_got_section() 743 htab->sgot = s; in _bfd_mn10300_elf_create_got_section() 1049 asection * sgot; in mn10300_elf_check_relocs() local 1054 sgot = NULL; in mn10300_elf_check_relocs() 1169 if (sgot == NULL) in mn10300_elf_check_relocs() 1171 sgot = htab->root.sgot; in mn10300_elf_check_relocs() 1172 BFD_ASSERT (sgot != NULL); in mn10300_elf_check_relocs() 1195 htab->tls_ldm_got.offset = sgot->size; in mn10300_elf_check_relocs() 1222 h->got.offset = sgot->size; in mn10300_elf_check_relocs() 1263 local_got_offsets[r_symndx] = sgot->size; in mn10300_elf_check_relocs() [all …]
|
D | elf32-m68k.c | 2552 asection *sgot; in elf_m68k_check_relocs() local 2564 sgot = NULL; in elf_m68k_check_relocs() 2637 if (sgot == NULL) in elf_m68k_check_relocs() 2639 sgot = bfd_get_linker_section (dynobj, ".got"); in elf_m68k_check_relocs() 2640 BFD_ASSERT (sgot != NULL); in elf_m68k_check_relocs() 3507 asection *sgot, in elf_m68k_init_got_entry_static() argument 3514 bfd_put_32 (output_bfd, relocation, sgot->contents + got_entry_offset); in elf_m68k_init_got_entry_static() 3521 sgot->contents + got_entry_offset + 4); in elf_m68k_init_got_entry_static() 3526 bfd_put_32 (output_bfd, 1, sgot->contents + got_entry_offset); in elf_m68k_init_got_entry_static() 3531 sgot->contents + got_entry_offset); in elf_m68k_init_got_entry_static() [all …]
|
D | elf32-metag.c | 846 asection *sgot; member 1677 BFD_ASSERT (htab->sgot != NULL); in elf_metag_relocate_section() 1679 relocation = (htab->sgot->output_section->vma + in elf_metag_relocate_section() 1680 htab->sgot->output_offset); in elf_metag_relocate_section() 1689 BFD_ASSERT (htab->sgot != NULL); in elf_metag_relocate_section() 1691 relocation -= (htab->sgot->output_section->vma + in elf_metag_relocate_section() 1692 htab->sgot->output_offset); in elf_metag_relocate_section() 1758 + htab->sgot->output_offset in elf_metag_relocate_section() 1759 + htab->sgot->output_section->vma); in elf_metag_relocate_section() 1768 htab->sgot->contents + off); in elf_metag_relocate_section() [all …]
|
D | elf32-score7.c | 951 asection *sgot = bfd_get_linker_section (abfd, ".got"); in score_elf_got_section() local 953 if (sgot == NULL || (! maybe_excluded && (sgot->flags & SEC_EXCLUDE) != 0)) in score_elf_got_section() 955 return sgot; in score_elf_got_section() 964 asection *sgot; in score_elf_got_info() local 967 sgot = score_elf_got_section (abfd, TRUE); in score_elf_got_info() 968 BFD_ASSERT (sgot != NULL); in score_elf_got_info() 969 BFD_ASSERT (elf_section_data (sgot) != NULL); in score_elf_got_info() 970 g = score_elf_section_data (sgot)->u.got_info; in score_elf_got_info() 974 *sgotp = sgot; in score_elf_got_info() 1348 asection *sgot, bfd_vma value, in score_elf_create_local_got_entry() argument [all …]
|
D | elf64-s390.c | 747 htab->elf.sgot = bfd_get_linker_section (dynobj, ".got"); in create_got_section() 750 if (!htab->elf.sgot || !htab->elf.sgotplt || !htab->elf.srelgot) in create_got_section() 769 if (!htab->elf.sgot && !create_got_section (dynobj, info)) in elf_s390_create_dynamic_sections() 1013 if (htab->elf.sgot == NULL) in elf_s390_check_relocs() 1812 h->got.offset = htab->elf.sgot->size; in allocate_dynrelocs() 1813 htab->elf.sgot->size += GOT_ENTRY_SIZE; in allocate_dynrelocs() 1833 s = htab->elf.sgot; in allocate_dynrelocs() 2050 s = htab->elf.sgot; in elf_s390_size_dynamic_sections() 2086 htab->tls_ldm_got.offset = htab->elf.sgot->size; in elf_s390_size_dynamic_sections() 2087 htab->elf.sgot->size += 2 * GOT_ENTRY_SIZE; in elf_s390_size_dynamic_sections() [all …]
|
D | elf32-cr16.c | 695 asection * sgot; in cr16_elf_check_relocs() local 698 sgot = NULL; in cr16_elf_check_relocs() 757 if (sgot == NULL) in cr16_elf_check_relocs() 759 sgot = bfd_get_linker_section (dynobj, ".got"); in cr16_elf_check_relocs() 760 BFD_ASSERT (sgot != NULL); in cr16_elf_check_relocs() 787 h->got.offset = sgot->size; in cr16_elf_check_relocs() 823 local_got_offsets[r_symndx] = sgot->size; in cr16_elf_check_relocs() 832 sgot->size += 4; in cr16_elf_check_relocs() 1052 asection * sgot = bfd_get_linker_section (dynobj, ".got"); in cr16_elf_final_link_relocate() local 1071 bfd_put_32 (output_bfd, Rvalue, sgot->contents + off); in cr16_elf_final_link_relocate() [all …]
|
D | elf32-s390.c | 831 htab->elf.sgot = bfd_get_linker_section (dynobj, ".got"); in create_got_section() 834 if (!htab->elf.sgot || !htab->elf.sgotplt || !htab->elf.srelgot) in create_got_section() 850 if (!htab->elf.sgot && !create_got_section (dynobj, info)) in elf_s390_create_dynamic_sections() 1086 if (htab->elf.sgot == NULL) in elf_s390_check_relocs() 1864 h->got.offset = htab->elf.sgot->size; in allocate_dynrelocs() 1865 htab->elf.sgot->size += GOT_ENTRY_SIZE; in allocate_dynrelocs() 1885 s = htab->elf.sgot; in allocate_dynrelocs() 2100 s = htab->elf.sgot; in elf_s390_size_dynamic_sections() 2135 htab->tls_ldm_got.offset = htab->elf.sgot->size; in elf_s390_size_dynamic_sections() 2136 htab->elf.sgot->size += 2 * GOT_ENTRY_SIZE; in elf_s390_size_dynamic_sections() [all …]
|
D | elf32-microblaze.c | 724 asection *sgot; member 1196 if (htab->sgot == NULL) in microblaze_elf_relocate_section() 1259 got_offset = (htab->sgot->output_section->vma in microblaze_elf_relocate_section() 1260 + htab->sgot->output_offset in microblaze_elf_relocate_section() 1268 bfd_put_32 (output_bfd, 1, htab->sgot->contents + off); in microblaze_elf_relocate_section() 1282 bfd_put_32 (output_bfd, 1, htab->sgot->contents + off); in microblaze_elf_relocate_section() 1298 got_offset = (htab->sgot->output_section->vma in microblaze_elf_relocate_section() 1299 + htab->sgot->output_offset in microblaze_elf_relocate_section() 1305 bfd_put_32 (output_bfd, 0, htab->sgot->contents + off2); in microblaze_elf_relocate_section() 1321 htab->sgot->contents + off2); in microblaze_elf_relocate_section() [all …]
|
D | elf32-score.c | 1068 asection *sgot = bfd_get_linker_section (abfd, ".got"); in score_elf_got_section() local 1070 if (sgot == NULL || (! maybe_excluded && (sgot->flags & SEC_EXCLUDE) != 0)) in score_elf_got_section() 1072 return sgot; in score_elf_got_section() 1080 asection *sgot; in score_elf_got_info() local 1083 sgot = score_elf_got_section (abfd, TRUE); in score_elf_got_info() 1084 BFD_ASSERT (sgot != NULL); in score_elf_got_info() 1085 BFD_ASSERT (elf_section_data (sgot) != NULL); in score_elf_got_info() 1086 g = score_elf_section_data (sgot)->u.got_info; in score_elf_got_info() 1090 *sgotp = sgot; in score_elf_got_info() 1488 asection *sgot, bfd_vma value, in score_elf_create_local_got_entry() argument [all …]
|
D | elf32-nios2.c | 2739 asection *sgot; in nios2_elf32_relocate_section() local 2750 sgot = htab->root.sgot; in nios2_elf32_relocate_section() 3017 if (sgot == NULL) in nios2_elf32_relocate_section() 3057 sgot->contents + off); in nios2_elf32_relocate_section() 3079 sgot->contents + off); in nios2_elf32_relocate_section() 3091 outrel.r_offset = (sgot->output_section->vma in nios2_elf32_relocate_section() 3092 + sgot->output_offset in nios2_elf32_relocate_section() 3112 relocation = sgot->output_offset + off - got_base; in nios2_elf32_relocate_section() 3148 BFD_ASSERT (sgot != NULL); in nios2_elf32_relocate_section() 3149 if (sgot == NULL) in nios2_elf32_relocate_section() [all …]
|
D | elf32-tilepro.c | 1257 htab->sgot = s; in tilepro_elf_create_got_section() 1643 if (htab->elf.sgot == NULL) in tilepro_elf_check_relocs() 2292 s = htab->elf.sgot; in allocate_dynrelocs() 2519 s = htab->elf.sgot; in tilepro_elf_size_dynamic_sections() 2548 if (htab->elf.sgot->size >= 0x8000 in tilepro_elf_size_dynamic_sections() 2568 && (htab->elf.sgot == NULL in tilepro_elf_size_dynamic_sections() 2569 || (htab->elf.sgot->size in tilepro_elf_size_dynamic_sections() 2583 || s == htab->elf.sgot in tilepro_elf_size_dynamic_sections() 3055 if (htab->elf.sgot == NULL) in tilepro_elf_relocate_section() 3087 htab->elf.sgot->contents + off); in tilepro_elf_relocate_section() [all …]
|
D | sunos.c | 1316 asection *sgot; in sunos_scan_std_relocs() local 1325 sgot = bfd_get_linker_section (dynobj, ".got"); in sunos_scan_std_relocs() 1326 BFD_ASSERT (sgot != NULL); in sunos_scan_std_relocs() 1327 if (sgot->size == 0) in sunos_scan_std_relocs() 1328 sgot->size = BYTES_IN_WORD; in sunos_scan_std_relocs() 1406 asection *sgot = NULL; in sunos_scan_ext_relocs() local 1472 sgot = bfd_get_linker_section (dynobj, ".got"); in sunos_scan_ext_relocs() 1474 BFD_ASSERT (splt != NULL && sgot != NULL && srel != NULL); in sunos_scan_ext_relocs() 1477 if (sgot->size == 0) in sunos_scan_ext_relocs() 1478 sgot->size = BYTES_IN_WORD; in sunos_scan_ext_relocs() [all …]
|
D | elf32-i386.c | 1662 if (htab->elf.sgot == NULL) in elf_i386_check_relocs() 2305 s = htab->elf.sgot; in elf_i386_allocate_dynrelocs() 2757 s = htab->elf.sgot; in elf_i386_size_dynamic_sections() 2803 htab->tls_ldm_got.offset = htab->elf.sgot->size; in elf_i386_size_dynamic_sections() 2804 htab->elf.sgot->size += 8; in elf_i386_size_dynamic_sections() 2847 && (htab->elf.sgot == NULL in elf_i386_size_dynamic_sections() 2848 || htab->elf.sgot->size == 0) in elf_i386_size_dynamic_sections() 2875 || s == htab->elf.sgot) in elf_i386_size_dynamic_sections() 3430 base_got = htab->elf.sgot; in elf_i386_relocate_section() 3509 if (htab->elf.sgot == NULL) in elf_i386_relocate_section() [all …]
|
D | elfxx-tilegx.c | 1462 htab->sgot = s; in tilegx_elf_create_got_section() 1851 if (htab->elf.sgot == NULL) in tilegx_elf_check_relocs() 2560 s = htab->elf.sgot; in allocate_dynrelocs() 2780 s = htab->elf.sgot; in tilegx_elf_size_dynamic_sections() 2809 if (htab->elf.sgot->size >= 0x8000 in tilegx_elf_size_dynamic_sections() 2829 && (htab->elf.sgot == NULL in tilegx_elf_size_dynamic_sections() 2830 || (htab->elf.sgot->size in tilegx_elf_size_dynamic_sections() 2844 || s == htab->elf.sgot in tilegx_elf_size_dynamic_sections() 3431 if (htab->elf.sgot == NULL) in tilegx_elf_relocate_section() 3463 htab->elf.sgot->contents + off); in tilegx_elf_relocate_section() [all …]
|
D | elf64-x86-64.c | 1826 if (htab->elf.sgot == NULL) in elf_x86_64_check_relocs() 2564 s = htab->elf.sgot; in elf_x86_64_allocate_dynrelocs() 2989 s = htab->elf.sgot; in elf_x86_64_size_dynamic_sections() 3036 htab->tls_ld_got.offset = htab->elf.sgot->size; in elf_x86_64_size_dynamic_sections() 3037 htab->elf.sgot->size += 2 * GOT_ENTRY_SIZE; in elf_x86_64_size_dynamic_sections() 3078 htab->tlsdesc_got = htab->elf.sgot->size; in elf_x86_64_size_dynamic_sections() 3079 htab->elf.sgot->size += GOT_ENTRY_SIZE; in elf_x86_64_size_dynamic_sections() 3099 && (htab->elf.sgot == NULL in elf_x86_64_size_dynamic_sections() 3100 || htab->elf.sgot->size == 0) in elf_x86_64_size_dynamic_sections() 3128 || s == htab->elf.sgot in elf_x86_64_size_dynamic_sections() [all …]
|
D | elf64-alpha.c | 3836 asection *sgot = alpha_elf_tdata (info.gotobj)->got; in elf64_alpha_relax_section() local 3837 info.gp = (sgot->output_section->vma in elf64_alpha_relax_section() 3838 + sgot->output_offset in elf64_alpha_relax_section() 4193 asection *sgot, *srel, *srelgot; in elf64_alpha_relocate_section() local 4235 sgot = alpha_elf_tdata (gotobj)->got; in elf64_alpha_relocate_section() 4239 gp = (sgot->output_section->vma in elf64_alpha_relocate_section() 4240 + sgot->output_offset in elf64_alpha_relocate_section() 4247 sgot = NULL; in elf64_alpha_relocate_section() 4412 BFD_ASSERT(sgot != NULL); in elf64_alpha_relocate_section() 4422 sgot->contents + gotent->got_offset); in elf64_alpha_relocate_section() [all …]
|
D | elfnn-aarch64.c | 3912 asection *basegot = globals->root.sgot; in aarch64_calculate_got_entry_vma() 4551 base_got = globals->root.sgot; in elfNN_aarch64_final_link_relocate() 4799 if (globals->root.sgot == NULL) in elfNN_aarch64_final_link_relocate() 4817 if (globals->root.sgot == NULL) in elfNN_aarch64_final_link_relocate() 4821 + globals->root.sgot->output_section->vma in elfNN_aarch64_final_link_relocate() 4822 + globals->root.sgot->output_offset); in elfNN_aarch64_final_link_relocate() 4849 if (globals->root.sgot == NULL) in elfNN_aarch64_final_link_relocate() 5228 rela.r_offset = globals->root.sgot->output_section->vma + in elfNN_aarch64_relocate_section() 5229 globals->root.sgot->output_offset + off; in elfNN_aarch64_relocate_section() 5241 globals->root.sgot->contents + off in elfNN_aarch64_relocate_section() [all …]
|
D | elf32-sh.c | 2459 asection *sgot; member 2615 htab->sgot = bfd_get_linker_section (dynobj, ".got"); in create_got_section() 2618 if (! htab->sgot || ! htab->sgotplt || ! htab->srelgot) in create_got_section() 2739 if (htab->sgot == NULL in sh_elf_create_dynamic_sections() 3057 s = htab->sgot; in allocate_dynrelocs() 3117 s = htab->sgot; in allocate_dynrelocs() 3404 s = htab->sgot; in sh_elf_size_dynamic_sections() 3478 htab->tls_ldm_got.offset = htab->sgot->size; in sh_elf_size_dynamic_sections() 3479 htab->sgot->size += 8; in sh_elf_size_dynamic_sections() 3518 || s == htab->sgot in sh_elf_size_dynamic_sections() [all …]
|
D | elf-ifunc.c | 261 || htab->sgot == NULL) in _bfd_elf_allocate_ifunc_dyn_relocs() 268 h->got.offset = htab->sgot->size; in _bfd_elf_allocate_ifunc_dyn_relocs() 269 htab->sgot->size += got_entry_size; in _bfd_elf_allocate_ifunc_dyn_relocs()
|