Currently llext_link_plt() calculates offsets to relocation addresses relative to the .text section and passes them to arch_elf_relocate_global() and arch_elf_relocate_local(), where then .text memory address is added to them. Instead it's more logical to concentrate the entire calculation in the caller, which then also removes the assumption, that all sections have the same VMA - LMA offset from those functions. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> |
||
|---|---|---|
| .. | ||
| arc | ||
| arm | ||
| arm64 | ||
| common | ||
| mips | ||
| nios2 | ||
| posix | ||
| riscv | ||
| sparc | ||
| x86 | ||
| xtensa | ||
| archs.yml | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.v1 | ||
| Kconfig.v2 | ||