Lines Matching refs:sgot

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()
1280 sgot->size += 4; in mn10300_elf_check_relocs()
1283 sgot->size += 4; in mn10300_elf_check_relocs()
1442 asection * sgot; in mn10300_elf_final_link_relocate() local
1447 sgot = NULL; in mn10300_elf_final_link_relocate()
1678 value = htab->root.sgot->output_section->vma; in mn10300_elf_final_link_relocate()
1692 value = htab->root.sgot->output_section->vma; in mn10300_elf_final_link_relocate()
1708 value -= htab->root.sgot->output_section->vma; in mn10300_elf_final_link_relocate()
1718 value -= htab->root.sgot->output_section->vma; in mn10300_elf_final_link_relocate()
1733 value -= htab->root.sgot->output_section->vma; in mn10300_elf_final_link_relocate()
1805 sgot = htab->root.sgot; in mn10300_elf_final_link_relocate()
1806 BFD_ASSERT (sgot != NULL); in mn10300_elf_final_link_relocate()
1807 value = htab->tls_ldm_got.offset + sgot->output_offset; in mn10300_elf_final_link_relocate()
1817 rel.r_offset = (sgot->output_section->vma in mn10300_elf_final_link_relocate()
1818 + sgot->output_offset in mn10300_elf_final_link_relocate()
1820 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents + htab->tls_ldm_got.offset); in mn10300_elf_final_link_relocate()
1821 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents + htab->tls_ldm_got.offset+4); in mn10300_elf_final_link_relocate()
1844 sgot = htab->root.sgot; in mn10300_elf_final_link_relocate()
1858 if (sgot->contents != NULL in mn10300_elf_final_link_relocate()
1871 sgot->contents + off); in mn10300_elf_final_link_relocate()
1873 value = sgot->output_offset + off; in mn10300_elf_final_link_relocate()
1882 bfd_put_32 (output_bfd, value, sgot->contents + (off & ~ 1)); in mn10300_elf_final_link_relocate()
1885 bfd_put_32 (output_bfd, value, sgot->contents + off); in mn10300_elf_final_link_relocate()
1895 outrel.r_offset = (sgot->output_section->vma in mn10300_elf_final_link_relocate()
1896 + sgot->output_offset in mn10300_elf_final_link_relocate()
1902 outrel.r_offset = (sgot->output_section->vma in mn10300_elf_final_link_relocate()
1903 + sgot->output_offset in mn10300_elf_final_link_relocate()
1930 value = sgot->output_offset + (off & ~(bfd_vma) 1); in mn10300_elf_final_link_relocate()
1938 value += sgot->output_section->vma; in mn10300_elf_final_link_relocate()
3924 asection * sgot; in mn10300_elf_relax_section() local
3926 sgot = hash_table->root.sgot; in mn10300_elf_relax_section()
3929 value = sgot->output_offset; in mn10300_elf_relax_section()
3938 value -= sgot->output_section->vma; in mn10300_elf_relax_section()
3940 value = (sgot->output_section->vma in mn10300_elf_relax_section()
5064 s = htab->root.sgot; in _bfd_mn10300_elf_size_dynamic_sections()
5222 asection * sgot; in _bfd_mn10300_elf_finish_dynamic_symbol() local
5234 sgot = htab->root.sgotplt; in _bfd_mn10300_elf_finish_dynamic_symbol()
5236 BFD_ASSERT (splt != NULL && sgot != NULL && srel != NULL); in _bfd_mn10300_elf_finish_dynamic_symbol()
5256 (sgot->output_section->vma in _bfd_mn10300_elf_finish_dynamic_symbol()
5257 + sgot->output_offset in _bfd_mn10300_elf_finish_dynamic_symbol()
5287 sgot->contents + got_offset); in _bfd_mn10300_elf_finish_dynamic_symbol()
5290 rel.r_offset = (sgot->output_section->vma in _bfd_mn10300_elf_finish_dynamic_symbol()
5291 + sgot->output_offset in _bfd_mn10300_elf_finish_dynamic_symbol()
5307 asection * sgot; in _bfd_mn10300_elf_finish_dynamic_symbol() local
5312 sgot = htab->root.sgot; in _bfd_mn10300_elf_finish_dynamic_symbol()
5314 BFD_ASSERT (sgot != NULL && srel != NULL); in _bfd_mn10300_elf_finish_dynamic_symbol()
5316 rel.r_offset = (sgot->output_section->vma in _bfd_mn10300_elf_finish_dynamic_symbol()
5317 + sgot->output_offset in _bfd_mn10300_elf_finish_dynamic_symbol()
5323 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents + h->got.offset); in _bfd_mn10300_elf_finish_dynamic_symbol()
5324 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents + h->got.offset + 4); in _bfd_mn10300_elf_finish_dynamic_symbol()
5340 rel.r_addend = bfd_get_32 (output_bfd, sgot->contents + h->got.offset); in _bfd_mn10300_elf_finish_dynamic_symbol()
5341 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents + h->got.offset); in _bfd_mn10300_elf_finish_dynamic_symbol()
5365 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents + h->got.offset); in _bfd_mn10300_elf_finish_dynamic_symbol()
5419 asection * sgot; in _bfd_mn10300_elf_finish_dynamic_sections() local
5424 sgot = htab->root.sgotplt; in _bfd_mn10300_elf_finish_dynamic_sections()
5425 BFD_ASSERT (sgot != NULL); in _bfd_mn10300_elf_finish_dynamic_sections()
5503 sgot->output_section->vma + sgot->output_offset + 4, in _bfd_mn10300_elf_finish_dynamic_sections()
5506 sgot->output_section->vma + sgot->output_offset + 8, in _bfd_mn10300_elf_finish_dynamic_sections()
5525 if (sgot->size > 0) in _bfd_mn10300_elf_finish_dynamic_sections()
5528 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents); in _bfd_mn10300_elf_finish_dynamic_sections()
5532 sgot->contents); in _bfd_mn10300_elf_finish_dynamic_sections()
5533 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents + 4); in _bfd_mn10300_elf_finish_dynamic_sections()
5534 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents + 8); in _bfd_mn10300_elf_finish_dynamic_sections()
5537 elf_section_data (sgot->output_section)->this_hdr.sh_entsize = 4; in _bfd_mn10300_elf_finish_dynamic_sections()