]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
arm64: vdso: Fix compilation with clang older than 8
authorVincenzo Frascino <vincenzo.frascino@arm.com>
Wed, 26 Jun 2019 11:36:32 +0000 (12:36 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 26 Jun 2019 12:26:55 +0000 (14:26 +0200)
commit3acf4be235280f14d838581a750532219d67facc
treeeaa959867b99f81c5f613467c237b47018be3c70
parent6241c4dc6ec56a7627b972959da8b492b765b209
arm64: vdso: Fix compilation with clang older than 8

clang versions older than 8 do not support -mcmodel=tiny.

Add a check to the vDSO Makefile for arm64 to remove the flag when
these versions of the compiler are detected.

Reported-by: Qian Cai <cai@lca.pw>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Qian Cai <cai@lca.pw>
Cc: linux-arch@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-mips@vger.kernel.org
Cc: linux-kselftest@vger.kernel.org
Cc: catalin.marinas@arm.com
Cc: will.deacon@arm.com
Cc: arnd@arndb.de
Cc: linux@armlinux.org.uk
Cc: ralf@linux-mips.org
Cc: paul.burton@mips.com
Cc: daniel.lezcano@linaro.org
Cc: salyzyn@android.com
Cc: pcc@google.com
Cc: shuah@kernel.org
Cc: 0x7f454c46@gmail.com
Cc: linux@rasmusvillemoes.dk
Cc: huw@codeweavers.com
Cc: sthotton@marvell.com
Cc: andre.przywara@arm.com
Cc: luto@kernel.org
Link: https://lkml.kernel.org/r/20190626113632.9295-1-vincenzo.frascino@arm.com
arch/arm64/kernel/vdso/Makefile