Lines Matching refs:sym

36 				    const elf_rela_t *rel, const elf_sym_t *sym, uint8_t *rel_addr,  in arch_elf_relocate_local()  argument
42 const elf_rela_t *rel, const elf_sym_t *sym, uint8_t *rel_addr, in arch_elf_relocate_global() argument
115 const char *sym; member
122 const void *addr = llext_find_sym(&ext->exp_tab, se->sym); in llext_find_extension_sym_iterate()
135 struct llext_extension_sym se = {.sym = sym_name}; in llext_find_extension_sym()
184 elf_sym_t sym; in llext_link_plt() local
188 ret = llext_read(ldr, &sym, sizeof(sym)); in llext_link_plt()
197 uint32_t stt = ELF_ST_TYPE(sym.st_info); in llext_link_plt()
202 (stt != STT_NOTYPE || sym.st_shndx != SHN_UNDEF)) { in llext_link_plt()
206 const char *name = llext_string(ldr, ext, LLEXT_MEM_STRTAB, sym.st_name); in llext_link_plt()
230 uint32_t stb = ELF_ST_BIND(sym.st_info); in llext_link_plt()
237 SYM_NAME_OR_SLID(name, sym.st_value)); in llext_link_plt()
260 arch_elf_relocate_global(ldr, ext, &rela, &sym, rel_addr, link_addr); in llext_link_plt()
263 arch_elf_relocate_local(ldr, ext, &rela, &sym, rel_addr, ldr_parm); in llext_link_plt()
276 elf_sym_t sym; in llext_link() local
379 ret = llext_read(ldr, &sym, sizeof(elf_sym_t)); in llext_link()
384 name = llext_string(ldr, ext, LLEXT_MEM_STRTAB, sym.st_name); in llext_link()
390 name, ELF_ST_TYPE(sym.st_info), in llext_link()
391 ELF_ST_BIND(sym.st_info), sym.st_shndx); in llext_link()
400 } else if (sym.st_shndx == SHN_UNDEF) { in llext_link()
403 SYM_NAME_OR_SLID(name, sym.st_value)); in llext_link()
423 } else if (sym.st_shndx == SHN_ABS) { in llext_link()
425 link_addr = sym.st_value; in llext_link()
426 } else if ((sym.st_shndx < ldr->hdr.e_shnum) && in llext_link()
427 !IN_RANGE(sym.st_shndx, SHN_LORESERVE, SHN_HIRESERVE)) { in llext_link()
448 sym.st_shndx) in llext_link()
449 + sym.st_value; in llext_link()
453 i, j, sym.st_shndx, sym.st_shndx); in llext_link()