Home | History | Annotate | Download | only in linker

Lines Matching refs:load_bias

115        load_bias = phdr0_load_address - PAGE_START(phdr0->p_vaddr)
129 The load_bias must be added to any p_vaddr value read from the ELF file to
576 ElfW(Addr) load_bias, int extra_prot_flags) {
585 ElfW(Addr) seg_page_start = PAGE_START(phdr->p_vaddr) + load_bias;
586 ElfW(Addr) seg_page_end = PAGE_END(phdr->p_vaddr + phdr->p_memsz) + load_bias;
611 * load_bias -> load bias
616 size_t phdr_count, ElfW(Addr) load_bias) {
617 return _phdr_table_set_load_prot(phdr_table, phdr_count, load_bias, 0);
632 * load_bias -> load bias
637 size_t phdr_count, ElfW(Addr) load_bias) {
638 return _phdr_table_set_load_prot(phdr_table, phdr_count, load_bias, PROT_WRITE);
645 ElfW(Addr) load_bias, int prot_flags) {
670 ElfW(Addr) seg_page_start = PAGE_START(phdr->p_vaddr) + load_bias;
671 ElfW(Addr) seg_page_end = PAGE_END(phdr->p_vaddr + phdr->p_memsz) + load_bias;
695 * load_bias -> load bias
700 size_t phdr_count, ElfW(Addr) load_bias) {
701 return _phdr_table_set_gnu_relro_prot(phdr_table, phdr_count, load_bias, PROT_READ);
711 * load_bias -> load bias
718 ElfW(Addr) load_bias,
729 ElfW(Addr) seg_page_start = PAGE_START(phdr->p_vaddr) + load_bias;
730 ElfW(Addr) seg_page_end = PAGE_END(phdr->p_vaddr + phdr->p_memsz) + load_bias;
758 * load_bias -> load bias
765 ElfW(Addr) load_bias,
791 ElfW(Addr) seg_page_start = PAGE_START(phdr->p_vaddr) + load_bias;
792 ElfW(Addr) seg_page_end = PAGE_END(phdr->p_vaddr + phdr->p_memsz) + load_bias;
853 * load_bias -> load bias
861 ElfW(Addr) load_bias,
871 *arm_exidx = reinterpret_cast<ElfW(Addr)*>(load_bias + phdr->p_vaddr);
887 * load_bias -> load bias
895 ElfW(Addr) load_bias, ElfW(Dyn)** dynamic,
901 *dynamic = reinterpret_cast<ElfW(Dyn)*>(load_bias + phdr.p_vaddr);
915 * load_bias -> load bias
920 ElfW(Addr) load_bias) {
924 return reinterpret_cast<const char*>(load_bias + phdr.p_vaddr);