Lines Matching refs:params
4018 struct ppc64_elf_params *params; member
4363 if (htab->params->save_restore_funcs) in create_linkage_sections()
4437 struct ppc64_elf_params *params) in ppc64_elf_init_stub_bfd() argument
4441 elf_elfheader (params->stub_bfd)->e_ident[EI_CLASS] = ELFCLASS64; in ppc64_elf_init_stub_bfd()
4447 htab->elf.dynobj = params->stub_bfd; in ppc64_elf_init_stub_bfd()
4448 htab->params = params; in ppc64_elf_init_stub_bfd()
4571 s_name = bfd_alloc (htab->params->stub_bfd, len); in ppc_add_stub()
4577 stub_sec = (*htab->params->add_stub_section) (s_name, link_sec); in ppc_add_stub()
4945 htab->params->object_in_toc = 1; in ppc64_elf_add_symbol_hook()
7938 add_aux_fields = htab->params->non_overlapping_opd && cnt_16b > 0; in ppc64_elf_edit_opd()
8198 if (htab->params->no_multi_toc) in ppc64_elf_tls_setup()
8201 htab->params->no_multi_toc = 1; in ppc64_elf_tls_setup()
8212 if (htab->params->tls_get_addr_opt) in ppc64_elf_tls_setup()
8281 else if (htab->params->tls_get_addr_opt < 0) in ppc64_elf_tls_setup()
8282 htab->params->tls_get_addr_opt = 0; in ppc64_elf_tls_setup()
10230 tls_opt = (htab->params->tls_get_addr_opt in ppc64_elf_size_dynamic_sections()
10402 if (htab->params->plt_static_chain) in plt_stub_size()
10404 if (htab->params->plt_thread_safe in plt_stub_size()
10409 if (PPC_HA (off + 8 + 8 * htab->params->plt_static_chain) != PPC_HA (off)) in plt_stub_size()
10415 && htab->params->tls_get_addr_opt) in plt_stub_size()
10427 int stub_align = 1 << htab->params->plt_stub_align; in plt_stub_pad()
10444 bfd *obfd = htab->params->stub_bfd; in build_plt_stub()
10446 bfd_boolean plt_static_chain = htab->params->plt_static_chain; in build_plt_stub()
10447 bfd_boolean plt_thread_safe = (htab->params->plt_thread_safe in build_plt_stub()
10459 && htab->params->tls_get_addr_opt)) in build_plt_stub()
10634 bfd *obfd = htab->params->stub_bfd; in build_tls_get_addr_stub()
10776 bfd_put_32 (htab->params->stub_bfd, STD_R2_0R1 + STK_TOC (htab), loc); in ppc_build_one_stub()
10781 bfd_put_32 (htab->params->stub_bfd, in ppc_build_one_stub()
10788 bfd_put_32 (htab->params->stub_bfd, in ppc_build_one_stub()
10795 bfd_put_32 (htab->params->stub_bfd, B_DOT | (off & 0x3fffffc), loc); in ppc_build_one_stub()
10820 hashes = elf_sym_hashes (htab->params->stub_bfd); in ppc_build_one_stub()
10826 hashes = bfd_zalloc (htab->params->stub_bfd, hsize); in ppc_build_one_stub()
10829 elf_sym_hashes (htab->params->stub_bfd) = hashes; in ppc_build_one_stub()
10956 bfd_put_32 (htab->params->stub_bfd, in ppc_build_one_stub()
10959 bfd_put_32 (htab->params->stub_bfd, in ppc_build_one_stub()
10965 bfd_put_32 (htab->params->stub_bfd, in ppc_build_one_stub()
10979 bfd_put_32 (htab->params->stub_bfd, STD_R2_0R1 + STK_TOC (htab), loc); in ppc_build_one_stub()
10985 bfd_put_32 (htab->params->stub_bfd, in ppc_build_one_stub()
10988 bfd_put_32 (htab->params->stub_bfd, in ppc_build_one_stub()
10992 bfd_put_32 (htab->params->stub_bfd, LD_R12_0R2 | PPC_LO (off), loc); in ppc_build_one_stub()
10998 bfd_put_32 (htab->params->stub_bfd, in ppc_build_one_stub()
11005 bfd_put_32 (htab->params->stub_bfd, in ppc_build_one_stub()
11010 bfd_put_32 (htab->params->stub_bfd, MTCTR_R12, loc); in ppc_build_one_stub()
11012 bfd_put_32 (htab->params->stub_bfd, BCTR, loc); in ppc_build_one_stub()
11082 if (htab->params->plt_stub_align != 0) in ppc_build_one_stub()
11097 ? 2 + (htab->params->plt_static_chain in ppc_build_one_stub()
11110 && htab->params->tls_get_addr_opt) in ppc_build_one_stub()
11127 if (htab->params->emit_stub_syms) in ppc_build_one_stub()
11218 if (htab->params->plt_stub_align) in ppc_size_one_stub()
11225 ? 2 + (htab->params->plt_static_chain in ppc_size_one_stub()
11665 (*htab->params->layout_sections_again) (); in ppc64_elf_layout_multitoc()
12176 if (htab->params->plt_thread_safe == -1 && !bfd_link_executable (info)) in ppc64_elf_size_stubs()
12177 htab->params->plt_thread_safe = 1; in ppc64_elf_size_stubs()
12179 htab->params->plt_thread_safe = 0; in ppc64_elf_size_stubs()
12180 else if (htab->params->plt_thread_safe == -1) in ppc64_elf_size_stubs()
12215 htab->params->plt_thread_safe = h != NULL && h->ref_regular; in ppc64_elf_size_stubs()
12216 if (htab->params->plt_thread_safe) in ppc64_elf_size_stubs()
12220 stubs_always_before_branch = htab->params->group_size < 0; in ppc64_elf_size_stubs()
12221 if (htab->params->group_size < 0) in ppc64_elf_size_stubs()
12222 stub_group_size = -htab->params->group_size; in ppc64_elf_size_stubs()
12224 stub_group_size = htab->params->group_size; in ppc64_elf_size_stubs()
12551 for (stub_sec = htab->params->stub_bfd->sections; in ppc64_elf_size_stubs()
12590 for (stub_sec = htab->params->stub_bfd->sections; in ppc64_elf_size_stubs()
12607 if (htab->params->plt_stub_align != 0) in ppc64_elf_size_stubs()
12608 for (stub_sec = htab->params->stub_bfd->sections; in ppc64_elf_size_stubs()
12613 + (1 << htab->params->plt_stub_align) - 1) in ppc64_elf_size_stubs()
12614 & -(1 << htab->params->plt_stub_align)); in ppc64_elf_size_stubs()
12616 for (stub_sec = htab->params->stub_bfd->sections; in ppc64_elf_size_stubs()
12631 (*htab->params->layout_sections_again) (); in ppc64_elf_size_stubs()
12654 for (stub_sec = htab->params->stub_bfd->sections; in ppc64_elf_size_stubs()
12887 if (htab->params->emit_stub_syms) in build_global_entry_stubs()
12946 for (stub_sec = htab->params->stub_bfd->sections; in ppc64_elf_build_stubs()
12952 stub_sec->contents = bfd_zalloc (htab->params->stub_bfd, stub_sec->size); in ppc64_elf_build_stubs()
12964 if (htab->params->emit_stub_syms) in ppc64_elf_build_stubs()
13114 if (htab->params->emit_stub_syms) in ppc64_elf_build_stubs()
13128 if (htab->params->plt_stub_align != 0) in ppc64_elf_build_stubs()
13129 for (stub_sec = htab->params->stub_bfd->sections; in ppc64_elf_build_stubs()
13134 + (1 << htab->params->plt_stub_align) - 1) in ppc64_elf_build_stubs()
13135 & -(1 << htab->params->plt_stub_align)); in ppc64_elf_build_stubs()
13137 for (stub_sec = htab->params->stub_bfd->sections; in ppc64_elf_build_stubs()
13299 if (input_section->owner == htab->params->stub_bfd) in ppc64_elf_relocate_section()
14088 && htab->params->tls_get_addr_opt) in ppc64_elf_relocate_section()
15586 for (stub_sec = htab->params->stub_bfd->sections; in ppc64_elf_finish_dynamic_sections()