Lines Matching refs:hh
131 elf32_hppa_link_hash_entry "hh"
172 #define pc_dynrelocs(hh) 0
210 struct elf32_hppa_link_hash_entry *hh;
316 #define hh_name(hh) \
317 (hh ? hh->eh.root.root.string : "<undef>")
354 hsh->hh = NULL;
382 struct elf32_hppa_link_hash_entry *hh;
385 hh = hppa_elf_hash_entry (entry);
386 hh->hsh_cache = NULL;
387 hh->plabel = 0;
388 hh->tls_type = GOT_UNKNOWN;
459 const struct elf32_hppa_link_hash_entry *hh,
465 if (hh)
467 len = 8 + 1 + strlen (hh_name (hh)) + 1 + 8 + 1;
472 hh_name (hh),
495 struct elf32_hppa_link_hash_entry *hh,
511 if (hh != NULL && hh->hsh_cache != NULL
512 && hh->hsh_cache->hh == hh
513 && hh->hsh_cache->id_sec == id_sec)
515 hsh_entry = hh->hsh_cache;
521 stub_name = hppa_stub_name (id_sec, sym_sec, hh, rela);
527 if (hh != NULL)
528 hh->hsh_cache = hsh_entry;
597 struct elf32_hppa_link_hash_entry *hh,
606 if (hh != NULL
607 && hh->eh.plt.offset != (bfd_vma) -1
608 && hh->eh.dynindx != -1
609 && !hh->plabel
611 || !hh->eh.def_regular
612 || hh->eh.root.type == bfd_link_hash_defweak))
788 off = hsh->hh->eh.plt.offset;
886 hsh->hh->eh.root.u.def.section = stub_sec;
887 hsh->hh->eh.root.u.def.value = stub_sec->size;
1130 struct elf32_hppa_link_hash_entry *hh;
1136 hh = NULL;
1139 hh = hppa_elf_hash_entry (eh_syms[r_symndx - symtab_hdr->sh_info]);
1140 while (hh->eh.root.type == bfd_link_hash_indirect
1141 || hh->eh.root.type == bfd_link_hash_warning)
1142 hh = hppa_elf_hash_entry (hh->eh.root.u.i.link);
1146 r_type = elf32_hppa_optimized_tls_reloc (info, r_type, hh == NULL);
1200 if (hh == NULL)
1217 if (hh->eh.type == STT_PARISC_MILLI)
1261 if (!bfd_elf_gc_record_vtinherit (abfd, sec, &hh->eh, rela->r_offset))
1268 if (!bfd_elf_gc_record_vtentry (abfd, sec, &hh->eh, rela->r_addend))
1321 if (hh != NULL)
1326 hh->eh.got.refcount += 1;
1327 hh->tls_type |= tls_type;
1358 if (hh != NULL)
1360 hh->eh.needs_plt = 1;
1361 hh->eh.plt.refcount += 1;
1367 hh->plabel = 1;
1390 if (hh != NULL)
1391 hh->eh.non_got_ref = 1;
1423 || (hh != NULL
1424 && (!SYMBOLIC_BIND (info, &hh->eh)
1425 || hh->eh.root.type == bfd_link_hash_defweak
1426 || !hh->eh.def_regular))))
1429 && hh != NULL
1430 && (hh->eh.root.type == bfd_link_hash_defweak
1431 || !hh->eh.def_regular)))
1452 if (hh != NULL)
1454 hdh_head = &hh->eh.dyn_relocs;
1512 struct elf_link_hash_entry *hh,
1515 if (hh != NULL)
1523 return _bfd_elf_gc_mark_hook (sec, info, rela, hh, sym);
1626 struct elf32_hppa_link_hash_entry *hh = hppa_elf_hash_entry (eh);
1629 if (_bfd_elf_readonly_dynrelocs (&hh->eh))
1631 hh = hppa_elf_hash_entry (hh->eh.u.alias);
1632 } while (hh != NULL && &hh->eh != eh);
1800 struct elf32_hppa_link_hash_entry *hh;
1807 hh = hppa_elf_hash_entry (eh);
1825 hh->plabel = 0;
1827 else if (hh->plabel)
1896 struct elf32_hppa_link_hash_entry *hh;
1907 hh = hppa_elf_hash_entry (eh);
1911 && !hh->plabel
1933 need = got_entries_needed (hh->tls_type);
1937 || (bfd_link_pic (info) && (hh->tls_type & GOT_NORMAL) != 0)
1944 += got_relocs_needed (hh->tls_type, need, local,
2533 struct elf32_hppa_link_hash_entry *hh;
2535 hh = hppa_elf_hash_entry (*eh_syms);
2537 while (hh->eh.root.type == bfd_link_hash_indirect
2538 || hh->eh.root.type == bfd_link_hash_warning)
2539 hh = hppa_elf_hash_entry (hh->eh.root.u.i.link);
2544 if ((hh->eh.root.type == bfd_link_hash_defined
2545 || hh->eh.root.type == bfd_link_hash_defweak)
2546 && hh->eh.type == STT_FUNC
2547 && hh->eh.root.u.def.section->output_section != NULL
2548 && (hh->eh.root.u.def.section->output_section->owner
2550 && hh->eh.root.u.def.section->owner == input_bfd
2551 && hh->eh.def_regular
2552 && !hh->eh.forced_local
2553 && ELF_ST_VISIBILITY (hh->eh.other) == STV_DEFAULT)
2559 sec = hh->eh.root.u.def.section;
2560 stub_name = hh_name (hh);
2570 hsh->target_value = hh->eh.root.u.def.value;
2571 hsh->target_section = hh->eh.root.u.def.section;
2573 hsh->hh = hh;
2721 struct elf32_hppa_link_hash_entry *hh;
2748 hh = NULL;
2775 hh = hppa_elf_hash_entry (elf_sym_hashes (input_bfd)[e_indx]);
2777 while (hh->eh.root.type == bfd_link_hash_indirect
2778 || hh->eh.root.type == bfd_link_hash_warning)
2779 hh = hppa_elf_hash_entry (hh->eh.root.u.i.link);
2781 if (hh->eh.root.type == bfd_link_hash_defined
2782 || hh->eh.root.type == bfd_link_hash_defweak)
2784 sym_sec = hh->eh.root.u.def.section;
2785 sym_value = hh->eh.root.u.def.value;
2791 else if (hh->eh.root.type == bfd_link_hash_undefweak)
2796 else if (hh->eh.root.type == bfd_link_hash_undefined)
2799 && (ELF_ST_VISIBILITY (hh->eh.other)
2801 && hh->eh.type != STT_PARISC_MILLI))
2812 stub_type = hppa_type_of_stub (section, irela, hh,
2821 stub_name = hppa_stub_name (id_sec, sym_sec, hh, irela);
2852 hsh->hh = hh;
3106 struct elf32_hppa_link_hash_entry *hh,
3169 || (hh != NULL
3170 && hh->eh.plt.offset != (bfd_vma) -1
3171 && hh->eh.dynindx != -1
3172 && !hh->plabel
3174 || !hh->eh.def_regular
3175 || hh->eh.root.type == bfd_link_hash_defweak)))
3178 hh, rela, htab);
3186 else if (sym_sec == NULL && hh != NULL
3187 && hh->eh.root.type == bfd_link_hash_undefweak)
3378 hh, rela, htab);
3533 struct elf32_hppa_link_hash_entry *hh;
3553 hh = NULL;
3592 hh = hppa_elf_hash_entry (eh);
3620 if (hh != NULL)
3624 off = hh->eh.got.offset;
3626 reloc = (!UNDEFWEAK_NO_DYNAMIC_RELOC (info, &hh->eh)
3628 || (hh->eh.dynindx != -1
3629 && !SYMBOL_REFERENCES_LOCAL (info, &hh->eh))));
3633 &hh->eh))
3645 hh->eh.got.offset |= 1;
3721 if (hh != NULL)
3723 off = hh->eh.plt.offset;
3726 &hh->eh))
3735 hh->eh.plt.offset |= 1;
3801 if (hh == NULL
3802 || (hh->eh.root.type != bfd_link_hash_undefweak
3803 && hh->eh.root.type != bfd_link_hash_undefined))
3827 ? ((hh == NULL
3828 || hh->eh.dyn_relocs != NULL)
3829 && ((hh != NULL && pc_dynrelocs (hh))
3831 : (hh != NULL
3832 && hh->eh.dyn_relocs != NULL))
3856 else if (hh != NULL
3857 && hh->eh.dynindx != -1
3861 || !SYMBOLIC_BIND (info, &hh->eh)
3862 || !hh->eh.def_regular))
3864 outrel.r_info = ELF32_R_INFO (hh->eh.dynindx, r_type);
3962 if (hh != NULL)
3965 || hh->eh.dynindx == -1
3966 || SYMBOL_REFERENCES_LOCAL (info, &hh->eh)
3967 || UNDEFWEAK_NO_DYNAMIC_RELOC (info, &hh->eh))
3974 indx = hh->eh.dynindx;
3975 off = hh->eh.got.offset;
3976 tls_type = hh->tls_type;
4002 && (hh == NULL
4003 || !UNDEFWEAK_NO_DYNAMIC_RELOC (info, &hh->eh))))
4058 && SYMBOL_REFERENCES_LOCAL (info, &hh->eh)))
4080 if (hh != NULL)
4081 hh->eh.got.offset |= 1;
4089 if (hh != NULL)
4091 hh_name (hh));
4141 htab, sym_sec, hh, info);
4146 if (hh != NULL)
4147 sym_name = hh_name (hh);
4179 (info, (hh ? &hh->eh.root : NULL), sym_name, howto->name,