Searched refs:phdr_table (Results 1 – 6 of 6) sorted by relevance
/bionic/linker/ |
D | linker_wrapper.cpp | 44 static void get_elf_base_from_phdr(const ElfW(Phdr)* phdr_table, size_t phdr_count, in get_elf_base_from_phdr() argument 47 if (phdr_table[i].p_type == PT_PHDR) { in get_elf_base_from_phdr() 48 *load_bias = reinterpret_cast<ElfW(Addr)>(phdr_table) - phdr_table[i].p_vaddr; in get_elf_base_from_phdr() 49 *base = reinterpret_cast<ElfW(Addr)>(phdr_table) - phdr_table[i].p_offset; in get_elf_base_from_phdr()
|
D | linker_phdr.h | 125 size_t phdr_table_get_load_size(const ElfW(Phdr)* phdr_table, size_t phdr_count, 128 size_t phdr_table_get_maximum_alignment(const ElfW(Phdr)* phdr_table, size_t phdr_count); 130 int phdr_table_protect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, 134 int phdr_table_unprotect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, 137 int phdr_table_protect_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, 140 int phdr_table_serialize_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, 143 int phdr_table_map_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, 147 int phdr_table_get_arm_exidx(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias, 151 void phdr_table_get_dynamic_section(const ElfW(Phdr)* phdr_table, size_t phdr_count, 155 const char* phdr_table_get_interpreter_name(const ElfW(Phdr)* phdr_table, size_t phdr_count,
|
D | linker_phdr.cpp | 517 size_t phdr_table_get_load_size(const ElfW(Phdr)* phdr_table, size_t phdr_count, in phdr_table_get_load_size() argument 525 const ElfW(Phdr)* phdr = &phdr_table[i]; in phdr_table_get_load_size() 559 size_t phdr_table_get_maximum_alignment(const ElfW(Phdr)* phdr_table, size_t phdr_count) { in phdr_table_get_maximum_alignment() argument 563 const ElfW(Phdr)* phdr = &phdr_table[i]; in phdr_table_get_maximum_alignment() 788 static inline void _extend_load_segment_vma(const ElfW(Phdr)* phdr_table, size_t phdr_count, in _extend_load_segment_vma() argument 791 const ElfW(Phdr)* phdr = &phdr_table[phdr_idx]; in _extend_load_segment_vma() 808 if (next_idx < phdr_count && phdr_table[next_idx].p_type == PT_LOAD) { in _extend_load_segment_vma() 809 next = &phdr_table[next_idx]; in _extend_load_segment_vma() 971 static int _phdr_table_set_load_prot(const ElfW(Phdr)* phdr_table, size_t phdr_count, in _phdr_table_set_load_prot() argument 975 const ElfW(Phdr)* phdr = &phdr_table[i]; in _phdr_table_set_load_prot() [all …]
|
D | linker_main.cpp | 68 static void get_elf_base_from_phdr(const ElfW(Phdr)* phdr_table, size_t phdr_count, 545 const ElfW(Phdr)* phdr_table = in get_elf_exec_load_bias() 547 const ElfW(Phdr)* phdr_end = phdr_table + elf->e_phnum; in get_elf_exec_load_bias() 549 for (const ElfW(Phdr)* phdr = phdr_table; phdr < phdr_end; phdr++) { in get_elf_exec_load_bias() 562 static void get_elf_base_from_phdr(const ElfW(Phdr)* phdr_table, size_t phdr_count, in get_elf_base_from_phdr() argument 565 if (phdr_table[i].p_type == PT_PHDR) { in get_elf_base_from_phdr() 566 *load_bias = reinterpret_cast<ElfW(Addr)>(phdr_table) - phdr_table[i].p_vaddr; in get_elf_base_from_phdr() 567 *base = reinterpret_cast<ElfW(Addr)>(phdr_table) - phdr_table[i].p_offset; in get_elf_base_from_phdr()
|
/bionic/libc/private/ |
D | bionic_elf_tls.h | 67 __LIBC_HIDDEN__ bool __bionic_get_tls_segment(const ElfW(Phdr)* phdr_table, size_t phdr_count,
|
/bionic/libc/bionic/ |
D | bionic_elf_tls.cpp | 58 bool __bionic_get_tls_segment(const ElfW(Phdr)* phdr_table, size_t phdr_count, in __bionic_get_tls_segment() argument 61 const ElfW(Phdr)& phdr = phdr_table[i]; in __bionic_get_tls_segment()
|