]> gcc.gnu.org Git - gcc.git/commit
RISC-V: Add '-m[no]-csr-check' option in gcc.
authorJiawei <jiawei@iscas.ac.cn>
Thu, 8 Sep 2022 01:50:49 +0000 (09:50 +0800)
committerKito Cheng <kito.cheng@sifive.com>
Fri, 30 Sep 2022 15:09:16 +0000 (23:09 +0800)
commit32f86f2b54dc97cb6a40edef421b6a30c3bd1c04
tree1500e2972004b198efe625515ea966a34c3a355b
parent1e2c124d71ac051373a30495793883c45bcc5415
RISC-V: Add '-m[no]-csr-check' option in gcc.

Add -m[no]-csr-check option in gcc part, when enable -mcsr-check option,
it will add csr-check in .option section and pass this to assembler.

gcc/ChangeLog:

* config/riscv/riscv.cc (riscv_file_start): New .option.
* config/riscv/riscv.opt: New options.
* doc/invoke.texi: New definations.
gcc/config/riscv/riscv.cc
gcc/config/riscv/riscv.opt
gcc/doc/invoke.texi
This page took 0.060561 seconds and 6 git commands to generate.