aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2019-04-23 11:38:27 -0700
committerIngo Molnar <[email protected]>2019-04-24 12:27:47 +0200
commit392bef709659abea614abfe53cf228e7a59876a4 (patch)
tree2def16839e4d5ed71551b85e47d12419bd08a03e /tools/perf/scripts/python/export-to-sqlite.py
parenta65c88e16f32aa9ef2e8caa68ea5c29bd5eb0ff0 (diff)
x86/build: Move _etext to actual end of .text
When building x86 with Clang LTO and CFI, CFI jump regions are automatically added to the end of the .text section late in linking. As a result, the _etext position was being labelled before the appended jump regions, causing confusion about where the boundaries of the executable region actually are in the running kernel, and broke at least the fault injection code. This moves the _etext mark to outside (and immediately after) the .text area, as it already the case on other architectures (e.g. arm64, arm). Reported-and-tested-by: Sami Tolvanen <[email protected]> Signed-off-by: Kees Cook <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/20190423183827.GA4012@beast Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions