Lines Matching refs:params

3916   struct ppc64_elf_params *params;  member
4327 struct ppc64_elf_params *params) in ppc64_elf_init_stub_bfd() argument
4331 elf_elfheader (params->stub_bfd)->e_ident[EI_CLASS] = ELFCLASS64; in ppc64_elf_init_stub_bfd()
4339 htab->elf.dynobj = params->stub_bfd; in ppc64_elf_init_stub_bfd()
4340 htab->params = params; in ppc64_elf_init_stub_bfd()
4465 s_name = bfd_alloc (htab->params->stub_bfd, len); in ppc_add_stub()
4471 stub_sec = (*htab->params->add_stub_section) (s_name, link_sec); in ppc_add_stub()
6940 if (htab->params->save_restore_funcs) in ppc64_elf_func_desc_adjust()
7759 add_aux_fields = htab->params->non_overlapping_opd && cnt_16b > 0; in ppc64_elf_edit_opd()
8010 if (htab->params->no_multi_toc) in ppc64_elf_tls_setup()
8013 htab->params->no_multi_toc = 1; in ppc64_elf_tls_setup()
8024 if (!htab->params->no_tls_get_addr_opt) in ppc64_elf_tls_setup()
8092 htab->params->no_tls_get_addr_opt = TRUE; in ppc64_elf_tls_setup()
10013 tls_opt = (!htab->params->no_tls_get_addr_opt in ppc64_elf_size_dynamic_sections()
10185 if (htab->params->plt_static_chain) in plt_stub_size()
10187 if (htab->params->plt_thread_safe) in plt_stub_size()
10189 if (PPC_HA (off + 8 + 8 * htab->params->plt_static_chain) != PPC_HA (off)) in plt_stub_size()
10195 && !htab->params->no_tls_get_addr_opt) in plt_stub_size()
10207 int stub_align = 1 << htab->params->plt_stub_align; in plt_stub_pad()
10224 bfd *obfd = htab->params->stub_bfd; in build_plt_stub()
10226 bfd_boolean plt_static_chain = htab->params->plt_static_chain; in build_plt_stub()
10227 bfd_boolean plt_thread_safe = htab->params->plt_thread_safe; in build_plt_stub()
10237 && !htab->params->no_tls_get_addr_opt)) in build_plt_stub()
10412 bfd *obfd = htab->params->stub_bfd; in build_tls_get_addr_stub()
10554 bfd_put_32 (htab->params->stub_bfd, STD_R2_0R1 + STK_TOC (htab), loc); in ppc_build_one_stub()
10560 bfd_put_32 (htab->params->stub_bfd, in ppc_build_one_stub()
10564 bfd_put_32 (htab->params->stub_bfd, ADDI_R2_R2 | PPC_LO (r2off), loc); in ppc_build_one_stub()
10568 bfd_put_32 (htab->params->stub_bfd, B_DOT | (off & 0x3fffffc), loc); in ppc_build_one_stub()
10593 hashes = elf_sym_hashes (htab->params->stub_bfd); in ppc_build_one_stub()
10599 hashes = bfd_zalloc (htab->params->stub_bfd, hsize); in ppc_build_one_stub()
10602 elf_sym_hashes (htab->params->stub_bfd) = hashes; in ppc_build_one_stub()
10729 bfd_put_32 (htab->params->stub_bfd, in ppc_build_one_stub()
10732 bfd_put_32 (htab->params->stub_bfd, in ppc_build_one_stub()
10738 bfd_put_32 (htab->params->stub_bfd, in ppc_build_one_stub()
10752 bfd_put_32 (htab->params->stub_bfd, STD_R2_0R1 + STK_TOC (htab), loc); in ppc_build_one_stub()
10758 bfd_put_32 (htab->params->stub_bfd, in ppc_build_one_stub()
10761 bfd_put_32 (htab->params->stub_bfd, in ppc_build_one_stub()
10765 bfd_put_32 (htab->params->stub_bfd, LD_R12_0R2 | PPC_LO (off), loc); in ppc_build_one_stub()
10771 bfd_put_32 (htab->params->stub_bfd, in ppc_build_one_stub()
10778 bfd_put_32 (htab->params->stub_bfd, in ppc_build_one_stub()
10783 bfd_put_32 (htab->params->stub_bfd, MTCTR_R12, loc); in ppc_build_one_stub()
10785 bfd_put_32 (htab->params->stub_bfd, BCTR, loc); in ppc_build_one_stub()
10859 if (htab->params->plt_stub_align != 0) in ppc_build_one_stub()
10874 ? 2 + (htab->params->plt_static_chain in ppc_build_one_stub()
10887 && !htab->params->no_tls_get_addr_opt) in ppc_build_one_stub()
10901 if (htab->params->emit_stub_syms) in ppc_build_one_stub()
10979 if (htab->params->plt_stub_align) in ppc_size_one_stub()
10986 ? 2 + (htab->params->plt_static_chain in ppc_size_one_stub()
11456 (*htab->params->layout_sections_again) (); in ppc64_elf_layout_multitoc()
11953 if (htab->params->plt_thread_safe == -1 && !info->executable) in ppc64_elf_size_stubs()
11954 htab->params->plt_thread_safe = 1; in ppc64_elf_size_stubs()
11956 htab->params->plt_thread_safe = 0; in ppc64_elf_size_stubs()
11957 else if (htab->params->plt_thread_safe == -1) in ppc64_elf_size_stubs()
11992 htab->params->plt_thread_safe = h != NULL && h->ref_regular; in ppc64_elf_size_stubs()
11993 if (htab->params->plt_thread_safe) in ppc64_elf_size_stubs()
11997 stubs_always_before_branch = htab->params->group_size < 0; in ppc64_elf_size_stubs()
11998 if (htab->params->group_size < 0) in ppc64_elf_size_stubs()
11999 stub_group_size = -htab->params->group_size; in ppc64_elf_size_stubs()
12001 stub_group_size = htab->params->group_size; in ppc64_elf_size_stubs()
12317 for (stub_sec = htab->params->stub_bfd->sections; in ppc64_elf_size_stubs()
12349 for (stub_sec = htab->params->stub_bfd->sections; in ppc64_elf_size_stubs()
12366 if (htab->params->plt_stub_align != 0) in ppc64_elf_size_stubs()
12367 for (stub_sec = htab->params->stub_bfd->sections; in ppc64_elf_size_stubs()
12372 + (1 << htab->params->plt_stub_align) - 1) in ppc64_elf_size_stubs()
12373 & (-1 << htab->params->plt_stub_align)); in ppc64_elf_size_stubs()
12375 for (stub_sec = htab->params->stub_bfd->sections; in ppc64_elf_size_stubs()
12390 (*htab->params->layout_sections_again) (); in ppc64_elf_size_stubs()
12413 for (stub_sec = htab->params->stub_bfd->sections; in ppc64_elf_size_stubs()
12615 if (htab->params->emit_stub_syms) in build_global_entry_stubs()
12672 for (stub_sec = htab->params->stub_bfd->sections; in ppc64_elf_build_stubs()
12678 stub_sec->contents = bfd_zalloc (htab->params->stub_bfd, stub_sec->size); in ppc64_elf_build_stubs()
12693 if (htab->params->emit_stub_syms) in ppc64_elf_build_stubs()
12839 if (htab->params->plt_stub_align != 0) in ppc64_elf_build_stubs()
12840 for (stub_sec = htab->params->stub_bfd->sections; in ppc64_elf_build_stubs()
12845 + (1 << htab->params->plt_stub_align) - 1) in ppc64_elf_build_stubs()
12846 & (-1 << htab->params->plt_stub_align)); in ppc64_elf_build_stubs()
12848 for (stub_sec = htab->params->stub_bfd->sections; in ppc64_elf_build_stubs()
13007 if (input_section->owner == htab->params->stub_bfd) in ppc64_elf_relocate_section()
13731 && !htab->params->no_tls_get_addr_opt) in ppc64_elf_relocate_section()
15143 for (stub_sec = htab->params->stub_bfd->sections; in ppc64_elf_finish_dynamic_sections()