Lines Matching refs:sgotplt
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()
3670 return (htab->sgot->output_offset - htab->sgotplt->output_offset in sh_elf_got_offset()
3820 asection *sgotplt = NULL; in sh_elf_relocate_section() local
3835 sgotplt = htab->sgotplt; in sh_elf_relocate_section()
4464 BFD_ASSERT (sgotplt != NULL); in sh_elf_relocate_section()
4465 relocation = (sgotplt->output_offset in sh_elf_relocate_section()
4672 BFD_ASSERT (sgotplt != NULL); in sh_elf_relocate_section()
4674 relocation -= sgotplt->output_section->vma + sgotplt->output_offset in sh_elf_relocate_section()
4702 BFD_ASSERT (sgotplt != NULL); in sh_elf_relocate_section()
4703 relocation = sgotplt->output_section->vma + sgotplt->output_offset; in sh_elf_relocate_section()
5040 + sgotplt->output_offset); in sh_elf_relocate_section()
5178 if (sgot == NULL || sgotplt == NULL) in sh_elf_relocate_section()
5375 if (sgot == NULL || sgotplt == NULL) in sh_elf_relocate_section()
6695 asection *sgotplt; in sh_elf_finish_dynamic_symbol() local
6710 sgotplt = htab->sgotplt; in sh_elf_finish_dynamic_symbol()
6712 BFD_ASSERT (splt != NULL && sgotplt != NULL && srelplt != NULL); in sh_elf_finish_dynamic_symbol()
6730 got_offset = plt_index * 8 + 12 - sgotplt->size; in sh_elf_finish_dynamic_symbol()
6768 (sgotplt->output_section->vma in sh_elf_finish_dynamic_symbol()
6769 + sgotplt->output_offset in sh_elf_finish_dynamic_symbol()
6834 sgotplt->contents + got_offset); in sh_elf_finish_dynamic_symbol()
6839 sgotplt->contents + got_offset + 4); in sh_elf_finish_dynamic_symbol()
6842 rel.r_offset = (sgotplt->output_section->vma in sh_elf_finish_dynamic_symbol()
6843 + sgotplt->output_offset in sh_elf_finish_dynamic_symbol()
6876 rel.r_offset = (sgotplt->output_section->vma in sh_elf_finish_dynamic_symbol()
6877 + sgotplt->output_offset in sh_elf_finish_dynamic_symbol()
7055 asection *sgotplt; in sh_elf_finish_dynamic_sections() local
7062 sgotplt = htab->sgotplt; in sh_elf_finish_dynamic_sections()
7070 BFD_ASSERT (sgotplt != NULL && sdyn != NULL); in sh_elf_finish_dynamic_sections()
7169 (sgotplt->output_section->vma in sh_elf_finish_dynamic_sections()
7170 + sgotplt->output_offset in sh_elf_finish_dynamic_sections()
7221 if (sgotplt && sgotplt->size > 0 && !htab->fdpic_p) in sh_elf_finish_dynamic_sections()
7224 bfd_put_32 (output_bfd, (bfd_vma) 0, sgotplt->contents); in sh_elf_finish_dynamic_sections()
7228 sgotplt->contents); in sh_elf_finish_dynamic_sections()
7229 bfd_put_32 (output_bfd, (bfd_vma) 0, sgotplt->contents + 4); in sh_elf_finish_dynamic_sections()
7230 bfd_put_32 (output_bfd, (bfd_vma) 0, sgotplt->contents + 8); in sh_elf_finish_dynamic_sections()
7233 if (sgotplt && sgotplt->size > 0) in sh_elf_finish_dynamic_sections()
7234 elf_section_data (sgotplt->output_section)->this_hdr.sh_entsize = 4; in sh_elf_finish_dynamic_sections()