Searched refs:shndx (Results 1 – 3 of 3) sorted by relevance
110 unsigned int shndx, in llext_get_section_info() argument115 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()
40 int shndx, in llext_get_reloc_instruction_location() argument43 return (uintptr_t) llext_loaded_sect_ptr(ldr, ext, shndx) + rela->r_offset; in llext_get_reloc_instruction_location()
661 unsigned int shndx = sym.st_shndx; in llext_copy_symbols() local664 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()