Lines Matching refs:hppa_info

397 		   struct elf64_hppa_link_hash_table *hppa_info,  in get_reloc_section()  argument
410 dynobj = hppa_info->root.dynobj; in get_reloc_section()
412 hppa_info->root.dynobj = dynobj = abfd; in get_reloc_section()
429 hppa_info->other_rel_sec = srel; in get_reloc_section()
500 struct elf64_hppa_link_hash_table *hppa_info; in elf64_hppa_check_relocs() local
517 hppa_info = hppa_link_hash_table (info); in elf64_hppa_check_relocs()
518 if (hppa_info == NULL) in elf64_hppa_check_relocs()
525 if (info->shared && hppa_info->section_syms_bfd != abfd) in elf64_hppa_check_relocs()
538 if (hppa_info->section_syms) in elf64_hppa_check_relocs()
539 free (hppa_info->section_syms); in elf64_hppa_check_relocs()
568 hppa_info->section_syms = (int *) bfd_malloc (amt); in elf64_hppa_check_relocs()
575 hppa_info->section_syms[isym->st_shndx] = i; in elf64_hppa_check_relocs()
592 hppa_info->section_syms_bfd = abfd; in elf64_hppa_check_relocs()
609 sec_symndx = hppa_info->section_syms[sec_symndx]; in elf64_hppa_check_relocs()
785 if (! hppa_info->dlt_sec in elf64_hppa_check_relocs()
786 && ! get_dlt (abfd, info, hppa_info)) in elf64_hppa_check_relocs()
808 if (! hppa_info->plt_sec in elf64_hppa_check_relocs()
809 && ! get_plt (abfd, info, hppa_info)) in elf64_hppa_check_relocs()
834 if (! hppa_info->stub_sec in elf64_hppa_check_relocs()
835 && ! get_stub (abfd, info, hppa_info)) in elf64_hppa_check_relocs()
843 if (! hppa_info->opd_sec in elf64_hppa_check_relocs()
844 && ! get_opd (abfd, info, hppa_info)) in elf64_hppa_check_relocs()
871 if (! hppa_info->other_rel_sec in elf64_hppa_check_relocs()
872 && ! get_reloc_section (abfd, hppa_info, sec)) in elf64_hppa_check_relocs()
933 struct elf64_hppa_link_hash_table *hppa_info; in elf64_hppa_mark_exported_functions() local
935 hppa_info = hppa_link_hash_table (info); in elf64_hppa_mark_exported_functions()
936 if (hppa_info == NULL) in elf64_hppa_mark_exported_functions()
945 if (! hppa_info->opd_sec in elf64_hppa_mark_exported_functions()
946 && ! get_opd (hppa_info->root.dynobj, info, hppa_info)) in elf64_hppa_mark_exported_functions()
1008 struct elf64_hppa_link_hash_table *hppa_info; in allocate_global_data_plt() local
1010 hppa_info = hppa_link_hash_table (x->info); in allocate_global_data_plt()
1011 if (hppa_info == NULL) in allocate_global_data_plt()
1014 hppa_info->gp_offset = hh->plt_offset; in allocate_global_data_plt()
1146 struct elf64_hppa_link_hash_table *hppa_info) in get_opd() argument
1151 opd = hppa_info->opd_sec; in get_opd()
1154 dynobj = hppa_info->root.dynobj; in get_opd()
1156 hppa_info->root.dynobj = dynobj = abfd; in get_opd()
1171 hppa_info->opd_sec = opd; in get_opd()
1182 struct elf64_hppa_link_hash_table *hppa_info) in get_plt() argument
1187 plt = hppa_info->plt_sec; in get_plt()
1190 dynobj = hppa_info->root.dynobj; in get_plt()
1192 hppa_info->root.dynobj = dynobj = abfd; in get_plt()
1207 hppa_info->plt_sec = plt; in get_plt()
1218 struct elf64_hppa_link_hash_table *hppa_info) in get_dlt() argument
1223 dlt = hppa_info->dlt_sec; in get_dlt()
1226 dynobj = hppa_info->root.dynobj; in get_dlt()
1228 hppa_info->root.dynobj = dynobj = abfd; in get_dlt()
1243 hppa_info->dlt_sec = dlt; in get_dlt()
1254 struct elf64_hppa_link_hash_table *hppa_info) in get_stub() argument
1259 stub = hppa_info->stub_sec; in get_stub()
1262 dynobj = hppa_info->root.dynobj; in get_stub()
1264 hppa_info->root.dynobj = dynobj = abfd; in get_stub()
1279 hppa_info->stub_sec = stub; in get_stub()
1328 struct elf64_hppa_link_hash_table *hppa_info; in elf64_hppa_create_dynamic_sections() local
1330 hppa_info = hppa_link_hash_table (info); in elf64_hppa_create_dynamic_sections()
1331 if (hppa_info == NULL) in elf64_hppa_create_dynamic_sections()
1334 if (! get_stub (abfd, info, hppa_info)) in elf64_hppa_create_dynamic_sections()
1337 if (! get_dlt (abfd, info, hppa_info)) in elf64_hppa_create_dynamic_sections()
1340 if (! get_plt (abfd, info, hppa_info)) in elf64_hppa_create_dynamic_sections()
1343 if (! get_opd (abfd, info, hppa_info)) in elf64_hppa_create_dynamic_sections()
1355 hppa_info->dlt_rel_sec = s; in elf64_hppa_create_dynamic_sections()
1366 hppa_info->plt_rel_sec = s; in elf64_hppa_create_dynamic_sections()
1377 hppa_info->other_rel_sec = s; in elf64_hppa_create_dynamic_sections()
1388 hppa_info->opd_rel_sec = s; in elf64_hppa_create_dynamic_sections()
1401 struct elf64_hppa_link_hash_table *hppa_info; in allocate_dynrel_entries() local
1405 hppa_info = hppa_link_hash_table (x->info); in allocate_dynrel_entries()
1406 if (hppa_info == NULL) in allocate_dynrel_entries()
1426 hppa_info->other_rel_sec->size += sizeof (Elf64_External_Rela); in allocate_dynrel_entries()
1440 hppa_info->dlt_rel_sec->size += sizeof (Elf64_External_Rela); in allocate_dynrel_entries()
1446 hppa_info->opd_rel_sec->size += sizeof (Elf64_External_Rela); in allocate_dynrel_entries()
1460 hppa_info->plt_rel_sec->size += t; in allocate_dynrel_entries()
1529 struct elf64_hppa_link_hash_table *hppa_info; in elf64_hppa_size_dynamic_sections() local
1538 hppa_info = hppa_link_hash_table (info); in elf64_hppa_size_dynamic_sections()
1539 if (hppa_info == NULL) in elf64_hppa_size_dynamic_sections()
1632 sec = hppa_info->dlt_sec; in elf64_hppa_size_dynamic_sections()
1633 srel = hppa_info->dlt_rel_sec; in elf64_hppa_size_dynamic_sections()
1651 if (! hppa_info->root.dynamic_sections_created) in elf64_hppa_size_dynamic_sections()
1659 sec = hppa_info->plt_sec; in elf64_hppa_size_dynamic_sections()
1660 srel = hppa_info->plt_rel_sec; in elf64_hppa_size_dynamic_sections()
1677 if (! hppa_info->root.dynamic_sections_created) in elf64_hppa_size_dynamic_sections()
1685 sec = hppa_info->opd_sec; in elf64_hppa_size_dynamic_sections()
1686 srel = hppa_info->opd_rel_sec; in elf64_hppa_size_dynamic_sections()
1705 if (hppa_info->dlt_sec) in elf64_hppa_size_dynamic_sections()
1707 data.ofs = hppa_info->dlt_sec->size; in elf64_hppa_size_dynamic_sections()
1710 hppa_info->dlt_sec->size = data.ofs; in elf64_hppa_size_dynamic_sections()
1713 if (hppa_info->plt_sec) in elf64_hppa_size_dynamic_sections()
1715 data.ofs = hppa_info->plt_sec->size; in elf64_hppa_size_dynamic_sections()
1718 hppa_info->plt_sec->size = data.ofs; in elf64_hppa_size_dynamic_sections()
1721 if (hppa_info->stub_sec) in elf64_hppa_size_dynamic_sections()
1726 hppa_info->stub_sec->size = data.ofs; in elf64_hppa_size_dynamic_sections()
1730 if (hppa_info->opd_sec) in elf64_hppa_size_dynamic_sections()
1732 data.ofs = hppa_info->opd_sec->size; in elf64_hppa_size_dynamic_sections()
1735 hppa_info->opd_sec->size = data.ofs; in elf64_hppa_size_dynamic_sections()
1739 if (hppa_info->root.dynamic_sections_created) in elf64_hppa_size_dynamic_sections()
1950 struct elf64_hppa_link_hash_table *hppa_info; in elf64_hppa_finish_dynamic_symbol() local
1952 hppa_info = hppa_link_hash_table (info); in elf64_hppa_finish_dynamic_symbol()
1953 if (hppa_info == NULL) in elf64_hppa_finish_dynamic_symbol()
1956 stub = hppa_info->stub_sec; in elf64_hppa_finish_dynamic_symbol()
1957 splt = hppa_info->plt_sec; in elf64_hppa_finish_dynamic_symbol()
1958 sopd = hppa_info->opd_sec; in elf64_hppa_finish_dynamic_symbol()
1959 spltrel = hppa_info->plt_rel_sec; in elf64_hppa_finish_dynamic_symbol()
2063 value = hh->plt_offset - hppa_info->gp_offset; in elf64_hppa_finish_dynamic_symbol()
2119 struct elf64_hppa_link_hash_table *hppa_info; in elf64_hppa_finalize_opd() local
2123 hppa_info = hppa_link_hash_table (info); in elf64_hppa_finalize_opd()
2124 if (hppa_info == NULL) in elf64_hppa_finalize_opd()
2127 sopd = hppa_info->opd_sec; in elf64_hppa_finalize_opd()
2128 sopdrel = hppa_info->opd_rel_sec; in elf64_hppa_finalize_opd()
2240 struct elf64_hppa_link_hash_table *hppa_info; in elf64_hppa_finalize_dlt() local
2243 hppa_info = hppa_link_hash_table (info); in elf64_hppa_finalize_dlt()
2244 if (hppa_info == NULL) in elf64_hppa_finalize_dlt()
2247 sdlt = hppa_info->dlt_sec; in elf64_hppa_finalize_dlt()
2248 sdltrel = hppa_info->dlt_rel_sec; in elf64_hppa_finalize_dlt()
2267 + hppa_info->opd_sec->output_offset in elf64_hppa_finalize_dlt()
2268 + hppa_info->opd_sec->output_section->vma); in elf64_hppa_finalize_dlt()
2335 struct elf64_hppa_link_hash_table *hppa_info; in elf64_hppa_finalize_dynreloc() local
2348 hppa_info = hppa_link_hash_table (info); in elf64_hppa_finalize_dynreloc()
2349 if (hppa_info == NULL) in elf64_hppa_finalize_dynreloc()
2405 + hppa_info->opd_sec->output_section->vma in elf64_hppa_finalize_dynreloc()
2406 + hppa_info->opd_sec->output_offset); in elf64_hppa_finalize_dynreloc()
2432 loc = hppa_info->other_rel_sec->contents; in elf64_hppa_finalize_dynreloc()
2433 loc += (hppa_info->other_rel_sec->reloc_count++ in elf64_hppa_finalize_dynreloc()
2435 bfd_elf64_swap_reloca_out (hppa_info->other_rel_sec->output_section->owner, in elf64_hppa_finalize_dynreloc()
2473 struct elf64_hppa_link_hash_table *hppa_info; in elf64_hppa_finish_dynamic_sections() local
2475 hppa_info = hppa_link_hash_table (info); in elf64_hppa_finish_dynamic_sections()
2476 if (hppa_info == NULL) in elf64_hppa_finish_dynamic_sections()
2538 s = hppa_info->plt_rel_sec; in elf64_hppa_finish_dynamic_sections()
2544 s = hppa_info->plt_rel_sec; in elf64_hppa_finish_dynamic_sections()
2550 s = hppa_info->other_rel_sec; in elf64_hppa_finish_dynamic_sections()
2552 s = hppa_info->dlt_rel_sec; in elf64_hppa_finish_dynamic_sections()
2554 s = hppa_info->opd_rel_sec; in elf64_hppa_finish_dynamic_sections()
2560 s = hppa_info->other_rel_sec; in elf64_hppa_finish_dynamic_sections()
2562 s = hppa_info->dlt_rel_sec; in elf64_hppa_finish_dynamic_sections()
2564 s = hppa_info->opd_rel_sec; in elf64_hppa_finish_dynamic_sections()
2569 s = hppa_info->plt_rel_sec; in elf64_hppa_finish_dynamic_sections()
2913 struct elf64_hppa_link_hash_table *hppa_info = data; in elf_hppa_record_segment_addrs() local
2926 if (value < hppa_info->text_segment_base) in elf_hppa_record_segment_addrs()
2927 hppa_info->text_segment_base = value; in elf_hppa_record_segment_addrs()
2931 if (value < hppa_info->data_segment_base) in elf_hppa_record_segment_addrs()
2932 hppa_info->data_segment_base = value; in elf_hppa_record_segment_addrs()
2947 struct elf64_hppa_link_hash_table *hppa_info = hppa_link_hash_table (info); in elf_hppa_final_link() local
2949 if (hppa_info == NULL) in elf_hppa_final_link()
2970 gp->root.u.def.value += hppa_info->gp_offset; in elf_hppa_final_link()
2987 sec = hppa_info->plt_sec; in elf_hppa_final_link()
2991 + hppa_info->gp_offset); in elf_hppa_final_link()
2994 sec = hppa_info->dlt_sec; in elf_hppa_final_link()
2996 sec = hppa_info->opd_sec; in elf_hppa_final_link()
3013 hppa_info->text_segment_base = (bfd_vma)-1; in elf_hppa_final_link()
3014 hppa_info->data_segment_base = (bfd_vma)-1; in elf_hppa_final_link()
3180 struct elf64_hppa_link_hash_table *hppa_info = hppa_link_hash_table (info); in elf_hppa_final_link_relocate() local
3193 if (hppa_info == NULL) in elf_hppa_final_link_relocate()
3224 value = (hh->stub_offset + hppa_info->stub_sec->output_offset in elf_hppa_final_link_relocate()
3225 + hppa_info->stub_sec->output_section->vma); in elf_hppa_final_link_relocate()
3258 value = (hh->stub_offset + hppa_info->stub_sec->output_offset in elf_hppa_final_link_relocate()
3259 + hppa_info->stub_sec->output_section->vma); in elf_hppa_final_link_relocate()
3369 memset (hppa_info->opd_sec->contents + off, 0, 16); in elf_hppa_final_link_relocate()
3372 bfd_put_64 (hppa_info->opd_sec->owner, value + addend, in elf_hppa_final_link_relocate()
3373 (hppa_info->opd_sec->contents + off + 16)); in elf_hppa_final_link_relocate()
3377 (hppa_info->opd_sec->output_section->owner); in elf_hppa_final_link_relocate()
3378 bfd_put_64 (hppa_info->opd_sec->owner, value, in elf_hppa_final_link_relocate()
3379 (hppa_info->opd_sec->contents + off + 24)); in elf_hppa_final_link_relocate()
3384 + hppa_info->opd_sec->output_offset in elf_hppa_final_link_relocate()
3385 + hppa_info->opd_sec->output_section->vma); in elf_hppa_final_link_relocate()
3400 bfd_put_64 (hppa_info->dlt_sec->owner, in elf_hppa_final_link_relocate()
3402 hppa_info->dlt_sec->contents + off); in elf_hppa_final_link_relocate()
3413 + hppa_info->dlt_sec->output_offset in elf_hppa_final_link_relocate()
3414 + hppa_info->dlt_sec->output_section->vma); in elf_hppa_final_link_relocate()
3528 + hppa_info->plt_sec->output_offset in elf_hppa_final_link_relocate()
3529 + hppa_info->plt_sec->output_section->vma); in elf_hppa_final_link_relocate()
3556 memset (hppa_info->opd_sec->contents + hh->opd_offset, 0, 16); in elf_hppa_final_link_relocate()
3559 bfd_put_64 (hppa_info->opd_sec->owner, value + addend, in elf_hppa_final_link_relocate()
3560 (hppa_info->opd_sec->contents in elf_hppa_final_link_relocate()
3565 (hppa_info->opd_sec->output_section->owner); in elf_hppa_final_link_relocate()
3566 bfd_put_64 (hppa_info->opd_sec->owner, value, in elf_hppa_final_link_relocate()
3567 hppa_info->opd_sec->contents + hh->opd_offset + 24); in elf_hppa_final_link_relocate()
3571 + hppa_info->opd_sec->output_offset in elf_hppa_final_link_relocate()
3572 + hppa_info->opd_sec->output_section->vma); in elf_hppa_final_link_relocate()
3574 bfd_put_64 (hppa_info->dlt_sec->owner, in elf_hppa_final_link_relocate()
3576 hppa_info->dlt_sec->contents + hh->dlt_offset); in elf_hppa_final_link_relocate()
3584 + hppa_info->dlt_sec->output_offset in elf_hppa_final_link_relocate()
3585 + hppa_info->dlt_sec->output_section->vma); in elf_hppa_final_link_relocate()
3599 memset (hppa_info->opd_sec->contents + hh->opd_offset, 0, 16); in elf_hppa_final_link_relocate()
3602 bfd_put_64 (hppa_info->opd_sec->owner, value + addend, in elf_hppa_final_link_relocate()
3603 (hppa_info->opd_sec->contents in elf_hppa_final_link_relocate()
3608 (hppa_info->opd_sec->output_section->owner); in elf_hppa_final_link_relocate()
3609 bfd_put_64 (hppa_info->opd_sec->owner, value, in elf_hppa_final_link_relocate()
3610 hppa_info->opd_sec->contents + hh->opd_offset + 24); in elf_hppa_final_link_relocate()
3614 + hppa_info->opd_sec->output_offset in elf_hppa_final_link_relocate()
3615 + hppa_info->opd_sec->output_section->vma); in elf_hppa_final_link_relocate()
3617 bfd_put_64 (hppa_info->dlt_sec->owner, in elf_hppa_final_link_relocate()
3619 hppa_info->dlt_sec->contents + hh->dlt_offset); in elf_hppa_final_link_relocate()
3627 + hppa_info->dlt_sec->output_offset in elf_hppa_final_link_relocate()
3628 + hppa_info->dlt_sec->output_section->vma); in elf_hppa_final_link_relocate()
3656 + hppa_info->dlt_sec->output_offset in elf_hppa_final_link_relocate()
3657 + hppa_info->dlt_sec->output_section->vma); in elf_hppa_final_link_relocate()
3669 value = (hh->stub_offset + hppa_info->stub_sec->output_offset in elf_hppa_final_link_relocate()
3670 + hppa_info->stub_sec->output_section->vma); in elf_hppa_final_link_relocate()
3688 value = (hh->stub_offset + hppa_info->stub_sec->output_offset in elf_hppa_final_link_relocate()
3689 + hppa_info->stub_sec->output_section->vma); in elf_hppa_final_link_relocate()
3727 memset (hppa_info->opd_sec->contents + off, 0, 16); in elf_hppa_final_link_relocate()
3730 bfd_put_64 (hppa_info->opd_sec->owner, value + addend, in elf_hppa_final_link_relocate()
3731 (hppa_info->opd_sec->contents + off + 16)); in elf_hppa_final_link_relocate()
3735 (hppa_info->opd_sec->output_section->owner); in elf_hppa_final_link_relocate()
3736 bfd_put_64 (hppa_info->opd_sec->owner, value, in elf_hppa_final_link_relocate()
3737 hppa_info->opd_sec->contents + off + 24); in elf_hppa_final_link_relocate()
3746 + hppa_info->opd_sec->output_offset in elf_hppa_final_link_relocate()
3747 + hppa_info->opd_sec->output_section->vma); in elf_hppa_final_link_relocate()
3767 if (hppa_info->text_segment_base == (bfd_vma) -1) in elf_hppa_final_link_relocate()
3769 hppa_info); in elf_hppa_final_link_relocate()
3780 value -= hppa_info->text_segment_base; in elf_hppa_final_link_relocate()
3782 value -= hppa_info->data_segment_base; in elf_hppa_final_link_relocate()
3816 struct elf64_hppa_link_hash_table *hppa_info; in elf64_hppa_relocate_section() local
3818 hppa_info = hppa_link_hash_table (info); in elf64_hppa_relocate_section()
3819 if (hppa_info == NULL) in elf64_hppa_relocate_section()