diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2016-10-20 11:43:31 +0100 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2016-11-07 09:12:13 +0100 |
commit | c743758d77b8a935fca7d72ecd6aa61300eb96da (patch) | |
tree | f7adc4e99c5b9f2b21a0c98e08b5e6d7cde7136e /purgatory | |
parent | e345e27417db00a9e754ca0ca14b2ec87d0552f7 (diff) |
arm64: Add support for additional relocations in the kexec purgatory code
When compiling the kexec-tools with gcc6, the following additional
reolcations are generated in the purgatory.ro file:
R_AARCH64_ADR_PREL_PG_HI21
R_AARCH64_ADD_ABS_LO12_NC
R_AARCH64_LDST64_ABS_LO12_NC
This patch modifies the arm64 machine_apply_elf_rel() function to handle
these relocations.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'purgatory')
0 files changed, 0 insertions, 0 deletions