Lines Matching refs:load_bias
66 ElfW(Addr)* base, ElfW(Addr)* load_bias);
70 void __libc_init_mte(const void* phdr_start, size_t phdr_count, uintptr_t load_bias);
172 si->load_bias = get_elf_exec_load_bias(ehdr_vdso); in add_vdso()
189 map.l_addr = info.load_bias; in init_link_map_head()
191 phdr_table_get_dynamic_section(info.phdr, info.phnum, info.load_bias, &map.l_ld, nullptr); in init_link_map_head()
371 get_elf_base_from_phdr(si->phdr, si->phnum, &si->base, &si->load_bias); in linker_main()
388 somain->load_bias); in linker_main()
403 (phdr_table_protect_segments(somain->phdr, somain->phnum, somain->load_bias, in linker_main()
410 __libc_init_mte(somain->phdr, somain->phnum, somain->load_bias); in linker_main()
563 ElfW(Addr)* base, ElfW(Addr)* load_bias) { in get_elf_base_from_phdr() argument
566 *load_bias = reinterpret_cast<ElfW(Addr)>(phdr_table) - phdr_table[i].p_vaddr; in get_elf_base_from_phdr()
587 ElfW(Addr) seg_start = phdr->p_vaddr + si->load_bias; in set_bss_vma_name()
606 static void call_ifunc_resolvers(ElfW(Addr) load_bias) { in call_ifunc_resolvers() argument
608 ElfW(Addr)* offset = reinterpret_cast<ElfW(Addr)*>(r->r_offset + load_bias); in call_ifunc_resolvers()
609 ElfW(Addr) resolver = r->r_addend + load_bias; in call_ifunc_resolvers()
616 static void call_ifunc_resolvers(ElfW(Addr) load_bias) { in call_ifunc_resolvers() argument
618 ElfW(Addr)* offset = reinterpret_cast<ElfW(Addr)*>(r->r_offset + load_bias); in call_ifunc_resolvers()
619 ElfW(Addr) resolver = *offset + load_bias; in call_ifunc_resolvers()
675 ElfW(Addr) load_bias; in __linker_init() local
678 &linker_addr, &load_bias); in __linker_init()
685 const ElfW(Addr) load_bias = get_elf_exec_load_bias(elf_hdr); in __linker_init()
686 call_ifunc_resolvers(load_bias); in __linker_init()
692 tmp_linker_so.load_bias = load_bias; in __linker_init()