Lines Matching refs:ia64_info

282 			      struct elf64_ia64_link_hash_table *ia64_info)  in elf64_ia64_update_short_info()  argument
289 if (!ia64_info->min_short_sec) in elf64_ia64_update_short_info()
291 ia64_info->max_short_sec = sec; in elf64_ia64_update_short_info()
292 ia64_info->max_short_offset = offset; in elf64_ia64_update_short_info()
293 ia64_info->min_short_sec = sec; in elf64_ia64_update_short_info()
294 ia64_info->min_short_offset = offset; in elf64_ia64_update_short_info()
296 else if (sec == ia64_info->max_short_sec in elf64_ia64_update_short_info()
297 && offset > ia64_info->max_short_offset) in elf64_ia64_update_short_info()
298 ia64_info->max_short_offset = offset; in elf64_ia64_update_short_info()
299 else if (sec == ia64_info->min_short_sec in elf64_ia64_update_short_info()
300 && offset < ia64_info->min_short_offset) in elf64_ia64_update_short_info()
301 ia64_info->min_short_offset = offset; in elf64_ia64_update_short_info()
303 > ia64_info->max_short_sec->vma) in elf64_ia64_update_short_info()
305 ia64_info->max_short_sec = sec; in elf64_ia64_update_short_info()
306 ia64_info->max_short_offset = offset; in elf64_ia64_update_short_info()
309 < ia64_info->min_short_sec->vma) in elf64_ia64_update_short_info()
311 ia64_info->min_short_sec = sec; in elf64_ia64_update_short_info()
312 ia64_info->min_short_offset = offset; in elf64_ia64_update_short_info()
339 struct elf64_ia64_link_hash_table *ia64_info; in elf64_ia64_relax_section() local
367 ia64_info = elf64_ia64_hash_table (link_info); in elf64_ia64_relax_section()
368 if (ia64_info == NULL) in elf64_ia64_relax_section()
475 dyn_i = get_dyn_sym_info (ia64_info, NULL, abfd, irel, FALSE); in elf64_ia64_relax_section()
490 dyn_i = get_dyn_sym_info (ia64_info, h, abfd, irel, FALSE); in elf64_ia64_relax_section()
501 tsec = ia64_info->root.splt; in elf64_ia64_relax_section()
543 if (tsec == ia64_info->root.splt) in elf64_ia64_relax_section()
612 if (tsec == ia64_info->root.splt) in elf64_ia64_relax_section()
632 if (tsec == ia64_info->root.splt) in elf64_ia64_relax_section()
701 ia64_info); in elf64_ia64_relax_section()
714 ia64_info); in elf64_ia64_relax_section()
1028 struct elf64_ia64_link_hash_table *ia64_info in elf64_ia64_link_hash_table_free() local
1030 if (ia64_info->loc_hash_table) in elf64_ia64_link_hash_table_free()
1032 htab_traverse (ia64_info->loc_hash_table, in elf64_ia64_link_hash_table_free()
1034 htab_delete (ia64_info->loc_hash_table); in elf64_ia64_link_hash_table_free()
1036 if (ia64_info->loc_hash_memory) in elf64_ia64_link_hash_table_free()
1037 objalloc_free ((struct objalloc *) ia64_info->loc_hash_memory); in elf64_ia64_link_hash_table_free()
1038 elf_link_hash_traverse (&ia64_info->root, in elf64_ia64_link_hash_table_free()
1127 elf64_ia64_dyn_sym_traverse (struct elf64_ia64_link_hash_table *ia64_info, in elf64_ia64_dyn_sym_traverse() argument
1136 elf_link_hash_traverse (&ia64_info->root, in elf64_ia64_dyn_sym_traverse()
1138 htab_traverse (ia64_info->loc_hash_table, in elf64_ia64_dyn_sym_traverse()
1159 struct elf64_ia64_link_hash_table *ia64_info; in create_ia64_vms_notes() local
1161 ia64_info = elf64_ia64_hash_table (info); in create_ia64_vms_notes()
1244 ia64_info->note_sec->contents = note_contents; in create_ia64_vms_notes()
1245 ia64_info->note_sec->size = note_size; in create_ia64_vms_notes()
1256 struct elf64_ia64_link_hash_table *ia64_info; in elf64_ia64_create_dynamic_sections() local
1261 ia64_info = elf64_ia64_hash_table (info); in elf64_ia64_create_dynamic_sections()
1262 if (ia64_info == NULL) in elf64_ia64_create_dynamic_sections()
1283 ia64_info->root.splt = s; in elf64_ia64_create_dynamic_sections()
1285 if (!get_got (abfd, ia64_info)) in elf64_ia64_create_dynamic_sections()
1288 if (!get_pltoff (abfd, ia64_info)) in elf64_ia64_create_dynamic_sections()
1309 ia64_info->fixups_sec = s; in elf64_ia64_create_dynamic_sections()
1321 ia64_info->transfer_sec = s; in elf64_ia64_create_dynamic_sections()
1332 ia64_info->note_sec = s; in elf64_ia64_create_dynamic_sections()
1340 get_local_sym_hash (struct elf64_ia64_link_hash_table *ia64_info, in get_local_sym_hash() argument
1352 slot = htab_find_slot_with_hash (ia64_info->loc_hash_table, &e, h, in get_local_sym_hash()
1362 objalloc_alloc ((struct objalloc *) ia64_info->loc_hash_memory, in get_local_sym_hash()
1570 get_dyn_sym_info (struct elf64_ia64_link_hash_table *ia64_info, in get_dyn_sym_info() argument
1594 loc_h = get_local_sym_hash (ia64_info, abfd, rel, create); in get_dyn_sym_info()
1709 get_got (bfd *abfd, struct elf64_ia64_link_hash_table *ia64_info) in get_got() argument
1714 got = ia64_info->root.sgot; in get_got()
1719 dynobj = ia64_info->root.dynobj; in get_got()
1721 ia64_info->root.dynobj = dynobj = abfd; in get_got()
1730 ia64_info->root.sgot = got; in get_got()
1743 struct elf64_ia64_link_hash_table *ia64_info) in get_fptr() argument
1748 fptr = ia64_info->fptr_sec; in get_fptr()
1751 dynobj = ia64_info->root.dynobj; in get_fptr()
1753 ia64_info->root.dynobj = dynobj = abfd; in get_fptr()
1770 ia64_info->fptr_sec = fptr; in get_fptr()
1788 ia64_info->rel_fptr_sec = fptr_rel; in get_fptr()
1796 get_pltoff (bfd *abfd, struct elf64_ia64_link_hash_table *ia64_info) in get_pltoff() argument
1801 pltoff = ia64_info->pltoff_sec; in get_pltoff()
1804 dynobj = ia64_info->root.dynobj; in get_pltoff()
1806 ia64_info->root.dynobj = dynobj = abfd; in get_pltoff()
1823 ia64_info->pltoff_sec = pltoff; in get_pltoff()
1831 struct elf64_ia64_link_hash_table *ia64_info, in get_reloc_section() argument
1851 dynobj = ia64_info->root.dynobj; in get_reloc_section()
1853 ia64_info->root.dynobj = dynobj = abfd; in get_reloc_section()
1905 struct elf64_ia64_link_hash_table *ia64_info; in elf64_ia64_check_relocs() local
1929 ia64_info = elf64_ia64_hash_table (info); in elf64_ia64_check_relocs()
1930 if (ia64_info == NULL) in elf64_ia64_check_relocs()
2076 if (get_dyn_sym_info (ia64_info, h, abfd, rel, TRUE) == NULL) in elf64_ia64_check_relocs()
2217 dyn_i = get_dyn_sym_info (ia64_info, h, abfd, rel, FALSE); in elf64_ia64_check_relocs()
2227 got = get_got (abfd, ia64_info); in elf64_ia64_check_relocs()
2241 fptr = get_fptr (abfd, info, ia64_info); in elf64_ia64_check_relocs()
2251 if (!ia64_info->root.dynobj) in elf64_ia64_check_relocs()
2252 ia64_info->root.dynobj = abfd; in elf64_ia64_check_relocs()
2264 pltoff = get_pltoff (abfd, ia64_info); in elf64_ia64_check_relocs()
2275 srel = get_reloc_section (abfd, ia64_info, sec, TRUE); in elf64_ia64_check_relocs()
2451 struct elf64_ia64_link_hash_table *ia64_info; in allocate_dynrel_entries() local
2456 ia64_info = elf64_ia64_hash_table (x->info); in allocate_dynrel_entries()
2457 if (ia64_info == NULL) in allocate_dynrel_entries()
2483 ia64_info->fixups_sec->size += in allocate_dynrel_entries()
2488 if (ia64_info->rel_fptr_sec && dyn_i->want_fptr) in allocate_dynrel_entries()
2492 ia64_info->rel_fptr_sec->size += sizeof (Elf64_External_Rela); in allocate_dynrel_entries()
2503 ia64_info->fixups_sec->size += in allocate_dynrel_entries()
2559 ia64_info->fixups_sec->size += in allocate_dynrel_entries()
2600 struct elf64_ia64_link_hash_table *ia64_info; in elf64_ia64_size_dynamic_sections() local
2607 ia64_info = elf64_ia64_hash_table (info); in elf64_ia64_size_dynamic_sections()
2608 if (ia64_info == NULL) in elf64_ia64_size_dynamic_sections()
2615 if (ia64_info->root.sgot) in elf64_ia64_size_dynamic_sections()
2618 elf64_ia64_dyn_sym_traverse (ia64_info, allocate_global_data_got, &data); in elf64_ia64_size_dynamic_sections()
2619 elf64_ia64_dyn_sym_traverse (ia64_info, allocate_global_fptr_got, &data); in elf64_ia64_size_dynamic_sections()
2620 elf64_ia64_dyn_sym_traverse (ia64_info, allocate_local_got, &data); in elf64_ia64_size_dynamic_sections()
2621 ia64_info->root.sgot->size = data.ofs; in elf64_ia64_size_dynamic_sections()
2626 if (ia64_info->fptr_sec) in elf64_ia64_size_dynamic_sections()
2629 elf64_ia64_dyn_sym_traverse (ia64_info, allocate_fptr, &data); in elf64_ia64_size_dynamic_sections()
2630 ia64_info->fptr_sec->size = data.ofs; in elf64_ia64_size_dynamic_sections()
2639 elf64_ia64_dyn_sym_traverse (ia64_info, allocate_plt_entries, &data); in elf64_ia64_size_dynamic_sections()
2644 elf64_ia64_dyn_sym_traverse (ia64_info, allocate_plt2_entries, &data); in elf64_ia64_size_dynamic_sections()
2645 if (data.ofs != 0 || ia64_info->root.dynamic_sections_created) in elf64_ia64_size_dynamic_sections()
2651 BFD_ASSERT (ia64_info->root.dynamic_sections_created); in elf64_ia64_size_dynamic_sections()
2653 ia64_info->root.splt->size = data.ofs; in elf64_ia64_size_dynamic_sections()
2658 if (ia64_info->pltoff_sec) in elf64_ia64_size_dynamic_sections()
2661 elf64_ia64_dyn_sym_traverse (ia64_info, allocate_pltoff_entries, &data); in elf64_ia64_size_dynamic_sections()
2662 ia64_info->pltoff_sec->size = data.ofs; in elf64_ia64_size_dynamic_sections()
2665 if (ia64_info->root.dynamic_sections_created) in elf64_ia64_size_dynamic_sections()
2669 elf64_ia64_dyn_sym_traverse (ia64_info, allocate_dynrel_entries, &data); in elf64_ia64_size_dynamic_sections()
2691 if (sec == ia64_info->root.sgot) in elf64_ia64_size_dynamic_sections()
2693 else if (sec == ia64_info->root.srelgot) in elf64_ia64_size_dynamic_sections()
2696 ia64_info->root.srelgot = NULL; in elf64_ia64_size_dynamic_sections()
2702 else if (sec == ia64_info->fptr_sec) in elf64_ia64_size_dynamic_sections()
2705 ia64_info->fptr_sec = NULL; in elf64_ia64_size_dynamic_sections()
2707 else if (sec == ia64_info->rel_fptr_sec) in elf64_ia64_size_dynamic_sections()
2710 ia64_info->rel_fptr_sec = NULL; in elf64_ia64_size_dynamic_sections()
2716 else if (sec == ia64_info->root.splt) in elf64_ia64_size_dynamic_sections()
2719 ia64_info->root.splt = NULL; in elf64_ia64_size_dynamic_sections()
2721 else if (sec == ia64_info->pltoff_sec) in elf64_ia64_size_dynamic_sections()
2724 ia64_info->pltoff_sec = NULL; in elf64_ia64_size_dynamic_sections()
2726 else if (sec == ia64_info->fixups_sec) in elf64_ia64_size_dynamic_sections()
2729 ia64_info->fixups_sec = NULL; in elf64_ia64_size_dynamic_sections()
2731 else if (sec == ia64_info->transfer_sec) in elf64_ia64_size_dynamic_sections()
2923 struct elf64_ia64_link_hash_table *ia64_info, in elf64_ia64_install_fixup() argument
2941 relsec = ia64_info->fixups_sec; in elf64_ia64_install_fixup()
2968 struct elf64_ia64_link_hash_table *ia64_info; in set_got_entry() local
2973 ia64_info = elf64_ia64_hash_table (info); in set_got_entry()
2974 if (ia64_info == NULL) in set_got_entry()
2977 got_sec = ia64_info->root.sgot; in set_got_entry()
3034 (info->output_bfd, ia64_info, dyn_i->h, in set_got_entry()
3055 struct elf64_ia64_link_hash_table *ia64_info; in set_fptr_entry() local
3058 ia64_info = elf64_ia64_hash_table (info); in set_fptr_entry()
3059 if (ia64_info == NULL) in set_fptr_entry()
3062 fptr_sec = ia64_info->fptr_sec; in set_fptr_entry()
3090 struct elf64_ia64_link_hash_table *ia64_info; in set_pltoff_entry() local
3093 ia64_info = elf64_ia64_hash_table (info); in set_pltoff_entry()
3094 if (ia64_info == NULL) in set_pltoff_entry()
3097 pltoff_sec = ia64_info->pltoff_sec; in set_pltoff_entry()
3158 struct elf64_ia64_link_hash_table *ia64_info; in elf64_ia64_choose_gp() local
3160 ia64_info = elf64_ia64_hash_table (info); in elf64_ia64_choose_gp()
3161 if (ia64_info == NULL) in elf64_ia64_choose_gp()
3196 if (ia64_info->min_short_sec) in elf64_ia64_choose_gp()
3199 > (ia64_info->min_short_sec->vma in elf64_ia64_choose_gp()
3200 + ia64_info->min_short_offset)) in elf64_ia64_choose_gp()
3201 min_short_vma = (ia64_info->min_short_sec->vma in elf64_ia64_choose_gp()
3202 + ia64_info->min_short_offset); in elf64_ia64_choose_gp()
3204 < (ia64_info->max_short_sec->vma in elf64_ia64_choose_gp()
3205 + ia64_info->max_short_offset)) in elf64_ia64_choose_gp()
3206 max_short_vma = (ia64_info->max_short_sec->vma in elf64_ia64_choose_gp()
3207 + ia64_info->max_short_offset); in elf64_ia64_choose_gp()
3227 if (ia64_info->min_short_sec) in elf64_ia64_choose_gp()
3239 asection *got_sec = ia64_info->root.sgot; in elf64_ia64_choose_gp()
3304 struct elf64_ia64_link_hash_table *ia64_info; in elf64_ia64_final_link() local
3307 ia64_info = elf64_ia64_hash_table (info); in elf64_ia64_final_link()
3308 if (ia64_info == NULL) in elf64_ia64_final_link()
3382 struct elf64_ia64_link_hash_table *ia64_info; in elf64_ia64_relocate_section() local
3390 ia64_info = elf64_ia64_hash_table (info); in elf64_ia64_relocate_section()
3391 if (ia64_info == NULL) in elf64_ia64_relocate_section()
3458 loc_h = get_local_sym_hash (ia64_info, input_bfd, rel, FALSE); in elf64_ia64_relocate_section()
3594 (output_bfd, ia64_info, h, in elf64_ia64_relocate_section()
3632 dyn_i = get_dyn_sym_info (ia64_info, h, input_bfd, rel, FALSE); in elf64_ia64_relocate_section()
3643 dyn_i = get_dyn_sym_info (ia64_info, h, input_bfd, rel, FALSE); in elf64_ia64_relocate_section()
3654 dyn_i = get_dyn_sym_info (ia64_info, h, input_bfd, rel, FALSE); in elf64_ia64_relocate_section()
3689 (output_bfd, ia64_info, h, R_IA64_VMS_FIXFD, in elf64_ia64_relocate_section()
3704 dyn_i = get_dyn_sym_info (ia64_info, h, input_bfd, rel, FALSE); in elf64_ia64_relocate_section()
3737 dyn_i = get_dyn_sym_info (ia64_info, h, NULL, NULL, FALSE); in elf64_ia64_relocate_section()
3744 value = (ia64_info->root.splt->output_section->vma in elf64_ia64_relocate_section()
3745 + ia64_info->root.splt->output_offset in elf64_ia64_relocate_section()
3990 struct elf64_ia64_link_hash_table *ia64_info; in elf64_ia64_finish_dynamic_symbol() local
3993 ia64_info = elf64_ia64_hash_table (info); in elf64_ia64_finish_dynamic_symbol()
3994 if (ia64_info == NULL) in elf64_ia64_finish_dynamic_symbol()
3997 dyn_i = get_dyn_sym_info (ia64_info, h, NULL, NULL, FALSE); in elf64_ia64_finish_dynamic_symbol()
4008 plt_sec = ia64_info->root.splt; in elf64_ia64_finish_dynamic_symbol()
4030 (output_bfd, ia64_info, h, R_IA64_VMS_FIXFD, ia64_info->pltoff_sec, in elf64_ia64_finish_dynamic_symbol()
4031 pltoff_addr - (ia64_info->pltoff_sec->output_section->vma in elf64_ia64_finish_dynamic_symbol()
4032 + ia64_info->pltoff_sec->output_offset), 0); in elf64_ia64_finish_dynamic_symbol()
4036 if (h == ia64_info->root.hdynamic in elf64_ia64_finish_dynamic_symbol()
4037 || h == ia64_info->root.hgot in elf64_ia64_finish_dynamic_symbol()
4038 || h == ia64_info->root.hplt) in elf64_ia64_finish_dynamic_symbol()
4048 struct elf64_ia64_link_hash_table *ia64_info; in elf64_ia64_finish_dynamic_sections() local
4051 ia64_info = elf64_ia64_hash_table (info); in elf64_ia64_finish_dynamic_sections()
4052 if (ia64_info == NULL) in elf64_ia64_finish_dynamic_sections()
4055 dynobj = ia64_info->root.dynobj; in elf64_ia64_finish_dynamic_sections()
4077 (info->output_bfd, ia64_info->pltoff_sec->output_section); in elf64_ia64_finish_dynamic_sections()
4108 (ia64_info->fixups_sec->output_section->vma in elf64_ia64_finish_dynamic_sections()
4109 + ia64_info->fixups_sec->output_offset) in elf64_ia64_finish_dynamic_sections()
4154 asection *tfr_sec = ia64_info->transfer_sec; in elf64_ia64_finish_dynamic_sections()