Searched refs:rel_addr (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/arch/xtensa/core/ |
D | elf.c | 132 const elf_sym_t *sym, uint8_t *rel_addr, in arch_elf_relocate_local() argument 149 xtensa_elf_relocate(ldr, ext, rel, sh_addr, rel_addr, type, ELF_ST_BIND(sym->st_info)); in arch_elf_relocate_local() 156 const elf_sym_t *sym, uint8_t *rel_addr, const void *link_addr) in arch_elf_relocate_global() argument 161 if (type == R_XTENSA_RELATIVE && *(elf_word *)rel_addr) { in arch_elf_relocate_global() 162 LOG_WRN("global: non-zero relative value %#x", *(elf_word *)rel_addr); in arch_elf_relocate_global() 165 xtensa_elf_relocate(ldr, ext, rel, (uintptr_t)link_addr, rel_addr, type, in arch_elf_relocate_global()
|
/Zephyr-latest/subsys/llext/ |
D | llext_link.c | 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 219 uint8_t *rel_addr = (uint8_t *)ext->mem[LLEXT_MEM_TEXT] - in llext_link_plt() local 224 rel_addr += rela.r_offset + tgt->sh_offset; in llext_link_plt() 227 rel_addr += llext_file_offset(ldr, rela.r_offset); 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() 267 name, (void *)rel_addr, in llext_link_plt()
|
/Zephyr-latest/include/zephyr/llext/ |
D | llext.h | 384 const elf_sym_t *sym, uint8_t *rel_addr, 398 const elf_sym_t *sym, uint8_t *rel_addr, const void *link_addr);
|