Lines Matching refs:sgot

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()
3596 && htab->sgot->size != 0) in sh_elf_size_dynamic_sections()
3670 return (htab->sgot->output_offset - htab->sgotplt->output_offset in sh_elf_got_offset()
3819 asection *sgot = NULL; in sh_elf_relocate_section() local
3834 sgot = htab->sgot; in sh_elf_relocate_section()
3845 if (fdpic_p && sgot) in sh_elf_relocate_section()
3847 sgot->output_section); in sh_elf_relocate_section()
4490 BFD_ASSERT (sgot != NULL); in sh_elf_relocate_section()
4533 sgot->contents + off); in sh_elf_relocate_section()
4553 sgot->output_section->vma in sh_elf_relocate_section()
4554 + sgot->output_offset in sh_elf_relocate_section()
4592 bfd_put_32 (output_bfd, relocation, sgot->contents + off); in sh_elf_relocate_section()
4606 outrel.r_offset = (sgot->output_section->vma in sh_elf_relocate_section()
4607 + sgot->output_offset in sh_elf_relocate_section()
4630 sgot->output_section->vma in sh_elf_relocate_section()
4631 + sgot->output_offset in sh_elf_relocate_section()
4791 reloc_section = sgot; in sh_elf_relocate_section()
5178 if (sgot == NULL || sgotplt == NULL) in sh_elf_relocate_section()
5197 sgot->contents + off); in sh_elf_relocate_section()
5217 outrel.r_offset = (sgot->output_section->vma in sh_elf_relocate_section()
5218 + sgot->output_offset + off); in sh_elf_relocate_section()
5242 sgot->contents + off + 4); in sh_elf_relocate_section()
5375 if (sgot == NULL || sgotplt == NULL) in sh_elf_relocate_section()
5390 outrel.r_offset = (sgot->output_section->vma in sh_elf_relocate_section()
5391 + sgot->output_offset + off); in sh_elf_relocate_section()
6078 if (htab->sgot == NULL) in sh_elf_check_relocs()
6897 asection *sgot; in sh_elf_finish_dynamic_symbol() local
6905 sgot = htab->sgot; in sh_elf_finish_dynamic_symbol()
6907 BFD_ASSERT (sgot != NULL && srelgot != NULL); in sh_elf_finish_dynamic_symbol()
6909 rel.r_offset = (sgot->output_section->vma in sh_elf_finish_dynamic_symbol()
6910 + sgot->output_offset in sh_elf_finish_dynamic_symbol()
6941 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents + h->got.offset); in sh_elf_finish_dynamic_symbol()
6958 asection *sgot; in sh_elf_finish_dynamic_symbol() local
6966 sgot = htab->sgot; in sh_elf_finish_dynamic_symbol()
6968 BFD_ASSERT (sgot != NULL && srelgot != NULL); in sh_elf_finish_dynamic_symbol()
6970 rel.r_offset = (sgot->output_section->vma in sh_elf_finish_dynamic_symbol()
6971 + sgot->output_offset in sh_elf_finish_dynamic_symbol()
7002 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents in sh_elf_finish_dynamic_symbol()