linux/arch/powerpc/tools
Alexandre Ghiti 47981b5cc6
powerpc: Move script to check relocations at compile time in scripts/
Relocating kernel at runtime is done very early in the boot process, so
it is not convenient to check for relocations there and react in case a
relocation was not expected.

Powerpc architecture has a script that allows to check at compile time
for such unexpected relocations: extract the common logic to scripts/
so that other architectures can take advantage of it.

Signed-off-by: Alexandre Ghiti <alex@ghiti.fr>
Reviewed-by: Anup Patel <anup@brainfault.org>
Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
Link: https://lore.kernel.org/r/20230329045329.64565-5-alexghiti@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2023-04-19 07:46:31 -07:00
..
checkpatch.sh powerpc/tools: Remove 90 line limit in checkpatch script 2020-09-08 22:57:11 +10:00
gcc-check-mprofile-kernel.sh powerpc/kbuild: move -mprofile-kernel check to Kconfig 2018-06-11 09:16:29 +09:00
head_check.sh powerpc/head_check: Fix shellcheck errors 2021-08-17 22:52:02 +10:00
relocs_check.sh powerpc: Move script to check relocations at compile time in scripts/ 2023-04-19 07:46:31 -07:00
unrel_branch_check.sh powerpc: unrel_branch_check.sh: enable the use of llvm-objdump v9, 10 or 11 2020-09-02 11:00:22 +10:00