Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/llext/
Dinspect.h110 unsigned int shndx, in llext_get_section_info() argument
115 if (shndx < 0 || shndx >= ext->sect_cnt) { in llext_get_section_info()
122 enum llext_mem mem_idx = ldr->sect_map[shndx].mem_idx; in llext_get_section_info()
125 *hdr = &ext->sect_hdrs[shndx]; in llext_get_section_info()
133 *offset = ldr->sect_map[shndx].offset - ldr->sects[mem_idx].sh_info; in llext_get_section_info()
Dllext_internal.h40 int shndx, in llext_get_reloc_instruction_location() argument
43 return (uintptr_t) llext_loaded_sect_ptr(ldr, ext, shndx) + rela->r_offset; in llext_get_reloc_instruction_location()
/Zephyr-latest/subsys/llext/
Dllext_load.c661 unsigned int shndx = sym.st_shndx; in llext_copy_symbols() local
664 stb == STB_GLOBAL && shndx != SHN_UNDEF) { in llext_copy_symbols()
671 elf_shdr_t *shdr = ext->sect_hdrs + shndx; in llext_copy_symbols()
681 base = llext_loaded_sect_ptr(ldr, ext, shndx); in llext_copy_symbols()
689 LOG_DBG("section %d peeked at %p", shndx, base); in llext_copy_symbols()
691 LOG_ERR("No data for section %d", shndx); in llext_copy_symbols()