Lines Matching refs:elf
187 struct elf_link_hash_entry elf; member
219 struct elf_link_hash_table elf; member
370 if (!_bfd_elf_link_hash_table_init (&ret->elf, abfd, hppa_link_hash_newfunc)) in elf32_hppa_link_hash_table_create()
399 return &ret->elf.root; in elf32_hppa_link_hash_table_create()
427 len = 8 + 1 + strlen (hash->elf.root.root.string) + 1 + 8 + 1; in hppa_stub_name()
433 hash->elf.root.root.string, in hppa_stub_name()
569 && hash->elf.plt.offset != (bfd_vma) -1 in hppa_type_of_stub()
570 && hash->elf.dynindx != -1 in hppa_type_of_stub()
573 || !(hash->elf.elf_link_hash_flags & ELF_LINK_HASH_DEF_REGULAR) in hppa_type_of_stub()
574 || hash->elf.root.type == bfd_link_hash_defweak)) in hppa_type_of_stub()
726 off = stub_entry->h->elf.plt.offset; in hppa_build_one_stub()
818 stub_entry->h->elf.root.u.def.section = stub_sec; in hppa_build_one_stub()
819 stub_entry->h->elf.root.u.def.value = stub_sec->_raw_size; in hppa_build_one_stub()
1145 if (h->elf.type == STT_PARISC_MILLI) in elf32_hppa_check_relocs()
1202 if (!bfd_elf_gc_record_vtinherit (abfd, sec, &h->elf, rel->r_offset)) in elf32_hppa_check_relocs()
1209 if (!bfd_elf_gc_record_vtentry (abfd, sec, &h->elf, rel->r_addend)) in elf32_hppa_check_relocs()
1224 if (htab->elf.dynobj == NULL) in elf32_hppa_check_relocs()
1225 htab->elf.dynobj = abfd; in elf32_hppa_check_relocs()
1226 if (!elf32_hppa_create_dynamic_sections (htab->elf.dynobj, info)) in elf32_hppa_check_relocs()
1232 h->elf.got.refcount += 1; in elf32_hppa_check_relocs()
1273 h->elf.elf_link_hash_flags |= ELF_LINK_HASH_NEEDS_PLT; in elf32_hppa_check_relocs()
1274 h->elf.plt.refcount += 1; in elf32_hppa_check_relocs()
1314 h->elf.elf_link_hash_flags |= ELF_LINK_NON_GOT_REF; in elf32_hppa_check_relocs()
1349 || h->elf.root.type == bfd_link_hash_defweak in elf32_hppa_check_relocs()
1350 || (h->elf.elf_link_hash_flags in elf32_hppa_check_relocs()
1356 && (h->elf.root.type == bfd_link_hash_defweak in elf32_hppa_check_relocs()
1357 || (h->elf.elf_link_hash_flags in elf32_hppa_check_relocs()
1383 if (htab->elf.dynobj == NULL) in elf32_hppa_check_relocs()
1384 htab->elf.dynobj = abfd; in elf32_hppa_check_relocs()
1386 dynobj = htab->elf.dynobj; in elf32_hppa_check_relocs()
1431 p = bfd_alloc (htab->elf.dynobj, sizeof *p); in elf32_hppa_check_relocs()
1750 if (power_of_two > bfd_get_section_alignment (htab->elf.dynobj, s)) in elf32_hppa_adjust_dynamic_symbol()
1752 if (! bfd_set_section_alignment (htab->elf.dynobj, s, power_of_two)) in elf32_hppa_adjust_dynamic_symbol()
1784 if (htab->elf.dynamic_sections_created in allocate_plt_static()
1849 if (htab->elf.dynamic_sections_created in allocate_dynrelocs()
1878 if (htab->elf.dynamic_sections_created in allocate_dynrelocs()
1932 || (htab->elf.dynamic_sections_created in allocate_dynrelocs()
2032 dynobj = htab->elf.dynobj; in elf32_hppa_size_dynamic_sections()
2036 if (htab->elf.dynamic_sections_created) in elf32_hppa_size_dynamic_sections()
2049 elf_link_hash_traverse (&htab->elf, in elf32_hppa_size_dynamic_sections()
2120 if (! htab->elf.dynamic_sections_created) in elf32_hppa_size_dynamic_sections()
2148 elf_link_hash_traverse (&htab->elf, allocate_plt_static, info); in elf32_hppa_size_dynamic_sections()
2152 elf_link_hash_traverse (&htab->elf, allocate_dynrelocs, info); in elf32_hppa_size_dynamic_sections()
2224 if (htab->elf.dynamic_sections_created) in elf32_hppa_size_dynamic_sections()
2265 elf_link_hash_traverse (&htab->elf, readonly_dynrelocs, info); in elf32_hppa_size_dynamic_sections()
2530 while (hash->elf.root.type == bfd_link_hash_indirect in get_local_syms()
2531 || hash->elf.root.type == bfd_link_hash_warning) in get_local_syms()
2533 hash->elf.root.u.i.link); in get_local_syms()
2538 if ((hash->elf.root.type == bfd_link_hash_defined in get_local_syms()
2539 || hash->elf.root.type == bfd_link_hash_defweak) in get_local_syms()
2540 && hash->elf.type == STT_FUNC in get_local_syms()
2541 && hash->elf.root.u.def.section->output_section != NULL in get_local_syms()
2542 && (hash->elf.root.u.def.section->output_section->owner in get_local_syms()
2544 && hash->elf.root.u.def.section->owner == input_bfd in get_local_syms()
2545 && (hash->elf.elf_link_hash_flags & ELF_LINK_HASH_DEF_REGULAR) in get_local_syms()
2546 && !(hash->elf.elf_link_hash_flags & ELF_LINK_FORCED_LOCAL) in get_local_syms()
2547 && ELF_ST_VISIBILITY (hash->elf.other) == STV_DEFAULT) in get_local_syms()
2553 sec = hash->elf.root.u.def.section; in get_local_syms()
2554 stub_name = hash->elf.root.root.string; in get_local_syms()
2564 stub_entry->target_value = hash->elf.root.u.def.value; in get_local_syms()
2565 stub_entry->target_section = hash->elf.root.u.def.section; in get_local_syms()
2761 while (hash->elf.root.type == bfd_link_hash_indirect in elf32_hppa_size_stubs()
2762 || hash->elf.root.type == bfd_link_hash_warning) in elf32_hppa_size_stubs()
2764 hash->elf.root.u.i.link); in elf32_hppa_size_stubs()
2766 if (hash->elf.root.type == bfd_link_hash_defined in elf32_hppa_size_stubs()
2767 || hash->elf.root.type == bfd_link_hash_defweak) in elf32_hppa_size_stubs()
2769 sym_sec = hash->elf.root.u.def.section; in elf32_hppa_size_stubs()
2770 sym_value = hash->elf.root.u.def.value; in elf32_hppa_size_stubs()
2776 else if (hash->elf.root.type == bfd_link_hash_undefweak) in elf32_hppa_size_stubs()
2781 else if (hash->elf.root.type == bfd_link_hash_undefined) in elf32_hppa_size_stubs()
2784 && (ELF_ST_VISIBILITY (hash->elf.other) in elf32_hppa_size_stubs()
2786 && hash->elf.type != STT_PARISC_MILLI)) in elf32_hppa_size_stubs()
2887 h = bfd_link_hash_lookup (&htab->elf.root, "$global$", FALSE, FALSE, FALSE); in elf32_hppa_set_gp()
3098 && h->elf.plt.offset != (bfd_vma) -1 in final_link_relocate()
3099 && h->elf.dynindx != -1 in final_link_relocate()
3102 || !(h->elf.elf_link_hash_flags & ELF_LINK_HASH_DEF_REGULAR) in final_link_relocate()
3103 || h->elf.root.type == bfd_link_hash_defweak))) in final_link_relocate()
3115 && h->elf.root.type == bfd_link_hash_undefweak) in final_link_relocate()
3467 off = h->elf.got.offset; in elf32_hppa_relocate_section()
3468 dyn = htab->elf.dynamic_sections_created; in elf32_hppa_relocate_section()
3470 &h->elf)) in elf32_hppa_relocate_section()
3482 h->elf.got.offset |= 1; in elf32_hppa_relocate_section()
3552 if (htab->elf.dynamic_sections_created) in elf32_hppa_relocate_section()
3561 off = h->elf.plt.offset; in elf32_hppa_relocate_section()
3563 &h->elf)) in elf32_hppa_relocate_section()
3572 h->elf.plt.offset |= 1; in elf32_hppa_relocate_section()
3639 || (h->elf.root.type != bfd_link_hash_undefweak in elf32_hppa_relocate_section()
3640 && h->elf.root.type != bfd_link_hash_undefined)) in elf32_hppa_relocate_section()
3681 || ELF_ST_VISIBILITY (h->elf.other) == STV_DEFAULT in elf32_hppa_relocate_section()
3682 || h->elf.root.type != bfd_link_hash_undefweak) in elf32_hppa_relocate_section()
3684 || !SYMBOL_CALLS_LOCAL (info, &h->elf))) in elf32_hppa_relocate_section()
3687 && h->elf.dynindx != -1 in elf32_hppa_relocate_section()
3688 && (h->elf.elf_link_hash_flags & ELF_LINK_NON_GOT_REF) == 0 in elf32_hppa_relocate_section()
3690 && (h->elf.elf_link_hash_flags in elf32_hppa_relocate_section()
3692 && (h->elf.elf_link_hash_flags in elf32_hppa_relocate_section()
3694 || h->elf.root.type == bfd_link_hash_undefweak in elf32_hppa_relocate_section()
3695 || h->elf.root.type == bfd_link_hash_undefined))) in elf32_hppa_relocate_section()
3720 && h->elf.dynindx != -1 in elf32_hppa_relocate_section()
3725 || (h->elf.elf_link_hash_flags in elf32_hppa_relocate_section()
3728 outrel.r_info = ELF32_R_INFO (h->elf.dynindx, r_type); in elf32_hppa_relocate_section()
3791 sym_name = h->elf.root.root.string; in elf32_hppa_relocate_section()
4001 dynobj = htab->elf.dynobj; in elf32_hppa_finish_dynamic_sections()
4005 if (htab->elf.dynamic_sections_created) in elf32_hppa_finish_dynamic_sections()