parisc: Enable CONFIG_MLONGCALLS by default
authorHelge Deller <deller@gmx.de>
Sat, 28 Jul 2018 09:47:17 +0000 (11:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2018 16:14:41 +0000 (18:14 +0200)
commit5f394c9ef67234750fe277bb9bfdcf99ebee41d8
treea695a13838b19a777f35ce1e222f8971e2f23434
parent1d4167a818e6f4a749b5f6ce54f98176276ed85b
parisc: Enable CONFIG_MLONGCALLS by default

commit 66509a276c8c1d19ee3f661a41b418d101c57d29 upstream.

Enable the -mlong-calls compiler option by default, because otherwise in most
cases linking the vmlinux binary fails due to truncations of R_PARISC_PCREL22F
relocations. This fixes building the 64-bit defconfig.

Cc: stable@vger.kernel.org # 4.0+
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/Kconfig