Lines Matching full:htab
967 struct elf_xtensa_link_hash_table *htab;
978 htab = elf_xtensa_hash_table (info);
979 if (htab == NULL)
1042 if (h && elf_xtensa_hash_entry (h) != htab->tlsbase)
1108 htab->plt_reloc_count += 1;
1112 if (! add_extra_plt_sections (info, htab->plt_reloc_count))
1284 struct elf_xtensa_link_hash_table *htab;
1286 htab = elf_xtensa_hash_table (info);
1287 if (htab == NULL)
1336 if (h && elf_xtensa_hash_entry (h) != htab->tlsbase)
1404 struct elf_xtensa_link_hash_table *htab;
1407 htab = elf_xtensa_hash_table (info);
1408 if (htab == NULL)
1414 htab->splt = bfd_get_linker_section (dynobj, ".plt");
1415 htab->srelplt = bfd_get_linker_section (dynobj, ".rela.plt");
1416 htab->sgot = bfd_get_linker_section (dynobj, ".got");
1417 htab->sgotplt = bfd_get_linker_section (dynobj, ".got.plt");
1418 htab->srelgot = bfd_get_linker_section (dynobj, ".rela.got");
1422 if (! add_extra_plt_sections (info, htab->plt_reloc_count))
1430 if (htab->sgotplt == NULL
1431 || ! bfd_set_section_flags (dynobj, htab->sgotplt, flags))
1435 htab->sgotloc = bfd_make_section_anyway_with_flags (dynobj, ".got.loc",
1437 if (htab->sgotloc == NULL
1438 || ! bfd_set_section_alignment (dynobj, htab->sgotloc, 2))
1442 htab->spltlittbl = bfd_make_section_anyway_with_flags (dynobj, ".xt.lit.plt",
1444 if (htab->spltlittbl == NULL
1445 || ! bfd_set_section_alignment (dynobj, htab->spltlittbl, 2))
1526 struct elf_xtensa_link_hash_table *htab;
1533 htab = elf_xtensa_hash_table (info);
1534 if (htab == NULL)
1549 htab->srelplt->size += (h->plt.refcount * sizeof (Elf32_External_Rela));
1552 htab->srelgot->size += (h->got.refcount * sizeof (Elf32_External_Rela));
1561 struct elf_xtensa_link_hash_table *htab;
1564 htab = elf_xtensa_hash_table (info);
1565 if (htab == NULL)
1594 htab->srelgot->size += (local_got_refcounts[j]
1607 struct elf_xtensa_link_hash_table *htab;
1616 htab = elf_xtensa_hash_table (info);
1617 if (htab == NULL)
1623 srelgot = htab->srelgot;
1624 srelplt = htab->srelplt;
1628 BFD_ASSERT (htab->srelgot != NULL
1629 && htab->srelplt != NULL
1630 && htab->sgot != NULL
1631 && htab->spltlittbl != NULL
1632 && htab->sgotloc != NULL);
1645 htab->sgot->size = 4;
1665 spltlittbl = htab->spltlittbl;
1705 sgotloc = htab->sgotloc;
1849 struct elf_xtensa_link_hash_table *htab;
1852 htab = elf_xtensa_hash_table (info);
1853 if (htab == NULL)
1856 tls_sec = htab->elf.tls_sec;
1858 if (tls_sec && (htab->tlsbase->tls_type & GOT_TLS_ANY) != 0)
1860 struct elf_link_hash_entry *tlsbase = &htab->tlsbase->elf;
1899 struct elf_link_hash_table *htab = elf_hash_table (info);
1903 if (htab->tls_sec == NULL)
1905 base = align_power ((bfd_vma) TCB_SIZE, htab->tls_sec->alignment_power);
1906 return address - htab->tls_sec->vma + base;
2550 struct elf_xtensa_link_hash_table *htab;
2567 htab = elf_xtensa_hash_table (info);
2568 if (htab == NULL)
2833 srel = htab->srelplt;
2835 srel = htab->srelgot;
2964 asection *srel = htab->srelgot;
3021 (h && elf_xtensa_hash_entry (h) == htab->tlsbase);
3265 struct elf_xtensa_link_hash_table *htab;
3274 htab = elf_xtensa_hash_table (info);
3275 if (htab == NULL)
3284 sgot = htab->sgot;
3296 srelplt = htab->srelplt;
3305 srelgot = htab->srelgot;
3306 spltlittbl = htab->spltlittbl;
3396 sgotloc = htab->sgotloc;
3424 dyn.d_un.d_ptr = htab->sgotloc->output_section->vma;
3428 dyn.d_un.d_ptr = htab->sgot->output_section->vma;
3432 dyn.d_un.d_ptr = htab->srelplt->output_section->vma;
3436 dyn.d_un.d_val = htab->srelplt->output_section->size;
3446 if (htab->srelplt)
3447 dyn.d_un.d_val -= htab->srelplt->output_section->size;
9588 struct elf_xtensa_link_hash_table *htab;
9596 htab = elf_xtensa_hash_table (info);
9597 if (htab == NULL)
9622 srel = htab->srelplt;
9626 srel = htab->srelgot;
9655 srelgot = htab->srelgot;
10324 struct elf_xtensa_link_hash_table *htab;
10330 htab = elf_xtensa_hash_table (info);
10331 if (htab == NULL)
10334 return htab->splt;
10346 struct elf_xtensa_link_hash_table *htab;
10352 htab = elf_xtensa_hash_table (info);
10353 if (htab == NULL)
10355 return htab->sgotplt;