]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: relocate-rela: Read rela start/end directly from ELF
authorMichal Simek <michal.simek@amd.com>
Fri, 24 Jun 2022 12:14:59 +0000 (14:14 +0200)
committerMichal Simek <michal.simek@amd.com>
Fri, 24 Jun 2022 12:14:59 +0000 (14:14 +0200)
commit4c9e2d643460d1439e417b64ed82efb02a934daf
tree80073c2d1c4f7d4c182d845e6d3327c1b6606586
parentd8b0444b56b44c8f68e5655130dbf4f285d7cd2b
tools: relocate-rela: Read rela start/end directly from ELF

There is no need to pass section information via parameters.
Let's read text base and rela start/end directly from elf.
It will help with reading other information from ELF for others
architecture. Input to relocate-rela is u-boot binary and u-boot ELF.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/ab7ae14a6e058722e8c608089729e98edf20a08d.1655299267.git.michal.simek@amd.com
Makefile
tools/relocate-rela.c