summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2015-12-26 13:48:02 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2016-02-24 14:57:25 +0000
commit6ad1fe5d9077a1ab40bf74b61994d2e770b00b14 (patch)
tree88cfed6d43d89bb5e21c7e8ea9c32e54baa88fac /security
parentfd045f6cd98ec4953147b318418bd45e441e52a3 (diff)
downloadlinux-stable-6ad1fe5d9077a1ab40bf74b61994d2e770b00b14.tar.gz
linux-stable-6ad1fe5d9077a1ab40bf74b61994d2e770b00b14.tar.bz2
linux-stable-6ad1fe5d9077a1ab40bf74b61994d2e770b00b14.zip
arm64: avoid R_AARCH64_ABS64 relocations for Image header fields
Unfortunately, the current way of using the linker to emit build time constants into the Image header will no longer work once we switch to the use of PIE executables. The reason is that such constants are emitted into the binary using R_AARCH64_ABS64 relocations, which are resolved at runtime, not at build time, and the places targeted by those relocations will contain zeroes before that. So refactor the endian swapping linker script constant generation code so that it emits the upper and lower 32-bit words separately. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions