[PATCH] [X/master] arm64: Workaround for related relocations
Paolo Pisati
paolo.pisati at canonical.com
Mon Jan 25 11:28:41 UTC 2016
GCC6 (and Linaro's 2015.12 snapshot of GCC5) has a new default that uses
adrp/ldr or adrp/add to address literal pools. When CONFIG_ARM64_ERRATUM_843419
is enabled, modules built with this toolchain fail to load:
[ 2.156817] module libahci: unsupported RELA relocation: 275
Longterm, this will likely be superseded by -mfix-cortex-a53-843419, which
should disable this optimization in the future.
BugLink: http://bugs.launchpad.net/bugs/1533009
Proposing for Xenial/master, tested on my DragonBoard410c.
Paolo Pisati (1):
arm64: errata: Add -mpc-relative-literal-loads to erratum #843419
build flags
arch/arm64/Makefile | 1 +
1 file changed, 1 insertion(+)
--
2.1.4
More information about the kernel-team
mailing list