summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/cpucaps.h
diff options
context:
space:
mode:
authorArd Biesheuvel2019-05-23 12:38:54 +0200
committerWill Deacon2019-05-23 16:34:04 +0200
commit1cf24a2cc3fd40942b0f9e6199aaec579e89a832 (patch)
treeb7ac77f874e0c0e4d8c246ef90ebfe70bf5c12cf /arch/arm64/include/asm/cpucaps.h
parentACPI/IORT: Fix build error when IOMMU_SUPPORT is disabled (diff)
downloadkernel-qcow2-linux-1cf24a2cc3fd40942b0f9e6199aaec579e89a832.tar.gz
kernel-qcow2-linux-1cf24a2cc3fd40942b0f9e6199aaec579e89a832.tar.xz
kernel-qcow2-linux-1cf24a2cc3fd40942b0f9e6199aaec579e89a832.zip
arm64/module: deal with ambiguity in PRELxx relocation ranges
The R_AARCH64_PREL16 and R_AARCH64_PREL32 relocations are documented as permitting a range of [-2^15 .. 2^16), resp. [-2^31 .. 2^32). It is also documented that this means we cannot detect overflow in some cases, which is bad. Since we always interpret the targets of these relocations as signed quantities (e.g., in the ksymtab handling code), let's tighten the overflow checks so that targets that are out of range for our signed interpretation of the relocated quantity get flagged. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/cpucaps.h')
0 files changed, 0 insertions, 0 deletions