]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: relocate-rela: Check that relocation works only for EM_AARCH64
authorMichal Simek <michal.simek@amd.com>
Fri, 24 Jun 2022 12:15:00 +0000 (14:15 +0200)
committerMichal Simek <michal.simek@amd.com>
Fri, 24 Jun 2022 12:15:00 +0000 (14:15 +0200)
commita1405d9cfedb1228289e617258de3fc0d7facecd
tree2372459f3c4786d2bd32fe82e65d8a4f8f839fb8
parent582ffb5cb3784ec8f4981d464a11f043d1d63846
tools: relocate-rela: Check that relocation works only for EM_AARCH64

Relocation support is only for EM_AARCH64 that's why check machine type to
make sure that the code will never run on any unsupported one.

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