summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@kernel.org>2018-08-16 12:41:15 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-05 09:29:48 +0200
commite0fb4e0e375efced8565c17a6455089ce21e244b (patch)
tree8fb7bbb25f76c4fb90bab6ddc510036f08027d70 /Kconfig
parent0ea75fa0f6bd8bb79bbccdeb77b313bb9463bde3 (diff)
x86/vdso: Fix vDSO build if a retpoline is emitted
commit 2e549b2ee0e358bc758480e716b881f9cabedb6a upstream. Currently, if the vDSO ends up containing an indirect branch or call, GCC will emit the "external thunk" style of retpoline, and it will fail to link. Fix it by building the vDSO with inline retpoline thunks. I haven't seen any reports of this triggering on an unpatched kernel. Fixes: commit 76b043848fd2 ("x86/retpoline: Add initial retpoline support") Signed-off-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Matt Rickard <matt@softrans.com.au> Cc: Borislav Petkov <bp@alien8.de> Cc: Jason Vas Dias <jason.vas.dias@gmail.com> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Andi Kleen <ak@linux.intel.com> Cc: stable@vger.kernel.org Link: https://lkml.kernel.org/r/c76538cd3afbe19c6246c2d1715bc6a60bd63985.1534448381.git.luto@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions