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 (bfd_link_pic (info) && 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()
1144 struct elf64_hppa_link_hash_table *hppa_info) in get_opd() argument
1149 opd = hppa_info->opd_sec; in get_opd()
1152 dynobj = hppa_info->root.dynobj; in get_opd()
1154 hppa_info->root.dynobj = dynobj = abfd; in get_opd()
1169 hppa_info->opd_sec = opd; in get_opd()
1180 struct elf64_hppa_link_hash_table *hppa_info) in get_plt() argument
1185 plt = hppa_info->plt_sec; in get_plt()
1188 dynobj = hppa_info->root.dynobj; in get_plt()
1190 hppa_info->root.dynobj = dynobj = abfd; in get_plt()
1205 hppa_info->plt_sec = plt; in get_plt()
1216 struct elf64_hppa_link_hash_table *hppa_info) in get_dlt() argument
1221 dlt = hppa_info->dlt_sec; in get_dlt()
1224 dynobj = hppa_info->root.dynobj; in get_dlt()
1226 hppa_info->root.dynobj = dynobj = abfd; in get_dlt()
1241 hppa_info->dlt_sec = dlt; in get_dlt()
1252 struct elf64_hppa_link_hash_table *hppa_info) in get_stub() argument
1257 stub = hppa_info->stub_sec; in get_stub()
1260 dynobj = hppa_info->root.dynobj; in get_stub()
1262 hppa_info->root.dynobj = dynobj = abfd; in get_stub()
1277 hppa_info->stub_sec = stub; in get_stub()
1326 struct elf64_hppa_link_hash_table *hppa_info; in elf64_hppa_create_dynamic_sections() local
1328 hppa_info = hppa_link_hash_table (info); in elf64_hppa_create_dynamic_sections()
1329 if (hppa_info == NULL) in elf64_hppa_create_dynamic_sections()
1332 if (! get_stub (abfd, info, hppa_info)) in elf64_hppa_create_dynamic_sections()
1335 if (! get_dlt (abfd, info, hppa_info)) in elf64_hppa_create_dynamic_sections()
1338 if (! get_plt (abfd, info, hppa_info)) in elf64_hppa_create_dynamic_sections()
1341 if (! get_opd (abfd, info, hppa_info)) in elf64_hppa_create_dynamic_sections()
1353 hppa_info->dlt_rel_sec = s; in elf64_hppa_create_dynamic_sections()
1364 hppa_info->plt_rel_sec = s; in elf64_hppa_create_dynamic_sections()
1375 hppa_info->other_rel_sec = s; in elf64_hppa_create_dynamic_sections()
1386 hppa_info->opd_rel_sec = s; in elf64_hppa_create_dynamic_sections()
1399 struct elf64_hppa_link_hash_table *hppa_info; in allocate_dynrel_entries() local
1403 hppa_info = hppa_link_hash_table (x->info); in allocate_dynrel_entries()
1404 if (hppa_info == NULL) in allocate_dynrel_entries()
1424 hppa_info->other_rel_sec->size += sizeof (Elf64_External_Rela); in allocate_dynrel_entries()
1438 hppa_info->dlt_rel_sec->size += sizeof (Elf64_External_Rela); in allocate_dynrel_entries()
1444 hppa_info->opd_rel_sec->size += sizeof (Elf64_External_Rela); in allocate_dynrel_entries()
1458 hppa_info->plt_rel_sec->size += t; in allocate_dynrel_entries()
1527 struct elf64_hppa_link_hash_table *hppa_info; in elf64_hppa_size_dynamic_sections() local
1536 hppa_info = hppa_link_hash_table (info); in elf64_hppa_size_dynamic_sections()
1537 if (hppa_info == NULL) in elf64_hppa_size_dynamic_sections()
1630 sec = hppa_info->dlt_sec; in elf64_hppa_size_dynamic_sections()
1631 srel = hppa_info->dlt_rel_sec; in elf64_hppa_size_dynamic_sections()
1649 if (! hppa_info->root.dynamic_sections_created) in elf64_hppa_size_dynamic_sections()
1657 sec = hppa_info->plt_sec; in elf64_hppa_size_dynamic_sections()
1658 srel = hppa_info->plt_rel_sec; in elf64_hppa_size_dynamic_sections()
1675 if (! hppa_info->root.dynamic_sections_created) in elf64_hppa_size_dynamic_sections()
1683 sec = hppa_info->opd_sec; in elf64_hppa_size_dynamic_sections()
1684 srel = hppa_info->opd_rel_sec; in elf64_hppa_size_dynamic_sections()
1703 if (hppa_info->dlt_sec) in elf64_hppa_size_dynamic_sections()
1705 data.ofs = hppa_info->dlt_sec->size; in elf64_hppa_size_dynamic_sections()
1708 hppa_info->dlt_sec->size = data.ofs; in elf64_hppa_size_dynamic_sections()
1711 if (hppa_info->plt_sec) in elf64_hppa_size_dynamic_sections()
1713 data.ofs = hppa_info->plt_sec->size; in elf64_hppa_size_dynamic_sections()
1716 hppa_info->plt_sec->size = data.ofs; in elf64_hppa_size_dynamic_sections()
1719 if (hppa_info->stub_sec) in elf64_hppa_size_dynamic_sections()
1724 hppa_info->stub_sec->size = data.ofs; in elf64_hppa_size_dynamic_sections()
1728 if (hppa_info->opd_sec) in elf64_hppa_size_dynamic_sections()
1730 data.ofs = hppa_info->opd_sec->size; in elf64_hppa_size_dynamic_sections()
1733 hppa_info->opd_sec->size = data.ofs; in elf64_hppa_size_dynamic_sections()
1737 if (hppa_info->root.dynamic_sections_created) in elf64_hppa_size_dynamic_sections()
1948 struct elf64_hppa_link_hash_table *hppa_info; in elf64_hppa_finish_dynamic_symbol() local
1950 hppa_info = hppa_link_hash_table (info); in elf64_hppa_finish_dynamic_symbol()
1951 if (hppa_info == NULL) in elf64_hppa_finish_dynamic_symbol()
1954 stub = hppa_info->stub_sec; in elf64_hppa_finish_dynamic_symbol()
1955 splt = hppa_info->plt_sec; in elf64_hppa_finish_dynamic_symbol()
1956 sopd = hppa_info->opd_sec; in elf64_hppa_finish_dynamic_symbol()
1957 spltrel = hppa_info->plt_rel_sec; in elf64_hppa_finish_dynamic_symbol()
2061 value = hh->plt_offset - hppa_info->gp_offset; in elf64_hppa_finish_dynamic_symbol()
2117 struct elf64_hppa_link_hash_table *hppa_info; in elf64_hppa_finalize_opd() local
2121 hppa_info = hppa_link_hash_table (info); in elf64_hppa_finalize_opd()
2122 if (hppa_info == NULL) in elf64_hppa_finalize_opd()
2125 sopd = hppa_info->opd_sec; in elf64_hppa_finalize_opd()
2126 sopdrel = hppa_info->opd_rel_sec; in elf64_hppa_finalize_opd()
2237 struct elf64_hppa_link_hash_table *hppa_info; in elf64_hppa_finalize_dlt() local
2240 hppa_info = hppa_link_hash_table (info); in elf64_hppa_finalize_dlt()
2241 if (hppa_info == NULL) in elf64_hppa_finalize_dlt()
2244 sdlt = hppa_info->dlt_sec; in elf64_hppa_finalize_dlt()
2245 sdltrel = hppa_info->dlt_rel_sec; in elf64_hppa_finalize_dlt()
2264 + hppa_info->opd_sec->output_offset in elf64_hppa_finalize_dlt()
2265 + hppa_info->opd_sec->output_section->vma); in elf64_hppa_finalize_dlt()
2332 struct elf64_hppa_link_hash_table *hppa_info; in elf64_hppa_finalize_dynreloc() local
2345 hppa_info = hppa_link_hash_table (info); in elf64_hppa_finalize_dynreloc()
2346 if (hppa_info == NULL) in elf64_hppa_finalize_dynreloc()
2404 + hppa_info->opd_sec->output_section->vma in elf64_hppa_finalize_dynreloc()
2405 + hppa_info->opd_sec->output_offset); in elf64_hppa_finalize_dynreloc()
2431 loc = hppa_info->other_rel_sec->contents; in elf64_hppa_finalize_dynreloc()
2432 loc += (hppa_info->other_rel_sec->reloc_count++ in elf64_hppa_finalize_dynreloc()
2434 bfd_elf64_swap_reloca_out (hppa_info->other_rel_sec->output_section->owner, in elf64_hppa_finalize_dynreloc()
2472 struct elf64_hppa_link_hash_table *hppa_info; in elf64_hppa_finish_dynamic_sections() local
2474 hppa_info = hppa_link_hash_table (info); in elf64_hppa_finish_dynamic_sections()
2475 if (hppa_info == NULL) in elf64_hppa_finish_dynamic_sections()
2537 s = hppa_info->plt_rel_sec; in elf64_hppa_finish_dynamic_sections()
2543 s = hppa_info->plt_rel_sec; in elf64_hppa_finish_dynamic_sections()
2549 s = hppa_info->other_rel_sec; in elf64_hppa_finish_dynamic_sections()
2551 s = hppa_info->dlt_rel_sec; in elf64_hppa_finish_dynamic_sections()
2553 s = hppa_info->opd_rel_sec; in elf64_hppa_finish_dynamic_sections()
2559 s = hppa_info->other_rel_sec; in elf64_hppa_finish_dynamic_sections()
2561 s = hppa_info->dlt_rel_sec; in elf64_hppa_finish_dynamic_sections()
2563 s = hppa_info->opd_rel_sec; in elf64_hppa_finish_dynamic_sections()
2568 s = hppa_info->plt_rel_sec; in elf64_hppa_finish_dynamic_sections()
2912 struct elf64_hppa_link_hash_table *hppa_info = data; in elf_hppa_record_segment_addrs() local
2925 if (value < hppa_info->text_segment_base) in elf_hppa_record_segment_addrs()
2926 hppa_info->text_segment_base = value; in elf_hppa_record_segment_addrs()
2930 if (value < hppa_info->data_segment_base) in elf_hppa_record_segment_addrs()
2931 hppa_info->data_segment_base = value; in elf_hppa_record_segment_addrs()
2946 struct elf64_hppa_link_hash_table *hppa_info = hppa_link_hash_table (info); in elf_hppa_final_link() local
2948 if (hppa_info == NULL) in elf_hppa_final_link()
2969 gp->root.u.def.value += hppa_info->gp_offset; in elf_hppa_final_link()
2986 sec = hppa_info->plt_sec; in elf_hppa_final_link()
2990 + hppa_info->gp_offset); in elf_hppa_final_link()
2993 sec = hppa_info->dlt_sec; in elf_hppa_final_link()
2995 sec = hppa_info->opd_sec; in elf_hppa_final_link()
3012 hppa_info->text_segment_base = (bfd_vma)-1; in elf_hppa_final_link()
3013 hppa_info->data_segment_base = (bfd_vma)-1; in elf_hppa_final_link()
3187 struct elf64_hppa_link_hash_table *hppa_info = hppa_link_hash_table (info); in elf_hppa_final_link_relocate() local
3200 if (hppa_info == NULL) in elf_hppa_final_link_relocate()
3231 value = (hh->stub_offset + hppa_info->stub_sec->output_offset in elf_hppa_final_link_relocate()
3232 + hppa_info->stub_sec->output_section->vma); in elf_hppa_final_link_relocate()
3265 value = (hh->stub_offset + hppa_info->stub_sec->output_offset in elf_hppa_final_link_relocate()
3266 + hppa_info->stub_sec->output_section->vma); in elf_hppa_final_link_relocate()
3376 memset (hppa_info->opd_sec->contents + off, 0, 16); in elf_hppa_final_link_relocate()
3379 bfd_put_64 (hppa_info->opd_sec->owner, value + addend, in elf_hppa_final_link_relocate()
3380 (hppa_info->opd_sec->contents + off + 16)); in elf_hppa_final_link_relocate()
3384 (hppa_info->opd_sec->output_section->owner); in elf_hppa_final_link_relocate()
3385 bfd_put_64 (hppa_info->opd_sec->owner, value, in elf_hppa_final_link_relocate()
3386 (hppa_info->opd_sec->contents + off + 24)); in elf_hppa_final_link_relocate()
3391 + hppa_info->opd_sec->output_offset in elf_hppa_final_link_relocate()
3392 + hppa_info->opd_sec->output_section->vma); in elf_hppa_final_link_relocate()
3407 bfd_put_64 (hppa_info->dlt_sec->owner, in elf_hppa_final_link_relocate()
3409 hppa_info->dlt_sec->contents + off); in elf_hppa_final_link_relocate()
3420 + hppa_info->dlt_sec->output_offset in elf_hppa_final_link_relocate()
3421 + hppa_info->dlt_sec->output_section->vma); in elf_hppa_final_link_relocate()
3535 + hppa_info->plt_sec->output_offset in elf_hppa_final_link_relocate()
3536 + hppa_info->plt_sec->output_section->vma); in elf_hppa_final_link_relocate()
3563 memset (hppa_info->opd_sec->contents + hh->opd_offset, 0, 16); in elf_hppa_final_link_relocate()
3566 bfd_put_64 (hppa_info->opd_sec->owner, value + addend, in elf_hppa_final_link_relocate()
3567 (hppa_info->opd_sec->contents in elf_hppa_final_link_relocate()
3572 (hppa_info->opd_sec->output_section->owner); in elf_hppa_final_link_relocate()
3573 bfd_put_64 (hppa_info->opd_sec->owner, value, in elf_hppa_final_link_relocate()
3574 hppa_info->opd_sec->contents + hh->opd_offset + 24); in elf_hppa_final_link_relocate()
3578 + hppa_info->opd_sec->output_offset in elf_hppa_final_link_relocate()
3579 + hppa_info->opd_sec->output_section->vma); in elf_hppa_final_link_relocate()
3581 bfd_put_64 (hppa_info->dlt_sec->owner, in elf_hppa_final_link_relocate()
3583 hppa_info->dlt_sec->contents + hh->dlt_offset); in elf_hppa_final_link_relocate()
3591 + hppa_info->dlt_sec->output_offset in elf_hppa_final_link_relocate()
3592 + hppa_info->dlt_sec->output_section->vma); in elf_hppa_final_link_relocate()
3606 memset (hppa_info->opd_sec->contents + hh->opd_offset, 0, 16); in elf_hppa_final_link_relocate()
3609 bfd_put_64 (hppa_info->opd_sec->owner, value + addend, in elf_hppa_final_link_relocate()
3610 (hppa_info->opd_sec->contents in elf_hppa_final_link_relocate()
3615 (hppa_info->opd_sec->output_section->owner); in elf_hppa_final_link_relocate()
3616 bfd_put_64 (hppa_info->opd_sec->owner, value, in elf_hppa_final_link_relocate()
3617 hppa_info->opd_sec->contents + hh->opd_offset + 24); in elf_hppa_final_link_relocate()
3621 + hppa_info->opd_sec->output_offset in elf_hppa_final_link_relocate()
3622 + hppa_info->opd_sec->output_section->vma); in elf_hppa_final_link_relocate()
3624 bfd_put_64 (hppa_info->dlt_sec->owner, in elf_hppa_final_link_relocate()
3626 hppa_info->dlt_sec->contents + hh->dlt_offset); in elf_hppa_final_link_relocate()
3634 + hppa_info->dlt_sec->output_offset in elf_hppa_final_link_relocate()
3635 + hppa_info->dlt_sec->output_section->vma); in elf_hppa_final_link_relocate()
3663 + hppa_info->dlt_sec->output_offset in elf_hppa_final_link_relocate()
3664 + hppa_info->dlt_sec->output_section->vma); in elf_hppa_final_link_relocate()
3676 value = (hh->stub_offset + hppa_info->stub_sec->output_offset in elf_hppa_final_link_relocate()
3677 + hppa_info->stub_sec->output_section->vma); in elf_hppa_final_link_relocate()
3695 value = (hh->stub_offset + hppa_info->stub_sec->output_offset in elf_hppa_final_link_relocate()
3696 + hppa_info->stub_sec->output_section->vma); in elf_hppa_final_link_relocate()
3734 memset (hppa_info->opd_sec->contents + off, 0, 16); in elf_hppa_final_link_relocate()
3737 bfd_put_64 (hppa_info->opd_sec->owner, value + addend, in elf_hppa_final_link_relocate()
3738 (hppa_info->opd_sec->contents + off + 16)); in elf_hppa_final_link_relocate()
3742 (hppa_info->opd_sec->output_section->owner); in elf_hppa_final_link_relocate()
3743 bfd_put_64 (hppa_info->opd_sec->owner, value, in elf_hppa_final_link_relocate()
3744 hppa_info->opd_sec->contents + off + 24); in elf_hppa_final_link_relocate()
3753 + hppa_info->opd_sec->output_offset in elf_hppa_final_link_relocate()
3754 + hppa_info->opd_sec->output_section->vma); in elf_hppa_final_link_relocate()
3774 if (hppa_info->text_segment_base == (bfd_vma) -1) in elf_hppa_final_link_relocate()
3776 hppa_info); in elf_hppa_final_link_relocate()
3787 value -= hppa_info->text_segment_base; in elf_hppa_final_link_relocate()
3789 value -= hppa_info->data_segment_base; in elf_hppa_final_link_relocate()
3823 struct elf64_hppa_link_hash_table *hppa_info; in elf64_hppa_relocate_section() local
3825 hppa_info = hppa_link_hash_table (info); in elf64_hppa_relocate_section()
3826 if (hppa_info == NULL) in elf64_hppa_relocate_section()