Lines Matching refs:sgot

90   asection *sgot;  member
109 (lm32_elf_hash_table (info)->sgot)
221 htab->sgot = bfd_get_linker_section (dynobj, ".got"); in create_got_section()
224 if (! htab->sgot || ! htab->sgotplt || ! htab->srelgot) in create_got_section()
823 asection *sgot; in lm32_elf_relocate_section() local
831 sgot = htab->sgot; in lm32_elf_relocate_section()
934 BFD_ASSERT (sgot != NULL); in lm32_elf_relocate_section()
969 sgot->contents + off); in lm32_elf_relocate_section()
976 sgot->output_section->vma in lm32_elf_relocate_section()
977 + sgot->output_offset in lm32_elf_relocate_section()
985 relocation = sgot->output_offset + off; in lm32_elf_relocate_section()
1006 bfd_put_32 (output_bfd, relocation, sgot->contents + off); in lm32_elf_relocate_section()
1013 sgot->output_section->vma in lm32_elf_relocate_section()
1014 + sgot->output_offset in lm32_elf_relocate_section()
1029 outrel.r_offset = (sgot->output_section->vma in lm32_elf_relocate_section()
1030 + sgot->output_offset in lm32_elf_relocate_section()
1044 relocation = sgot->output_offset + off; in lm32_elf_relocate_section()
1063 BFD_ASSERT (sgot != NULL); in lm32_elf_relocate_section()
1064 relocation -= sgot->output_section->vma; in lm32_elf_relocate_section()
1315 if (htab->sgot == NULL) in lm32_elf_check_relocs()
1419 asection *sgot; in lm32_elf_finish_dynamic_sections() local
1427 sgot = htab->sgotplt; in lm32_elf_finish_dynamic_sections()
1435 BFD_ASSERT (sgot != NULL && sdyn != NULL); in lm32_elf_finish_dynamic_sections()
1453 s = htab->sgot->output_section; in lm32_elf_finish_dynamic_sections()
1506 addr = sgot->output_section->vma + sgot->output_offset + 4; in lm32_elf_finish_dynamic_sections()
1524 if (sgot && sgot->size > 0) in lm32_elf_finish_dynamic_sections()
1527 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents); in lm32_elf_finish_dynamic_sections()
1531 sgot->contents); in lm32_elf_finish_dynamic_sections()
1532 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents + 4); in lm32_elf_finish_dynamic_sections()
1533 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents + 8); in lm32_elf_finish_dynamic_sections()
1536 if (elf_section_data (sgot->output_section) != NULL) in lm32_elf_finish_dynamic_sections()
1537 elf_section_data (sgot->output_section)->this_hdr.sh_entsize = 4; in lm32_elf_finish_dynamic_sections()
1606 asection *sgot; in lm32_elf_finish_dynamic_symbol() local
1618 sgot = htab->sgotplt; in lm32_elf_finish_dynamic_symbol()
1620 BFD_ASSERT (splt != NULL && sgot != NULL && srela != NULL); in lm32_elf_finish_dynamic_symbol()
1649 sgot->contents + got_offset); in lm32_elf_finish_dynamic_symbol()
1652 rela.r_offset = (sgot->output_section->vma in lm32_elf_finish_dynamic_symbol()
1653 + sgot->output_offset in lm32_elf_finish_dynamic_symbol()
1672 asection *sgot; in lm32_elf_finish_dynamic_symbol() local
1678 sgot = htab->sgot; in lm32_elf_finish_dynamic_symbol()
1680 BFD_ASSERT (sgot != NULL && srela != NULL); in lm32_elf_finish_dynamic_symbol()
1682 rela.r_offset = (sgot->output_section->vma in lm32_elf_finish_dynamic_symbol()
1683 + sgot->output_offset in lm32_elf_finish_dynamic_symbol()
1705 bfd_put_32 (output_bfd, (bfd_vma) 0, sgot->contents + h->got.offset); in lm32_elf_finish_dynamic_symbol()
1990 s = htab->sgot; in allocate_dynrelocs()
2194 s = htab->sgot; in lm32_elf_size_dynamic_sections()
2223 || s == htab->sgot in lm32_elf_size_dynamic_sections()
2432 …lm32fdpic_fixup32_section (info)->size = (r32_count + (htab->sgot->size / 4) - rgot_weak_count + 1… in lm32_elf_size_dynamic_sections()
2521 if (htab->sgot == NULL in lm32_elf_create_dynamic_sections()