• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/cxxfilt-11/cxxfilt/bfd/

Lines Matching defs:htab

2273   struct elf_sh_link_hash_table *htab;
2278 htab = sh_elf_hash_table (info);
2279 htab->sgot = bfd_get_section_by_name (dynobj, ".got");
2280 htab->sgotplt = bfd_get_section_by_name (dynobj, ".got.plt");
2281 if (! htab->sgot || ! htab->sgotplt)
2284 htab->srelgot = bfd_make_section_with_flags (dynobj, ".rela.got",
2290 if (htab->srelgot == NULL
2291 || ! bfd_set_section_alignment (dynobj, htab->srelgot, 2))
2301 struct elf_sh_link_hash_table *htab;
2322 htab = sh_elf_hash_table (info);
2323 if (htab->root.dynamic_sections_created)
2340 htab->splt = s;
2361 htab->root.hplt = h;
2371 htab->srelplt = s;
2376 if (htab->sgot == NULL
2416 htab->sdynbss = s;
2437 htab->srelbss = s;
2444 if (htab->vxworks_p)
2446 if (!elf_vxworks_create_dynamic_sections (abfd, info, &htab->srelplt2))
2464 struct elf_sh_link_hash_table *htab;
2470 htab = sh_elf_hash_table (info);
2473 BFD_ASSERT (htab->root.dynobj != NULL
2575 s = htab->sdynbss;
2586 srel = htab->srelbss;
2600 if (power_of_two > bfd_get_section_alignment (htab->root.dynobj, s))
2602 if (! bfd_set_section_alignment (htab->root.dynobj, s, power_of_two))
2623 struct elf_sh_link_hash_table *htab;
2637 htab = sh_elf_hash_table (info);
2651 if (htab->root.dynamic_sections_created
2668 asection *s = htab->splt;
2673 s->size += htab->plt_info->plt0_entry_size;
2690 s->size += htab->plt_info->symbol_entry_size;
2694 htab->sgotplt->size += 4;
2697 htab->srelplt->size += sizeof (Elf32_External_Rela);
2699 if (htab->vxworks_p && !info->shared)
2707 if (h->plt.offset == htab->plt_info->plt0_entry_size)
2708 htab->srelplt2->size += sizeof (Elf32_External_Rela);
2713 htab->srelplt2->size += sizeof (Elf32_External_Rela) * 2;
2743 s = htab->sgot;
2749 dyn = htab->root.dynamic_sections_created;
2754 htab->srelgot->size += sizeof (Elf32_External_Rela);
2756 htab->srelgot->size += 2 * sizeof (Elf32_External_Rela);
2761 htab->srelgot->size += sizeof (Elf32_External_Rela);
2781 s = htab->sgot;
2784 dyn = htab->root.dynamic_sections_created;
2786 htab->srelgot->size += sizeof (Elf32_External_Rela);
2845 || (htab->root.dynamic_sections_created
2925 struct elf_sh_link_hash_table *htab;
2931 htab = sh_elf_hash_table (info);
2932 dynobj = htab->root.dynobj;
2935 if (htab->root.dynamic_sections_created)
3000 s = htab->sgot;
3001 srel = htab->srelgot;
3019 if (htab->tls_ldm_got.refcount > 0)
3023 htab->tls_ldm_got.offset = htab->sgot->size;
3024 htab->sgot->size += 8;
3025 htab->srelgot->size += sizeof (Elf32_External_Rela);
3028 htab->tls_ldm_got.offset = -1;
3032 elf_link_hash_traverse (&htab->root, allocate_dynrelocs, info);
3042 if (s == htab->splt
3043 || s == htab->sgot
3044 || s == htab->sgotplt
3045 || s == htab->sdynbss)
3052 if (s->size != 0 && s != htab->srelplt && s != htab->srelplt2)
3094 if (htab->root.dynamic_sections_created)
3110 if (htab->splt->size != 0)
3130 elf_link_hash_traverse (&htab->root, readonly_dynrelocs, info);
3154 struct elf_sh_link_hash_table *htab;
3166 htab = sh_elf_hash_table (info);
3169 dynobj = htab->root.dynobj;
3172 sgot = htab->sgot;
3173 sgotplt = htab->sgotplt;
3174 splt = htab->splt;
3342 dyn = htab->root.dynamic_sections_created;
3709 + (get_plt_index (htab->plt_info, h->plt.offset)
3749 dyn = htab->root.dynamic_sections_created;
4069 sgot = htab->sgot;
4085 && ! htab->root.dynamic_sections_created)
4265 sgot = htab->sgot;
4269 off = htab->tls_ldm_got.offset;
4277 srelgot = htab->srelgot;
4288 htab->tls_ldm_got.offset |= 1;
4835 struct elf_sh_link_hash_table *htab;
4858 htab = sh_elf_hash_table (info);
4899 if (htab->sgot == NULL)
4932 if (htab->sgot == NULL)
4934 if (htab->root.dynobj == NULL)
4935 htab->root.dynobj = abfd;
4936 if (!create_got_section (htab->root.dynobj, info))
5179 if (htab->root.dynobj == NULL)
5180 htab->root.dynobj = abfd;
5200 sreloc = bfd_get_section_by_name (htab->root.dynobj, name);
5209 sreloc = bfd_make_section_with_flags (htab->root.dynobj,
5213 || ! bfd_set_section_alignment (htab->root.dynobj,
5230 s = bfd_section_from_r_symndx (abfd, &htab->sym_sec,
5243 p = bfd_alloc (htab->root.dynobj, amt);
5428 struct elf_sh_link_hash_table *htab;
5430 htab = sh_elf_hash_table (info);
5448 splt = htab->splt;
5449 sgot = htab->sgotplt;
5450 srel = htab->srelplt;
5457 plt_index = get_plt_index (htab->plt_info, h->plt.offset);
5471 htab->plt_info->symbol_entry,
5472 htab->plt_info->symbol_entry_size);
5478 + htab->plt_info->symbol_fields.got_entry));
5487 + htab->plt_info->symbol_fields.got_entry));
5488 if (htab->vxworks_p)
5501 - htab->plt_info->plt0_entry_size
5502 - (htab->plt_info->symbol_fields.plt + 4))
5503 / htab->plt_info->symbol_entry_size) + 1;
5504 plts_per_4k = (4096 / htab->plt_info->symbol_entry_size);
5507 + htab->plt_info->symbol_fields.plt);
5510 * htab->plt_info->symbol_entry_size);
5517 + htab->plt_info->symbol_fields.plt));
5524 + htab->plt_info->symbol_fields.plt));
5536 + htab->plt_info->symbol_fields.reloc_offset));
5543 + htab->plt_info->symbol_resolve_offset),
5558 if (htab->vxworks_p && !info->shared)
5562 loc = (htab->srelplt2->contents
5567 rel.r_offset = (htab->splt->output_section->vma
5568 + htab->splt->output_offset
5570 + htab->plt_info->symbol_fields.got_entry);
5571 rel.r_info = ELF32_R_INFO (htab->root.hgot->indx, R_SH_DIR32);
5578 rel.r_offset = (htab->sgotplt->output_section->vma
5579 + htab->sgotplt->output_offset
5581 rel.r_info = ELF32_R_INFO (htab->root.hplt->indx, R_SH_DIR32);
5606 sgot = htab->sgot;
5607 srel = htab->srelgot;
5654 sgot = htab->sgot;
5655 srel = htab->srelgot;
5719 || (!htab->vxworks_p && h == htab->root.hgot))
5730 struct elf_sh_link_hash_table *htab;
5734 htab = sh_elf_hash_table (info);
5735 sgot = htab->sgotplt;
5736 sdyn = bfd_get_section_by_name (htab->root.dynobj, ".dynamic");
5738 if (htab->root.dynamic_sections_created)
5755 bfd_elf32_swap_dyn_in (htab->root.dynobj, dyncon, &dyn);
5774 h = elf_link_hash_lookup (&htab->root, name,
5786 s = htab->sgot->output_section;
5790 s = htab->srelplt->output_section;
5798 s = htab->srelplt->output_section;
5814 if (htab->srelplt != NULL)
5816 s = htab->srelplt->output_section;
5825 splt = htab->splt;
5826 if (splt && splt->size > 0 && htab->plt_info->plt0_entry)
5831 htab->plt_info->plt0_entry,
5832 htab->plt_info->plt0_entry_size);
5833 for (i = 0; i < ARRAY_SIZE (htab->plt_info->plt0_got_fields); i++)
5834 if (htab->plt_info->plt0_got_fields[i] != MINUS_ONE)
5840 + htab->plt_info->plt0_got_fields[i]));
5842 if (htab->vxworks_p)
5850 loc = htab->srelplt2->contents;
5853 + htab->plt_info->plt0_got_fields[2]);
5854 rel.r_info = ELF32_R_INFO (htab->root.hgot->indx, R_SH_DIR32);
5863 while (loc < htab->srelplt2->contents + htab->srelplt2->size)
5867 rel.r_info = ELF32_R_INFO (htab->root.hgot->indx,
5874 rel.r_info = ELF32_R_INFO (htab->root.hplt->indx,