Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Simon Horman <[email protected]>
- Loading branch information