Home
last modified time | relevance | path

Searched refs:elf_module (Results 1 – 3 of 3) sorted by relevance

/components/libc/posix/libdl/
A Ddlelf.c52 if (rt_memcmp(elf_module->e_ident, RTMMAG, SELFMAG) == 0) in dlmodule_load_shared_object()
61 for (index = 0; index < elf_module->e_phnum; index++) in dlmodule_load_shared_object()
131 for (index = 0; index < elf_module->e_phnum; index++) in dlmodule_load_shared_object()
145 for (index = 0; index < elf_module->e_shnum; index ++) in dlmodule_load_shared_object()
212 for (index = 0; index < elf_module->e_shnum; index ++) in dlmodule_load_shared_object()
217 shdr[elf_module->e_shstrndx].sh_offset; in dlmodule_load_shared_object()
223 if (index != elf_module->e_shnum) in dlmodule_load_shared_object()
324 for (index = 0; index < elf_module->e_shnum; index ++) in dlmodule_load_relocated_object()
368 for (index = 0; index < elf_module->e_shnum; index ++) in dlmodule_load_relocated_object()
417 for (index = 0; index < elf_module->e_shnum; index ++) in dlmodule_load_relocated_object()
[all …]
A Ddlmodule.c485 if (rt_memcmp(elf_module->e_ident, RTMMAG, SELFMAG) != 0 && in dlmodule_load()
486 rt_memcmp(elf_module->e_ident, ELFMAG, SELFMAG) != 0) in dlmodule_load()
493 … if ((elf_module->e_ident[EI_CLASS] != ELFCLASS32)&&(elf_module->e_ident[EI_CLASS] != ELFCLASS64)) in dlmodule_load()
507 if (elf_module->e_type == ET_REL) in dlmodule_load()
511 else if (elf_module->e_type == ET_DYN) in dlmodule_load()
652 if (rt_memcmp(elf_module->e_ident, RTMMAG, SELFMAG) != 0 && in dlmodule_load_custom()
653 rt_memcmp(elf_module->e_ident, ELFMAG, SELFMAG) != 0) in dlmodule_load_custom()
660 if (elf_module->e_ident[EI_CLASS] != ELFCLASS32) in dlmodule_load_custom()
674 if (elf_module->e_type == ET_REL) in dlmodule_load_custom()
678 else if (elf_module->e_type == ET_DYN) in dlmodule_load_custom()
A Ddlelf.h360 #define elf_module ((Elf32_Ehdr *)module_ptr) macro
361 #define shdr ((Elf32_Shdr *)((rt_uint8_t *)module_ptr + elf_module->e_shoff))
362 #define phdr ((Elf32_Phdr *)((rt_uint8_t *)module_ptr + elf_module->e_phoff))
368 #define elf_module ((Elf64_Ehdr *)module_ptr) macro
369 #define shdr ((Elf64_Shdr *)((rt_uint8_t *)module_ptr + elf_module->e_shoff))
370 #define phdr ((Elf64_Phdr *)((rt_uint8_t *)module_ptr + elf_module->e_phoff))

Completed in 8 milliseconds