linux/arch
Arvind Sankar 527afc2122 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
2020-08-14 12:52:35 +02:00
..
alpha mm/alpha: use general page fault accounting 2020-08-12 10:58:03 -07:00
arc mm/gup: remove task_struct pointer for all gup code 2020-08-12 10:58:04 -07:00
arm Merge branch 'akpm' (patches from Andrew) 2020-08-12 11:24:12 -07:00
arm64 PPC: 2020-08-12 12:25:06 -07:00
c6x Merge branch 'work.regset' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-08-07 09:29:25 -07:00
csky mm/csky: use general page fault accounting 2020-08-12 10:58:03 -07:00
h8300 uaccess: remove segment_eq 2020-08-12 10:57:58 -07:00
hexagon mm/hexagon: use general page fault accounting 2020-08-12 10:58:03 -07:00
ia64 Merge branch 'akpm' (patches from Andrew) 2020-08-12 11:24:12 -07:00
m68k mm/m68k: use general page fault accounting 2020-08-12 10:58:03 -07:00
microblaze mm/microblaze: use general page fault accounting 2020-08-12 10:58:03 -07:00
mips PPC: 2020-08-12 12:25:06 -07:00
nds32 mm/nds32: use general page fault accounting 2020-08-12 10:58:03 -07:00
nios2 mm/nios2: use general page fault accounting 2020-08-12 10:58:03 -07:00
openrisc mm/openrisc: use general page fault accounting 2020-08-12 10:58:03 -07:00
parisc Merge branch 'parisc-5.9-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux 2020-08-12 12:41:15 -07:00
powerpc PPC: 2020-08-12 12:25:06 -07:00
riscv mm/riscv: use general page fault accounting 2020-08-12 10:58:03 -07:00
s390 mm/gup: remove task_struct pointer for all gup code 2020-08-12 10:58:04 -07:00
sh mm/sh: use general page fault accounting 2020-08-12 10:58:03 -07:00
sparc mm/sparc64: use general page fault accounting 2020-08-12 10:58:04 -07:00
um Merge branch 'akpm' (patches from Andrew) 2020-08-12 11:24:12 -07:00
x86 x86/boot: Check that there are no run-time relocations 2020-08-14 12:52:35 +02:00
xtensa mm/xtensa: use general page fault accounting 2020-08-12 10:58:04 -07:00
.gitignore
Kconfig Kbuild updates for v5.9 2020-08-09 14:10:26 -07:00