/toolchain/binutils/binutils-2.25/bfd/ |
D | elf32-i386.c | 2242 htab->elf.sgotplt->size += 4; in elf_i386_allocate_dynrelocs() 2308 eh->tlsdesc_got = htab->elf.sgotplt->size in elf_i386_allocate_dynrelocs() 2310 htab->elf.sgotplt->size += 8; in elf_i386_allocate_dynrelocs() 2767 *local_tlsdesc_gotent = htab->elf.sgotplt->size in elf_i386_size_dynamic_sections() 2769 htab->elf.sgotplt->size += 8; in elf_i386_size_dynamic_sections() 2837 if (htab->elf.sgotplt) in elf_i386_size_dynamic_sections() 2843 && (htab->elf.sgotplt->size in elf_i386_size_dynamic_sections() 2853 htab->elf.sgotplt->size = 0; in elf_i386_size_dynamic_sections() 2886 else if (s == htab->elf.sgotplt in elf_i386_size_dynamic_sections() 3349 gotplt = htab->elf.sgotplt; in elf_i386_relocate_section() [all …]
|
D | elf32-sh.c | 2460 asection *sgotplt; member 2616 htab->sgotplt = bfd_get_linker_section (dynobj, ".got.plt"); in create_got_section() 2618 if (! htab->sgot || ! htab->sgotplt || ! htab->srelgot) in create_got_section() 3006 htab->sgotplt->size += 4; in allocate_dynrelocs() 3008 htab->sgotplt->size += 8; in allocate_dynrelocs() 3489 BFD_ASSERT (htab->sgotplt && htab->sgotplt->size == 12); in sh_elf_size_dynamic_sections() 3490 htab->sgotplt->size = 0; in sh_elf_size_dynamic_sections() 3501 htab->root.hgot->root.u.def.value = htab->sgotplt->size; in sh_elf_size_dynamic_sections() 3502 htab->sgotplt->size += 12; in sh_elf_size_dynamic_sections() 3519 || s == htab->sgotplt in sh_elf_size_dynamic_sections() [all …]
|
D | elf64-x86-64.c | 2510 htab->elf.sgotplt->size += GOT_ENTRY_SIZE; in elf_x86_64_allocate_dynrelocs() 2556 eh->tlsdesc_got = htab->elf.sgotplt->size in elf_x86_64_allocate_dynrelocs() 2558 htab->elf.sgotplt->size += 2 * GOT_ENTRY_SIZE; in elf_x86_64_allocate_dynrelocs() 2999 *local_tlsdesc_gotent = htab->elf.sgotplt->size in elf_x86_64_size_dynamic_sections() 3001 htab->elf.sgotplt->size += 2 * GOT_ENTRY_SIZE; in elf_x86_64_size_dynamic_sections() 3089 if (htab->elf.sgotplt) in elf_x86_64_size_dynamic_sections() 3095 && (htab->elf.sgotplt->size in elf_x86_64_size_dynamic_sections() 3105 htab->elf.sgotplt->size = 0; in elf_x86_64_size_dynamic_sections() 3129 || s == htab->elf.sgotplt in elf_x86_64_size_dynamic_sections() 3659 base_got = htab->elf.sgotplt; in elf_x86_64_relocate_section() [all …]
|
D | elf32-microblaze.c | 725 asection *sgotplt; member 1138 relocation = htab->sgotplt->output_section->vma in microblaze_elf_relocate_section() 1139 + htab->sgotplt->output_offset; in microblaze_elf_relocate_section() 1212 if (htab->sgotplt != NULL && h->got.offset != (bfd_vma) -1) in microblaze_elf_relocate_section() 1348 - htab->sgotplt->output_section->vma in microblaze_elf_relocate_section() 1349 - htab->sgotplt->output_offset; in microblaze_elf_relocate_section() 1366 relocation -= htab->sgotplt->output_section->vma in microblaze_elf_relocate_section() 1367 + htab->sgotplt->output_offset; in microblaze_elf_relocate_section() 1380 relocation -= htab->sgotplt->output_section->vma in microblaze_elf_relocate_section() 1381 + htab->sgotplt->output_offset; in microblaze_elf_relocate_section() [all …]
|
D | elf32-tilepro.c | 1115 tilepro_plt_entry_build (asection *splt, asection *sgotplt, bfd_vma offset, in tilepro_plt_entry_build() argument 1123 bfd_signed_vma dist_got_entry = sgotplt->output_section->vma in tilepro_plt_entry_build() 1124 + sgotplt->output_offset in tilepro_plt_entry_build() 1269 htab->sgotplt = s; in tilepro_elf_create_got_section() 2253 htab->elf.sgotplt->size += GOT_ENTRY_SIZE; in allocate_dynrelocs() 2553 if (htab->elf.sgotplt) in tilepro_elf_size_dynamic_sections() 2564 && (htab->elf.sgotplt->size in tilepro_elf_size_dynamic_sections() 2571 htab->elf.sgotplt->size = 0; in tilepro_elf_size_dynamic_sections() 2584 || s == htab->elf.sgotplt in tilepro_elf_size_dynamic_sections() 3712 asection *sgotplt; in tilepro_elf_finish_dynamic_symbol() local [all …]
|
D | elfxx-tilegx.c | 1274 asection *splt, asection *sgotplt, in tilegx_plt_entry_build() argument 1283 bfd_signed_vma dist_got_entry = sgotplt->output_section->vma in tilegx_plt_entry_build() 1284 + sgotplt->output_offset in tilegx_plt_entry_build() 1474 htab->sgotplt = s; in tilegx_elf_create_got_section() 2520 htab->elf.sgotplt->size += GOT_ENTRY_SIZE (htab); in allocate_dynrelocs() 2814 if (htab->elf.sgotplt) in tilegx_elf_size_dynamic_sections() 2825 && (htab->elf.sgotplt->size in tilegx_elf_size_dynamic_sections() 2832 htab->elf.sgotplt->size = 0; in tilegx_elf_size_dynamic_sections() 2845 || s == htab->elf.sgotplt in tilegx_elf_size_dynamic_sections() 4097 asection *sgotplt; in tilegx_elf_finish_dynamic_symbol() local [all …]
|
D | elf32-cris.c | 1139 asection *sgotplt in cris_elf_relocate_section() local 1144 BFD_ASSERT (sgotplt != NULL); in cris_elf_relocate_section() 1588 asection *sgotplt = bfd_get_linker_section (dynobj, ".got.plt"); in cris_elf_relocate_section() local 1589 BFD_ASSERT (sgotplt != NULL); in cris_elf_relocate_section() 1602 bfd_put_32 (output_bfd, (bfd_vma) 0, sgotplt->contents + 12); in cris_elf_relocate_section() 1603 bfd_put_32 (output_bfd, (bfd_vma) 0, sgotplt->contents + 16); in cris_elf_relocate_section() 1604 outrel.r_offset = (sgotplt->output_section->vma in cris_elf_relocate_section() 1605 + sgotplt->output_offset in cris_elf_relocate_section() 1614 bfd_put_32 (output_bfd, (bfd_vma) 1, sgotplt->contents + 12); in cris_elf_relocate_section() 1615 bfd_put_32 (output_bfd, (bfd_vma) 0, sgotplt->contents + 16); in cris_elf_relocate_section() [all …]
|
D | elf32-nios2.c | 3108 relocation = (htab->root.sgotplt->output_offset + off in nios2_elf32_relocate_section() 3603 if (!bfd_set_section_alignment (dynobj, htab->root.sgotplt, 4)) in create_got_section() 3610 h = _bfd_elf_define_linkage_sym (dynobj, info, htab->root.sgotplt, in create_got_section() 4148 asection *sgotplt; in nios2_elf32_finish_dynamic_symbol() local 4160 sgotplt = htab->root.sgotplt; in nios2_elf32_finish_dynamic_symbol() 4162 BFD_ASSERT (splt != NULL && sgotplt != NULL && srela != NULL); in nios2_elf32_finish_dynamic_symbol() 4177 got_address = (sgotplt->output_section->vma + sgotplt->output_offset in nios2_elf32_finish_dynamic_symbol() 4185 + h->plt.offset, sgotplt->contents + got_offset); in nios2_elf32_finish_dynamic_symbol() 4193 got_address = (sgotplt->output_section->vma + sgotplt->output_offset in nios2_elf32_finish_dynamic_symbol() 4202 + plt_index * 4, sgotplt->contents + got_offset); in nios2_elf32_finish_dynamic_symbol() [all …]
|
D | elf32-s390.c | 832 htab->elf.sgotplt = bfd_get_linker_section (dynobj, ".got.plt"); in create_got_section() 834 if (!htab->elf.sgot || !htab->elf.sgotplt || !htab->elf.srelgot) in create_got_section() 1831 htab->elf.sgotplt->size += GOT_ENTRY_SIZE; in allocate_dynrelocs() 2156 || s == htab->elf.sgotplt in elf_s390_size_dynamic_sections() 3565 || htab->elf.sgotplt == NULL in elf_s390_finish_dynamic_symbol() 3598 (htab->elf.sgotplt->output_section->vma in elf_s390_finish_dynamic_symbol() 3599 + htab->elf.sgotplt->output_offset in elf_s390_finish_dynamic_symbol() 3663 htab->elf.sgotplt->contents + got_offset); in elf_s390_finish_dynamic_symbol() 3666 rela.r_offset = (htab->elf.sgotplt->output_section->vma in elf_s390_finish_dynamic_symbol() 3667 + htab->elf.sgotplt->output_offset in elf_s390_finish_dynamic_symbol() [all …]
|
D | elf64-s390.c | 748 htab->elf.sgotplt = bfd_get_linker_section (dynobj, ".got.plt"); in create_got_section() 750 if (!htab->elf.sgot || !htab->elf.sgotplt || !htab->elf.srelgot) in create_got_section() 1779 htab->elf.sgotplt->size += GOT_ENTRY_SIZE; in allocate_dynrelocs() 2107 || s == htab->elf.sgotplt in elf_s390_size_dynamic_sections() 3433 || htab->elf.sgotplt == NULL in elf_s390_finish_dynamic_symbol() 3451 (htab->elf.sgotplt->output_section->vma + in elf_s390_finish_dynamic_symbol() 3452 htab->elf.sgotplt->output_offset + got_offset in elf_s390_finish_dynamic_symbol() 3472 htab->elf.sgotplt->contents + got_offset); in elf_s390_finish_dynamic_symbol() 3475 rela.r_offset = (htab->elf.sgotplt->output_section->vma in elf_s390_finish_dynamic_symbol() 3476 + htab->elf.sgotplt->output_offset in elf_s390_finish_dynamic_symbol() [all …]
|
D | elfnn-aarch64.c | 4570 base_got = globals->root.sgotplt; in elfNN_aarch64_final_link_relocate() 4852 + globals->root.sgotplt->output_section->vma in elfNN_aarch64_final_link_relocate() 4853 + globals->root.sgotplt->output_offset in elfNN_aarch64_final_link_relocate() 5364 rela.r_offset = (globals->root.sgotplt->output_section->vma in elfNN_aarch64_relocate_section() 5365 + globals->root.sgotplt->output_offset in elfNN_aarch64_relocate_section() 5386 globals->root.sgotplt->contents + off + in elfNN_aarch64_relocate_section() 5389 globals->root.sgotplt->contents + off + in elfNN_aarch64_relocate_section() 5953 htab->sgotplt = s; in aarch64_elf_create_got_section() 6964 htab->root.sgotplt->size += GOT_ENTRY_SIZE; in elfNN_aarch64_allocate_dynrelocs() 7037 (htab->root.sgotplt->size in elfNN_aarch64_allocate_dynrelocs() [all …]
|
D | elf32-nds32.h | 129 asection *sgotplt; member
|
D | elf32-vax.c | 1361 asection *sgotplt; in elf_vax_relocate_section() local 1372 sgotplt = NULL; in elf_vax_relocate_section() 1516 if (sgotplt == NULL) in elf_vax_relocate_section() 1518 sgotplt = bfd_get_linker_section (dynobj, ".got.plt"); in elf_vax_relocate_section() 1519 BFD_ASSERT (sgotplt != NULL); in elf_vax_relocate_section() 1531 relocation = (sgotplt->output_section->vma in elf_vax_relocate_section() 1532 + sgotplt->output_offset in elf_vax_relocate_section()
|
D | elf32-xtensa.c | 595 asection *sgotplt; member 1413 htab->sgotplt = bfd_get_linker_section (dynobj, ".got.plt"); in elf_xtensa_create_dynamic_sections() 1426 if (htab->sgotplt == NULL in elf_xtensa_create_dynamic_sections() 1427 || ! bfd_set_section_flags (dynobj, htab->sgotplt, flags)) in elf_xtensa_create_dynamic_sections() 1605 asection *s, *srelplt, *splt, *sgotplt, *srelgot, *spltlittbl, *sgotloc; in elf_xtensa_size_dynamic_sections() local 1675 sgotplt = elf_xtensa_get_gotplt_section (info, chunk); in elf_xtensa_size_dynamic_sections() 1676 BFD_ASSERT (sgotplt != NULL); in elf_xtensa_size_dynamic_sections() 1687 sgotplt->size = 4 * (chunk_entries + 2); in elf_xtensa_size_dynamic_sections() 1694 sgotplt->size = 0; in elf_xtensa_size_dynamic_sections() 2309 asection *splt, *sgotplt; in elf_xtensa_create_plt_entry() local [all …]
|
D | elf32-or1k.c | 620 asection *sgotplt; member 1383 htab->sgotplt = bfd_get_section_by_name (dynobj, ".got.plt"); in create_got_section() 1386 if (! htab->sgot || ! htab->sgotplt || ! htab->srelgot) in create_got_section() 1730 sgot = htab->sgotplt; in or1k_elf_finish_dynamic_sections() 1893 sgot = htab->sgotplt; in or1k_elf_finish_dynamic_symbol() 1912 got_addr += htab->sgotplt->output_section->vma in or1k_elf_finish_dynamic_symbol() 1913 + htab->sgotplt->output_offset; in or1k_elf_finish_dynamic_symbol() 2254 htab->sgotplt->size += 4; in allocate_dynrelocs() 2546 || s == htab->sgotplt in or1k_elf_size_dynamic_sections()
|
D | elf32-lm32.c | 91 asection *sgotplt; member 222 htab->sgotplt = bfd_get_linker_section (dynobj, ".got.plt"); in create_got_section() 224 if (! htab->sgot || ! htab->sgotplt || ! htab->srelgot) in create_got_section() 1427 sgot = htab->sgotplt; in lm32_elf_finish_dynamic_sections() 1618 sgot = htab->sgotplt; in lm32_elf_finish_dynamic_symbol() 1959 htab->sgotplt->size += 4; in allocate_dynrelocs() 2224 || s == htab->sgotplt in lm32_elf_size_dynamic_sections()
|
D | elf-ifunc.c | 190 gotplt = htab->sgotplt; in _bfd_elf_allocate_ifunc_dyn_relocs()
|
D | elf32-tic6x.c | 1757 gotplt = htab->elf.sgotplt; in elf32_tic6x_finish_dynamic_symbol() 2619 - htab->elf.sgotplt->output_section->vma in elf32_tic6x_relocate_section() 2620 - htab->elf.sgotplt->output_offset); in elf32_tic6x_relocate_section() 3160 htab->elf.sgotplt->size += 4; in elf32_tic6x_allocate_dynrelocs() 3391 || s == htab->elf.sgotplt in elf32_tic6x_size_dynamic_sections() 3562 s = htab->elf.sgotplt; in elf32_tic6x_finish_dynamic_sections() 3582 bfd_vma got_offs = (htab->elf.sgotplt->output_section->vma in elf32_tic6x_finish_dynamic_sections() 3583 + htab->elf.sgotplt->output_offset in elf32_tic6x_finish_dynamic_sections()
|
D | elf32-m32r.c | 1522 asection *sgotplt; member 1620 htab->sgotplt = bfd_get_linker_section (dynobj, ".got.plt"); in create_got_section() 1622 if (! htab->sgot || ! htab->sgotplt || ! htab->srelgot) in create_got_section() 1986 htab->sgotplt->size += 4; in allocate_dynrelocs() 2255 || s == htab->sgotplt in m32r_elf_size_dynamic_sections() 3136 sgot = htab->sgotplt; in m32r_elf_finish_dynamic_symbol() 3323 sgot = htab->sgotplt; in m32r_elf_finish_dynamic_sections()
|
D | elfxx-sparc.c | 2315 htab->elf.sgotplt->size += 4; in allocate_dynrelocs() 2692 || s == htab->elf.sgotplt) in _bfd_sparc_elf_size_dynamic_sections() 4265 BFD_ASSERT (htab->elf.sgotplt != NULL); in sparc_vxworks_build_plt_entry() 4270 htab->elf.sgotplt->contents + got_offset); in sparc_vxworks_build_plt_entry() 4294 rela.r_offset = (htab->elf.sgotplt->output_section->vma in sparc_vxworks_build_plt_entry() 4295 + htab->elf.sgotplt->output_offset in sparc_vxworks_build_plt_entry() 4361 rela.r_offset = (htab->elf.sgotplt->output_section->vma in _bfd_sparc_elf_finish_dynamic_symbol() 4362 + htab->elf.sgotplt->output_offset in _bfd_sparc_elf_finish_dynamic_symbol() 4591 if (htab->elf.sgotplt) in sparc_finish_dyn() 4593 dyn.d_un.d_val = (htab->elf.sgotplt->output_section->vma in sparc_finish_dyn() [all …]
|
D | elf64-sh64.c | 1438 asection *sgotplt; in sh_elf64_relocate_section() local 1449 sgotplt = NULL; in sh_elf64_relocate_section() 1797 if (sgotplt == NULL) in sh_elf64_relocate_section() 1799 sgotplt = bfd_get_linker_section (dynobj, ".got.plt"); in sh_elf64_relocate_section() 1800 BFD_ASSERT (sgotplt != NULL); in sh_elf64_relocate_section() 1803 relocation = (sgotplt->output_offset in sh_elf64_relocate_section()
|
D | elf32-metag.c | 847 asection *sgotplt; member 2048 htab->sgotplt = bfd_make_section_with_flags (abfd, ".got.plt", in elf_metag_create_dynamic_sections() 2053 if (htab->sgotplt == NULL in elf_metag_create_dynamic_sections() 2054 || !bfd_set_section_alignment (abfd, htab->sgotplt, 2)) in elf_metag_create_dynamic_sections() 2653 htab->sgotplt->size += 4; in allocate_dynrelocs() 2948 || s == htab->sgotplt in elf_metag_size_dynamic_sections() 3090 sgot = htab->sgotplt; in elf_metag_finish_dynamic_symbol()
|
D | elf64-alpha.c | 2592 asection *splt, *spltrel, *sgotplt; in elf64_alpha_size_plt_section() local 2628 sgotplt = bfd_get_linker_section (dynobj, ".got.plt"); in elf64_alpha_size_plt_section() 2629 sgotplt->size = entries ? 16 : 0; in elf64_alpha_size_plt_section() 4983 asection *splt, *sgotplt, *srelaplt; in elf64_alpha_finish_dynamic_sections() local 4996 sgotplt = bfd_get_linker_section (dynobj, ".got.plt"); in elf64_alpha_finish_dynamic_sections() 4997 BFD_ASSERT (sgotplt != NULL); in elf64_alpha_finish_dynamic_sections() 4998 if (sgotplt->size > 0) in elf64_alpha_finish_dynamic_sections() 4999 gotplt_vma = sgotplt->output_section->vma + sgotplt->output_offset; in elf64_alpha_finish_dynamic_sections()
|
D | elf32-ppc.c | 3163 asection *sgotplt; member 3320 htab->sgotplt = bfd_get_linker_section (abfd, ".got.plt"); in ppc_elf_create_got() 3321 if (!htab->sgotplt) in ppc_elf_create_got() 5877 htab->sgotplt->size += 4; in allocate_dynrelocs() 6422 || s == htab->sgotplt in ppc_elf_size_dynamic_sections() 9603 htab->sgotplt->contents + got_offset); in ppc_elf_finish_dynamic_symbol() 9635 rela.r_offset = (htab->sgotplt->output_section->vma in ppc_elf_finish_dynamic_symbol() 9636 + htab->sgotplt->output_offset in ppc_elf_finish_dynamic_symbol() 9649 rela.r_offset = (htab->sgotplt->output_section->vma in ppc_elf_finish_dynamic_symbol() 9650 + htab->sgotplt->output_offset in ppc_elf_finish_dynamic_symbol() [all …]
|
D | elf32-arm.c | 7506 asection *sgotplt; in elf32_arm_allocate_plt_entry() local 7513 sgotplt = htab->root.igotplt; in elf32_arm_allocate_plt_entry() 7525 sgotplt = htab->root.sgotplt; in elf32_arm_allocate_plt_entry() 7549 arm_plt->got_offset = sgotplt->size; in elf32_arm_allocate_plt_entry() 7551 arm_plt->got_offset = sgotplt->size - 8 * htab->num_tls_desc; in elf32_arm_allocate_plt_entry() 7552 sgotplt->size += 4; in elf32_arm_allocate_plt_entry() 7612 sgot = htab->root.sgotplt; in elf32_arm_populate_plt_entry() 9602 <= globals->root.sgotplt->size); in elf32_arm_final_link_relocate() 9605 outrel.r_offset = (globals->root.sgotplt->output_section->vma in elf32_arm_final_link_relocate() 9606 + globals->root.sgotplt->output_offset in elf32_arm_final_link_relocate() [all …]
|