summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@gmail.com>2021-07-22 05:17:15 +0300
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-08-12 17:16:52 +0300
commit030d6dbf0c2e5fdf23ad29557f0c87a882993e26 (patch)
tree1bcba2f8d6f9394badeb339d40bfe9d3018a3111 /scripts/gdb/linux/utils.py
parent867432bec1c6e7df21a361d7f12022a8c5f54022 (diff)
downloadlinux-030d6dbf0c2e5fdf23ad29557f0c87a882993e26.tar.xz
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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions