Lines Matching refs:load_bias
65 ElfW(Addr)* base, ElfW(Addr)* load_bias);
169 si->load_bias = get_elf_exec_load_bias(ehdr_vdso); in add_vdso()
186 map.l_addr = info.load_bias; in init_link_map_head()
188 phdr_table_get_dynamic_section(info.phdr, info.phnum, info.load_bias, &map.l_ld, nullptr); in init_link_map_head()
358 get_elf_base_from_phdr(si->phdr, si->phnum, &si->base, &si->load_bias); in linker_main()
375 somain->load_bias); in linker_main()
534 ElfW(Addr)* base, ElfW(Addr)* load_bias) { in get_elf_base_from_phdr() argument
537 *load_bias = reinterpret_cast<ElfW(Addr)>(phdr_table) - phdr_table[i].p_vaddr; in get_elf_base_from_phdr()
558 ElfW(Addr) seg_start = phdr->p_vaddr + si->load_bias; in set_bss_vma_name()
577 static void call_ifunc_resolvers(ElfW(Addr) load_bias) { in call_ifunc_resolvers() argument
579 ElfW(Addr)* offset = reinterpret_cast<ElfW(Addr)*>(r->r_offset + load_bias); in call_ifunc_resolvers()
580 ElfW(Addr) resolver = r->r_addend + load_bias; in call_ifunc_resolvers()
587 static void call_ifunc_resolvers(ElfW(Addr) load_bias) { in call_ifunc_resolvers() argument
589 ElfW(Addr)* offset = reinterpret_cast<ElfW(Addr)*>(r->r_offset + load_bias); in call_ifunc_resolvers()
590 ElfW(Addr) resolver = *offset + load_bias; in call_ifunc_resolvers()
646 ElfW(Addr) load_bias; in __linker_init() local
649 &linker_addr, &load_bias); in __linker_init()
656 const ElfW(Addr) load_bias = get_elf_exec_load_bias(elf_hdr); in __linker_init()
657 call_ifunc_resolvers(load_bias); in __linker_init()
663 tmp_linker_so.load_bias = load_bias; in __linker_init()