Lines Matching refs:args

306 static ElfW(Addr) linker_main(KernelArgumentBlock& args, const char* exe_to_load) {  in linker_main()  argument
315 __libc_init_AT_SECURE(args.envp); in linker_main()
334 if (getenv("LD_SHOW_AUXV") != nullptr) ld_show_auxv(args.auxv); in linker_main()
358 get_executable_info(args.argv[0]); in linker_main()
498 args.argv); in linker_main()
702 __linker_init_post_relocation(KernelArgumentBlock& args, soinfo& linker_so);
722 KernelArgumentBlock args(raw_args); in __linker_init() local
725 __libc_init_main_thread_early(args, &temp_tcb); in __linker_init()
759 if (!tmp_linker_so.prelink_image()) __linker_cannot_link(args.argv[0]); in __linker_init()
760 …lLookupList(&tmp_linker_so), &tmp_linker_so, nullptr, nullptr)) __linker_cannot_link(args.argv[0]); in __linker_init()
762 return __linker_init_post_relocation(args, tmp_linker_so); in __linker_init()
772 __linker_init_post_relocation(KernelArgumentBlock& args, soinfo& tmp_linker_so) { in __linker_init_post_relocation() argument
778 if (!tmp_linker_so.protect_relro()) __linker_cannot_link(args.argv[0]); in __linker_init_post_relocation()
807 if (args.argc == 3 && !strcmp(args.argv[1], "--list")) { in __linker_init_post_relocation()
810 exe_to_load = args.argv[2]; in __linker_init_post_relocation()
811 } else if (args.argc <= 1 || !strcmp(args.argv[1], "--help")) { in __linker_init_post_relocation()
824 args.argv[0], args.argv[0]); in __linker_init_post_relocation()
827 exe_to_load = args.argv[1]; in __linker_init_post_relocation()
833 g_argc = args.argc - __libc_shared_globals()->initial_linker_arg_count; in __linker_init_post_relocation()
834 g_argv = args.argv + __libc_shared_globals()->initial_linker_arg_count; in __linker_init_post_relocation()
835 g_envp = args.envp; in __linker_init_post_relocation()
844 ElfW(Addr) start_address = linker_main(args, exe_to_load); in __linker_init_post_relocation()