Branch: refs/heads/main Home: https://github.com/OpenAMP/open-amp Commit: b48965acdfe70bd5ac6ff916796e1b409a590542 https://github.com/OpenAMP/open-amp/commit/b48965acdfe70bd5ac6ff916796e1b409... Author: Umair Khan umair.khan.uet59@gmail.com Date: 2024-02-16 (Fri, 16 Feb 2024)
Changed paths: M lib/remoteproc/elf_loader.c
Log Message: ----------- Fixes #550: ELF loader loads ELF sections to their load addresses
Unlike the Linux rproc elf loader, the OpenAMP elf loader loads the remote elf program segments to their load addresses instead of their link addresses. This results in memory corruption when the remote firmware attempts to relocate segments from their link addresses to load addresses at runtime such as the data section.
Signed-off-by: Umair Khan umair.khan.uet59@gmail.com
openamp-rp@lists.openampproject.org