]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: relocate-rela: Use global variables
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)
commitd8b0444b56b44c8f68e5655130dbf4f285d7cd2b
treebe70f4f1473b570d2f887511e815d94831ffdefd
parentb956637b68f84bfd1eb8082891bab3c75116cfd9
tools: relocate-rela: Use global variables

Declare rela_start/end and text_base as global variables. It will help with
using these variables for ELF decoding.

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