Zephyr Project API 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
llext_load_param Struct Reference

Advanced llext_load parameters. More...

#include <llext.h>

Data Fields

bool relocate_local
 Perform local relocation.
 
bool pre_located
 Use the virtual symbol addresses from the ELF, not addresses within the memory buffer, when calculating relocation targets.
 
bool(* section_detached )(const elf_shdr_t *shdr)
 Extensions can implement custom ELF sections to be loaded in specific memory regions, detached from other sections of compatible types.
 

Detailed Description

Advanced llext_load parameters.

This structure contains advanced parameters for llext_load.

Field Documentation

◆ pre_located

bool llext_load_param::pre_located

Use the virtual symbol addresses from the ELF, not addresses within the memory buffer, when calculating relocation targets.

◆ relocate_local

bool llext_load_param::relocate_local

Perform local relocation.

◆ section_detached

bool(* llext_load_param::section_detached) (const elf_shdr_t *shdr)

Extensions can implement custom ELF sections to be loaded in specific memory regions, detached from other sections of compatible types.

This optional callback checks whether a section should be detached.


The documentation for this struct was generated from the following file: