Searched refs:sh_offset (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/subsys/llext/ |
D | llext_load.c | 165 (size_t)shdr->sh_offset, in llext_find_tables() 343 shdr->sh_offset - region->sh_offset) { in llext_map_sections() 355 size_t bot_ofs = MIN(region->sh_offset, shdr->sh_offset); in llext_map_sections() 356 size_t top_ofs = MAX(region->sh_offset + region->sh_size, in llext_map_sections() 357 shdr->sh_offset + shdr->sh_size); in llext_map_sections() 360 region->sh_offset = bot_ofs; in llext_map_sections() 423 if ((x->sh_offset <= y->sh_offset && in llext_map_sections() 424 x->sh_offset + x->sh_size > y->sh_offset) || in llext_map_sections() 425 (y->sh_offset <= x->sh_offset && in llext_map_sections() 426 y->sh_offset + y->sh_size > x->sh_offset)) { in llext_map_sections() [all …]
|
D | llext_link.c | 58 return offset - ldr->sects[i].sh_addr + ldr->sects[i].sh_offset; in llext_file_offset() 165 int ret = llext_seek(ldr, shdr->sh_offset + i * shdr->sh_entsize); in llext_link_plt() 186 ret = llext_seek(ldr, sym_shdr->sh_offset + j * sizeof(elf_sym_t)); in llext_link_plt() 220 ldr->sects[LLEXT_MEM_TEXT].sh_offset; in llext_link_plt() 224 rel_addr += rela.r_offset + tgt->sh_offset; in llext_link_plt() 268 (size_t)rela.r_offset, (size_t)ldr->sects[LLEXT_MEM_TEXT].sh_offset, stb); in llext_link_plt() 362 ret = llext_seek(ldr, shdr->sh_offset + j * shdr->sh_entsize); in llext_link() 373 ret = llext_seek(ldr, ldr->sects[LLEXT_MEM_SYMTAB].sh_offset in llext_link() 486 void *base = llext_peek(ldr, shdr->sh_offset); in llext_link()
|
D | llext.c | 36 ldr->sects[LLEXT_MEM_SHSTRTAB].sh_offset + in llext_get_section_header() 68 ldr->sects[LLEXT_MEM_SHSTRTAB].sh_offset + in llext_find_section() 72 return shdr->sh_offset; in llext_find_section()
|
D | llext_mem.c | 74 ext->mem[mem_idx] = llext_peek(ldr, ldr->sects[mem_idx].sh_offset); in llext_copy_section() 125 ret = llext_seek(ldr, ldr->sects[mem_idx].sh_offset); in llext_copy_section()
|
/Zephyr-latest/tests/subsys/llext/src/ |
D | test_llext.c | 423 zassert_equal(shdr.sh_offset, section_ofs, in ZTEST() 424 "different section offset %zd from get_section_header", shdr.sh_offset); in ZTEST() 482 zassert_true(text_region->sh_offset >= detached_shdr.sh_offset + detached_shdr.sh_size || in ZTEST() 483 detached_shdr.sh_offset >= text_region->sh_offset + text_region->sh_size); in ZTEST()
|
/Zephyr-latest/include/zephyr/llext/ |
D | elf.h | 161 elf32_off sh_offset; member 187 elf64_off sh_offset; member
|
/Zephyr-latest/arch/xtensa/core/ |
D | elf.c | 76 int ret = llext_seek(ldr, ldr->sects[LLEXT_MEM_SYMTAB].sh_offset + in xtensa_elf_relocate()
|