Home
last modified time | relevance | path

Searched hist:"030 d6dbf0c2e5fdf23ad29557f0c87a882993e26" (Results 1 – 1 of 1) sorted by relevance

/linux/arch/riscv/kernel/
H A DMakefilediff 030d6dbf0c2e5fdf23ad29557f0c87a882993e26 Thu Jul 22 04:17:15 CEST 2021 Changbin Du <changbin.du@gmail.com> riscv: kexec: do not add '-mno-relax' flag if compiler doesn't support it

The RISC-V special option '-mno-relax' which to disable linker relaxations
is supported by GCC8+. For GCC7 and lower versions do not support this
option.

Fixes: fba8a8674f68 ("RISC-V: Add kexec support")
Signed-off-by: Changbin Du <changbin.du@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>