[PATCH 0/3] arm64: add support for new reloc type in kexec-arm64.c

Pingfan Liu piliu at redhat.com
Wed Mar 30 20:38:04 PDT 2022


With GCC 12 or Clang 13, kexec-tools can not load kernel successfully on
aarch64. This is caused by some unsupported reloc type in
arm64/kexec-arm64.c.

This series add support for those reloc type.

Cc: Geoff Levand <geoff at infradead.org>
Cc: Catalin Marinas <catalin.marinas at arm.com>
Cc: Simon Horman <horms at verge.net.au>
To: kexec at lists.infradead.org

Pingfan Liu (3):
  arm64/kexec-arm64: add support for R_AARCH64_LDST128_ABS_LO12_NC rela
  arm64/kexec-arm64: use enum to organize the reloc type
  arm64/kexec-arm64: add support for R_AARCH64_MOVW_UABS_G* rela

 kexec/arch/arm64/kexec-arm64.c | 104 +++++++++++++++++++++------------
 1 file changed, 67 insertions(+), 37 deletions(-)

-- 
2.31.1




More information about the kexec mailing list