• Peter Collingbourne's avatar
    arm64: vdso: Build vDSO with -ffixed-x18 · 98cd3c3f
    Peter Collingbourne authored
    The vDSO needs to be built with x18 reserved in order to accommodate
    userspace platform ABIs built on top of Linux that use the register
    to carry inter-procedural state, as provided for by the AAPCS.
    An example of such a platform ABI is the one that will be used by an
    upcoming version of Android.
    
    Although this change is currently a no-op due to the fact that the vDSO
    is currently implemented in pure assembly on arm64, it is necessary
    in order to prepare for using the generic C implementation of the vDSO.
    
    [ tglx: Massaged changelog ]
    Signed-off-by: default avatarPeter Collingbourne <pcc@google.com>
    Signed-off-by: default avatarVincenzo Frascino <vincenzo.frascino@arm.com>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Tested-by: default avatarShijith Thotton <sthotton@marvell.com>
    Tested-by: default avatarAndre Przywara <andre.przywara@arm.com>
    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 <catalin.marinas@arm.com>
    Cc: Will Deacon <will.deacon@arm.com>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Russell King <linux@armlinux.org.uk>
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Cc: Paul Burton <paul.burton@mips.com>
    Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
    Cc: Mark Salyzyn <salyzyn@android.com>
    Cc: Shuah Khan <shuah@kernel.org>
    Cc: Dmitry Safonov <0x7f454c46@gmail.com>
    Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
    Cc: Huw Davies <huw@codeweavers.com>
    Cc: Mark Salyzyn <salyzyn@google.com>
    Link: https://lkml.kernel.org/r/20190621095252.32307-6-vincenzo.frascino@arm.com
    98cd3c3f
Makefile 2.21 KB