Lines Matching refs:args
300 static ElfW(Addr) linker_main(KernelArgumentBlock& args, const char* exe_to_load) { in linker_main() argument
309 __libc_init_AT_SECURE(args.envp); in linker_main()
622 __linker_init_post_relocation(KernelArgumentBlock& args, soinfo& linker_so);
635 KernelArgumentBlock args(raw_args); in __linker_init() local
638 __libc_init_main_thread_early(args, &temp_tcb); in __linker_init()
670 if (!tmp_linker_so.prelink_image()) __linker_cannot_link(args.argv[0]); in __linker_init()
671 …lLookupList(&tmp_linker_so), &tmp_linker_so, nullptr, nullptr)) __linker_cannot_link(args.argv[0]); in __linker_init()
673 return __linker_init_post_relocation(args, tmp_linker_so); in __linker_init()
683 __linker_init_post_relocation(KernelArgumentBlock& args, soinfo& tmp_linker_so) { in __linker_init_post_relocation() argument
689 if (!tmp_linker_so.protect_relro()) __linker_cannot_link(args.argv[0]); in __linker_init_post_relocation()
706 if (args.argc == 3 && !strcmp(args.argv[1], "--list")) { in __linker_init_post_relocation()
709 exe_to_load = args.argv[2]; in __linker_init_post_relocation()
710 } else if (args.argc <= 1 || !strcmp(args.argv[1], "--help")) { in __linker_init_post_relocation()
723 args.argv[0], args.argv[0]); in __linker_init_post_relocation()
726 exe_to_load = args.argv[1]; in __linker_init_post_relocation()
732 g_argc = args.argc - __libc_shared_globals()->initial_linker_arg_count; in __linker_init_post_relocation()
733 g_argv = args.argv + __libc_shared_globals()->initial_linker_arg_count; in __linker_init_post_relocation()
734 g_envp = args.envp; in __linker_init_post_relocation()
743 ElfW(Addr) start_address = linker_main(args, exe_to_load); in __linker_init_post_relocation()