diff options
author | Pingfan Liu <piliu@redhat.com> | 2022-03-31 11:38:07 +0800 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2022-04-01 15:54:18 +0200 |
commit | 33778949c1325fd28a9a0e27fd7595359d8fec75 (patch) | |
tree | d1900b46c1053d7e9353f3421fa024b0582361b5 /kexec/add_buffer.c | |
parent | e2a86b319245705818604df3da3b39a5cd711b9c (diff) |
arm64/kexec-arm64: add support for R_AARCH64_MOVW_UABS_G* rela
Build kexec-tools with clang(clang version 13.0.1 (Fedora 13.0.1-1.fc36)).
Then when kexec loads kernel, it runs into the error message
"machine_apply_elf_rel: ERROR Unknown type: 264".
This is caused by the following reloc type in purgatory/purgatory.ro,
which is not supported yet.
R_AARCH64_MOVW_UABS_G0_NC
R_AARCH64_MOVW_UABS_G1_NC
R_AARCH64_MOVW_UABS_G2_NC
R_AARCH64_MOVW_UABS_G3
Adding code to support these relocs, so kexec can work smoothly.
Signed-off-by: Pingfan Liu <piliu@redhat.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/add_buffer.c')
0 files changed, 0 insertions, 0 deletions