Searched refs:elf_shdr_t (Results 1 – 8 of 8) sorted by relevance
126 elf_shdr_t *sect_hdrs;131 static inline const elf_shdr_t *llext_section_headers(const struct llext *ext) in llext_section_headers()162 bool (*section_detached)(const elf_shdr_t *shdr);371 const char *search_name, elf_shdr_t *shdr);
100 elf_shdr_t sects[LLEXT_MEM_COUNT];
461 typedef struct elf64_shdr elf_shdr_t; typedef488 typedef struct elf32_shdr elf_shdr_t; typedef
101 if (ldr->hdr.e_shentsize != sizeof(elf_shdr_t)) { in llext_load_elf_data()120 ext->sect_hdrs = (elf_shdr_t *)llext_peek(ldr, ldr->hdr.e_shoff); in llext_load_elf_data()160 elf_shdr_t *shdr = ext->sect_hdrs + i; in llext_find_tables()220 elf_shdr_t *shdr = ext->sect_hdrs + i; in llext_map_sections()288 elf_shdr_t *region = ldr->sects + mem_idx; in llext_map_sections()371 elf_shdr_t *x = ldr->sects + i; in llext_map_sections()372 elf_shdr_t *y = ldr->sects + j; in llext_map_sections()441 elf_shdr_t *shdr = ext->sect_hdrs + i; in llext_map_sections()519 elf_shdr_t *shdr = ldr->sects + LLEXT_MEM_EXPORT; in llext_export_symbols()588 elf_shdr_t *shdr = ext->sect_hdrs + shndx; in llext_copy_symbols()
145 static void llext_link_plt(struct llext_loader *ldr, struct llext *ext, elf_shdr_t *shdr, in llext_link_plt()146 const struct llext_load_param *ldr_parm, elf_shdr_t *tgt) in llext_link_plt()159 const elf_shdr_t *sym_shdr = ldr->sects + LLEXT_MEM_SYMTAB; in llext_link_plt()282 elf_shdr_t *shdr = ext->sect_hdrs + i; in llext_link()330 elf_shdr_t *tgt; in llext_link()483 elf_shdr_t *shdr = ext->sect_hdrs + i; in llext_link()
27 elf_shdr_t *shdr) in llext_get_section_header()29 const elf_shdr_t *tmp; in llext_get_section_header()54 elf_shdr_t *shdr; in llext_find_section()
413 elf_shdr_t shdr; in ZTEST()448 static elf_shdr_t detached_shdr;450 static bool test_section_detached(const elf_shdr_t *shdr) in test_section_detached()480 elf_shdr_t *text_region = detached_loader->sects + LLEXT_MEM_TEXT; in ZTEST()
139 elf_shdr_t *shdr = ext->sect_hdrs + sym->st_shndx; in arch_elf_relocate_local()