diff options
author | 2020-07-31 16:07:51 -0700 | |
---|---|---|
committer | 2020-08-14 12:52:35 +0200 | |
commit | 527afc212231ea9d585b7709c0ab73263ecf0c85 (patch) | |
tree | 6dd5a9b2c29276756522a69b3f15fde39eac4fb0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | x86/boot: Remove run-time relocations from head_{32,64}.S (diff) | |
download | linux-dev-527afc212231ea9d585b7709c0ab73263ecf0c85.tar.xz linux-dev-527afc212231ea9d585b7709c0ab73263ecf0c85.zip |
x86/boot: Check that there are no run-time relocations
Add a linker script check that there are no run-time relocations, and
remove the old one that tries to check via looking for specially-named
sections in the object files.
Drop the tests for -fPIE compiler option and -pie linker option, as they
are available in all supported gcc and binutils versions (as well as
clang and lld).
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Fangrui Song <maskray@google.com>
Reviewed-by: Sedat Dilek <sedat.dilek@gmail.com>
Link: https://lore.kernel.org/r/20200731230820.1742553-8-keescook@chromium.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions