FROMLIST: arm64: disable RANDOMIZE_MODULE_REGION_FULL with LTO_CLANG
authorSami Tolvanen <samitolvanen@google.com>
Fri, 10 Nov 2017 22:00:24 +0000 (14:00 -0800)
committerSami Tolvanen <samitolvanen@google.com>
Thu, 26 Apr 2018 23:03:36 +0000 (16:03 -0700)
commit10dd8c281cb5adabef002984d6d5fe48fee6f2d2
treea9d8b0c084347ed92c8c2b1ebe208566263df4e8
parent9842120b602d83d52edffbfc0a19632924b6ce14
FROMLIST: arm64: disable RANDOMIZE_MODULE_REGION_FULL with LTO_CLANG

RANDOMIZE_MODULE_REGION_FULL results in "overflow in relocation type 275"
when loading a module linked with GNU gold. As a workaround, disable when
LTO_CLANG is selected.

Bug: 62093296
Bug: 67506682
Change-Id: I6af3de0dc2e6a5053c527d7cb7fb45cb249b68b3
(am from https://patchwork.kernel.org/patch/10060337/)
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
arch/arm64/Kconfig