diff options
author | Andy Lutomirski <[email protected]> | 2018-08-16 12:41:15 -0700 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-08-20 18:04:41 +0200 |
commit | 2e549b2ee0e358bc758480e716b881f9cabedb6a (patch) | |
tree | 0fda84bdf28d9eda10549cbc8327bd73ab12decf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f19f5c49bbc3ffcc9126cc245fc1b24cc29f4a37 (diff) |
x86/vdso: Fix vDSO build if a retpoline is emitted
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 <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Matt Rickard <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Jason Vas Dias <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/c76538cd3afbe19c6246c2d1715bc6a60bd63985.1534448381.git.luto@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions