Lines Matching refs:sgot

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()
3157 relocation -= sgot->output_section->vma; in nios2_elf32_relocate_section()
3195 if (htab->root.sgot == NULL) in nios2_elf32_relocate_section()
3215 outrel.r_offset = (htab->root.sgot->output_section->vma in nios2_elf32_relocate_section()
3216 + htab->root.sgot->output_offset in nios2_elf32_relocate_section()
3227 htab->root.sgot->contents + off); in nios2_elf32_relocate_section()
3232 relocation = htab->root.sgot->output_offset + off - got_base; in nios2_elf32_relocate_section()
3245 if (htab->root.sgot == NULL) in nios2_elf32_relocate_section()
3307 outrel.r_offset = (htab->root.sgot->output_section->vma in nios2_elf32_relocate_section()
3308 + htab->root.sgot->output_offset in nios2_elf32_relocate_section()
3322 htab->root.sgot->contents + cur_off + 4); in nios2_elf32_relocate_section()
3344 htab->root.sgot->contents + cur_off); in nios2_elf32_relocate_section()
3348 htab->root.sgot->contents + cur_off + 4); in nios2_elf32_relocate_section()
3363 outrel.r_offset = (htab->root.sgot->output_section->vma in nios2_elf32_relocate_section()
3364 + htab->root.sgot->output_offset in nios2_elf32_relocate_section()
3377 htab->root.sgot->contents + cur_off); in nios2_elf32_relocate_section()
3389 relocation = htab->root.sgot->output_offset + off - got_base; in nios2_elf32_relocate_section()
3629 if (!htab->root.sgot && !create_got_section (dynobj, info)) in nios2_elf32_create_dynamic_sections()
3721 asection *sgot; in nios2_elf32_check_relocs() local
3739 sgot = htab->root.sgot; in nios2_elf32_check_relocs()
3806 if (sgot == NULL) in nios2_elf32_check_relocs()
3808 sgot = htab->root.sgot; in nios2_elf32_check_relocs()
3809 BFD_ASSERT (sgot != NULL); in nios2_elf32_check_relocs()
3882 if (htab->root.sgot == NULL) in nios2_elf32_check_relocs()
4233 asection *sgot; in nios2_elf32_finish_dynamic_symbol() local
4241 sgot = htab->root.sgot; in nios2_elf32_finish_dynamic_symbol()
4243 BFD_ASSERT (sgot != NULL && srela != NULL); in nios2_elf32_finish_dynamic_symbol()
4246 rela.r_offset = (sgot->output_section->vma in nios2_elf32_finish_dynamic_symbol()
4247 + sgot->output_offset + offset); in nios2_elf32_finish_dynamic_symbol()
4259 (sgot->contents + offset)); in nios2_elf32_finish_dynamic_symbol()
4260 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents + offset); in nios2_elf32_finish_dynamic_symbol()
4265 sgot->contents + offset); in nios2_elf32_finish_dynamic_symbol()
4278 asection *sgot = htab->root.sgot; in nios2_elf32_finish_dynamic_symbol() local
4282 sgot->contents + offset); in nios2_elf32_finish_dynamic_symbol()
4356 s = htab->root.sgot; in nios2_elf32_finish_dynamic_sections()
4391 s = htab->root.sgot; in nios2_elf32_finish_dynamic_sections()
4716 s = htab->root.sgot; in allocate_dynrelocs()
4938 s = htab->root.sgot; in nios2_elf32_size_dynamic_sections()
4965 htab->tls_ldm_got.offset = htab->root.sgot->size; in nios2_elf32_size_dynamic_sections()
4966 htab->root.sgot->size += 8; in nios2_elf32_size_dynamic_sections()
4982 if (htab->root.sgot->size >= 0x8000 in nios2_elf32_size_dynamic_sections()