Lines Matching full:htab
804 struct elf_or1k_link_hash_table *htab = or1k_elf_hash_table (info);
810 if (htab == NULL)
813 dynobj = htab->root.dynobj;
818 sgot = htab->sgot;
885 if (htab->splt != NULL && h != NULL
888 relocation = (htab->splt->output_section->vma
889 + htab->splt->output_offset
907 dyn = htab->root.dynamic_sections_created;
1367 struct elf_or1k_link_hash_table *htab;
1375 htab = or1k_elf_hash_table (info);
1376 if (htab == NULL)
1382 htab->sgot = bfd_get_section_by_name (dynobj, ".got");
1383 htab->sgotplt = bfd_get_section_by_name (dynobj, ".got.plt");
1384 htab->srelgot = bfd_get_section_by_name (dynobj, ".rela.got");
1386 if (! htab->sgot || ! htab->sgotplt || ! htab->srelgot)
1389 if (! bfd_set_section_flags (dynobj, htab->srelgot, SEC_ALLOC
1395 || ! bfd_set_section_alignment (dynobj, htab->srelgot, 2))
1414 struct elf_or1k_link_hash_table *htab;
1424 htab = or1k_elf_hash_table (info);
1425 if (htab == NULL)
1428 dynobj = htab->root.dynobj;
1532 if (htab->sgot == NULL)
1535 htab->root.dynobj = dynobj = abfd;
1644 if (htab->root.dynobj == NULL)
1645 htab->root.dynobj = abfd;
1646 dynobj = htab->root.dynobj;
1674 isym = bfd_sym_from_r_symndx (&htab->sym_sec,
1692 bfd_alloc (htab->root.dynobj, amt));
1722 struct elf_or1k_link_hash_table *htab;
1724 htab = or1k_elf_hash_table (info);
1725 if (htab == NULL)
1728 dynobj = htab->root.dynobj;
1730 sgot = htab->sgotplt;
1733 if (htab->root.dynamic_sections_created)
1756 s = htab->sgot->output_section;
1762 s = htab->srelplt->output_section;
1768 s = htab->srelplt->output_section;
1783 if (htab->srelplt != NULL)
1792 s = htab->srelplt->output_section;
1806 splt = htab->splt;
1855 if (htab->sgot && htab->sgot->size > 0)
1856 elf_section_data (htab->sgot->output_section)->this_hdr.sh_entsize = 4;
1870 struct elf_or1k_link_hash_table *htab;
1873 htab = or1k_elf_hash_table (info);
1874 if (htab == NULL)
1892 splt = htab->splt;
1893 sgot = htab->sgotplt;
1894 srela = htab->srelplt;
1912 got_addr += htab->sgotplt->output_section->vma
1913 + htab->sgotplt->output_offset;
1975 sgot = htab->sgot;
1976 srela = htab->srelgot;
2036 || h == htab->root.hgot)
2066 struct elf_or1k_link_hash_table *htab;
2169 htab = or1k_elf_hash_table (info);
2170 if (htab == NULL)
2173 s = htab->sdynbss;
2184 srel = htab->srelbss;
2200 struct elf_or1k_link_hash_table *htab;
2208 htab = or1k_elf_hash_table (info);
2209 if (htab == NULL)
2214 if (htab->root.dynamic_sections_created
2228 asection *s = htab->splt;
2254 htab->sgotplt->size += 4;
2257 htab->srelplt->size += sizeof (Elf32_External_Rela);
2286 s = htab->sgot;
2297 dyn = htab->root.dynamic_sections_created;
2301 htab->srelgot->size += 2 * sizeof (Elf32_External_Rela);
2303 htab->srelgot->size += sizeof (Elf32_External_Rela);
2362 || (htab->root.dynamic_sections_created
2428 struct elf_or1k_link_hash_table *htab;
2434 htab = or1k_elf_hash_table (info);
2435 if (htab == NULL)
2438 dynobj = htab->root.dynobj;
2441 if (htab->root.dynamic_sections_created)
2501 s = htab->sgot;
2502 srel = htab->srelgot;
2534 elf_link_hash_traverse (&htab->root, allocate_dynrelocs, info);
2544 if (s == htab->splt
2545 || s == htab->sgot
2546 || s == htab->sgotplt
2547 || s == htab->sdynbss)
2554 if (s->size != 0 && s != htab->srelplt)
2594 if (htab->root.dynamic_sections_created)
2610 if (htab->splt->size != 0)
2630 elf_link_hash_traverse (&htab->root, readonly_dynrelocs,
2650 struct elf_or1k_link_hash_table *htab;
2652 htab = or1k_elf_hash_table (info);
2653 if (htab == NULL)
2656 if (!htab->sgot && !create_got_section (dynobj, info))
2662 htab->splt = bfd_get_section_by_name (dynobj, ".plt");
2663 htab->srelplt = bfd_get_section_by_name (dynobj, ".rela.plt");
2664 htab->sdynbss = bfd_get_section_by_name (dynobj, ".dynbss");
2666 htab->srelbss = bfd_get_section_by_name (dynobj, ".rela.bss");
2668 if (!htab->splt || !htab->srelplt || !htab->sdynbss
2669 || (!info->shared && !htab->srelbss))