Zephyr Project API 4.1.99
A Scalable Open Source RTOS
|
Private header for linkable loadable extensions. More...
#include <zephyr/llext/llext.h>
Go to the source code of this file.
Functions | |
int | arch_elf_relocate_local (struct llext_loader *loader, struct llext *ext, const elf_rela_t *rel, const elf_sym_t *sym, uint8_t *rel_addr, const struct llext_load_param *ldr_parm) |
Architecture specific function for local binding relocations. | |
int | arch_elf_relocate_global (struct llext_loader *loader, struct llext *ext, const elf_rela_t *rel, const elf_sym_t *sym, uint8_t *rel_addr, const void *link_addr) |
Architecture specific function for global binding relocations. | |
Private header for linkable loadable extensions.
int arch_elf_relocate_global | ( | struct llext_loader * | loader, |
struct llext * | ext, | ||
const elf_rela_t * | rel, | ||
const elf_sym_t * | sym, | ||
uint8_t * | rel_addr, | ||
const void * | link_addr | ||
) |
Architecture specific function for global binding relocations.
[in] | loader | Extension loader data and context |
[in] | ext | Extension to call function in |
[in] | rel | Relocation data provided by elf |
[in] | sym | Corresponding symbol table entry |
[in] | rel_addr | Address where relocation should be performed |
[in] | link_addr | target address for table-based relocations |
int arch_elf_relocate_local | ( | struct llext_loader * | loader, |
struct llext * | ext, | ||
const elf_rela_t * | rel, | ||
const elf_sym_t * | sym, | ||
uint8_t * | rel_addr, | ||
const struct llext_load_param * | ldr_parm | ||
) |
Architecture specific function for local binding relocations.
[in] | loader | Extension loader data and context |
[in] | ext | Extension to call function in |
[in] | rel | Relocation data provided by elf |
[in] | sym | Corresponding symbol table entry |
[in] | rel_addr | Address where relocation should be performed |
[in] | ldr_parm | Loader parameters |