Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/llext/
Dllext_load.c168 (size_t)shdr->sh_offset, in llext_find_tables()
364 shdr->sh_offset - region->sh_offset) { in llext_map_sections()
376 size_t bot_ofs = MIN(region->sh_offset, shdr->sh_offset); in llext_map_sections()
377 size_t top_ofs = MAX(region->sh_offset + region->sh_size, in llext_map_sections()
378 shdr->sh_offset + shdr->sh_size); in llext_map_sections()
382 region->sh_offset = bot_ofs; in llext_map_sections()
412 size_t prepad = region->sh_offset & (region->sh_addralign - 1); in llext_map_sections()
423 region->sh_offset -= prepad; in llext_map_sections()
484 if (REGIONS_OVERLAP_ON(x, y, sh_offset)) { in llext_map_sections()
487 i, REGION_BOT(x, sh_offset), REGION_TOP(x, sh_offset), in llext_map_sections()
[all …]
Dllext_link.c58 return offset - ldr->sects[i].sh_addr + ldr->sects[i].sh_offset; in llext_file_offset()
153 ret = llext_seek(ldr, ldr->sects[LLEXT_MEM_SYMTAB].sh_offset in llext_read_symbol()
251 int ret = llext_seek(ldr, shdr->sh_offset + i * shdr->sh_entsize); in llext_link_plt()
272 ret = llext_seek(ldr, sym_shdr->sh_offset + j * sizeof(elf_sym_t)); in llext_link_plt()
306 ldr->sects[LLEXT_MEM_TEXT].sh_offset; in llext_link_plt()
310 rel_addr += rela.r_offset + tgt->sh_offset; in llext_link_plt()
362 (size_t)rela.r_offset, (size_t)ldr->sects[LLEXT_MEM_TEXT].sh_offset, stb); in llext_link_plt()
460 ret = llext_seek(ldr, shdr->sh_offset + j * shdr->sh_entsize); in llext_link()
531 void *base = llext_peek(ldr, shdr->sh_offset); in llext_link()
Dllext.c72 ldr->sects[LLEXT_MEM_SHSTRTAB].sh_offset + in llext_find_section()
76 return shdr->sh_offset; in llext_find_section()
Dllext_mem.c82 ext->mem[mem_idx] = llext_peek(ldr, region->sh_offset); in llext_copy_region()
151 size_t offset = region->sh_offset; in llext_copy_region()
/Zephyr-latest/tests/subsys/llext/src/
Dtest_llext.c351 zassert_true(sect_hdr->sh_offset >= reg_hdr->sh_offset && in do_inspect_checks()
352 (sect_hdr->sh_offset + sect_hdr->sh_size <= in do_inspect_checks()
353 reg_hdr->sh_offset + reg_hdr->sh_size), in do_inspect_checks()
510 zassert_equal(shdr.sh_offset, section_ofs, in ZTEST()
511 "different section offset %zd from get_section_header", shdr.sh_offset); in ZTEST()
569 zassert_true(text_region->sh_offset >= detached_shdr.sh_offset + detached_shdr.sh_size || in ZTEST()
570 detached_shdr.sh_offset >= text_region->sh_offset + text_region->sh_size); in ZTEST()
/Zephyr-latest/include/zephyr/llext/
Delf.h161 elf32_off sh_offset; member
187 elf64_off sh_offset; member
/Zephyr-latest/arch/xtensa/core/
Delf.c81 int ret = llext_seek(ldr, ldr->sects[LLEXT_MEM_SYMTAB].sh_offset + in xtensa_elf_relocate()
/Zephyr-latest/arch/riscv/core/
Delf.c116 ret = llext_seek(ldr, shdr->sh_offset + i * shdr->sh_entsize); in llext_riscv_find_sym_pcrel()
167 ret = llext_seek(ldr, ldr->sects[LLEXT_MEM_SYMTAB].sh_offset + in llext_riscv_find_sym_pcrel()