Home
last modified time | relevance | path

Searched refs:sh_offset (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.7.0/subsys/llext/
Dllext_load.c153 (size_t)shdr->sh_offset, in llext_find_tables()
279 shdr->sh_offset - region->sh_offset) { in llext_map_sections()
291 size_t bot_ofs = MIN(region->sh_offset, shdr->sh_offset); in llext_map_sections()
292 size_t top_ofs = MAX(region->sh_offset + region->sh_size, in llext_map_sections()
293 shdr->sh_offset + shdr->sh_size); in llext_map_sections()
296 region->sh_offset = bot_ofs; in llext_map_sections()
341 if ((x->sh_offset <= y->sh_offset && in llext_map_sections()
342 x->sh_offset + x->sh_size > y->sh_offset) || in llext_map_sections()
343 (y->sh_offset <= x->sh_offset && in llext_map_sections()
344 y->sh_offset + y->sh_size > x->sh_offset)) { in llext_map_sections()
[all …]
Dllext_link.c50 return offset - ldr->sects[i].sh_addr + ldr->sects[i].sh_offset; in llext_file_offset()
75 int ret = llext_seek(ldr, shdr->sh_offset + i * shdr->sh_entsize); in llext_link_plt()
96 ret = llext_seek(ldr, sym_shdr->sh_offset + j * sizeof(elf_sym_t)); in llext_link_plt()
132 got_offset = rela.r_offset + tgt->sh_offset - in llext_link_plt()
133 ldr->sects[LLEXT_MEM_TEXT].sh_offset; in llext_link_plt()
136 ldr->sects[LLEXT_MEM_TEXT].sh_offset; in llext_link_plt()
166 (size_t)rela.r_offset, (size_t)ldr->sects[LLEXT_MEM_TEXT].sh_offset, stb); in llext_link_plt()
256 ret = llext_seek(ldr, shdr->sh_offset + j * shdr->sh_entsize); in llext_link()
267 ret = llext_seek(ldr, ldr->sects[LLEXT_MEM_SYMTAB].sh_offset in llext_link()
Dllext_mem.c74 ext->mem[mem_idx] = llext_peek(ldr, ldr->sects[mem_idx].sh_offset); in llext_copy_section()
112 ret = llext_seek(ldr, ldr->sects[mem_idx].sh_offset); in llext_copy_section()
Dllext.c46 ldr->sects[LLEXT_MEM_SHSTRTAB].sh_offset + in llext_find_section()
50 return shdr->sh_offset; in llext_find_section()
/Zephyr-Core-3.7.0/arch/xtensa/core/
Delf.c40 sh_addr = shdr->sh_addr ? : (uintptr_t)llext_peek(ldr, shdr->sh_offset); in arch_elf_relocate_local()
/Zephyr-Core-3.7.0/include/zephyr/llext/
Delf.h161 elf32_off sh_offset; member
187 elf64_off sh_offset; member