diff options
author | Nelson Chu <nelson@rivosinc.com> | 2024-07-03 09:40:53 +0800 |
---|---|---|
committer | Nelson Chu <nelson@rivosinc.com> | 2024-07-03 09:52:34 +0800 |
commit | 0c43f0a1bc2bf44ddd6d93441330a56883de2ede (patch) | |
tree | 460f6041383a4b732ea63671c5cb25d4d26ec5b6 | |
parent | afa87be0fc751c158d666a48a9077d26d6ec8666 (diff) | |
download | gdb-0c43f0a1bc2bf44ddd6d93441330a56883de2ede.zip gdb-0c43f0a1bc2bf44ddd6d93441330a56883de2ede.tar.gz gdb-0c43f0a1bc2bf44ddd6d93441330a56883de2ede.tar.bz2 |
gas/doc/riscv: Fixed syntax of `.option arch' when reseting whole architecture
gas/
* doc/c-riscv.texi: Fixed syntax of `.option arc'h when reseting whole
architecture. Don't need the `=' before ISA.
-rw-r--r-- | gas/doc/c-riscv.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/doc/c-riscv.texi b/gas/doc/c-riscv.texi index ebff7a6..24df83b 100644 --- a/gas/doc/c-riscv.texi +++ b/gas/doc/c-riscv.texi @@ -210,7 +210,7 @@ Enables or disables the CSR checking. @item arch, @var{+extension[version]} [,...,@var{+extension_n[version_n]}] @itemx arch, @var{-extension} [,...,@var{-extension_n}] -@itemx arch, @var{=ISA} +@itemx arch, @var{ISA} Enables or disables the extensions for specific code region. For example, @samp{.option arch, +m2p0} means add m extension with version 2.0, and @samp{.option arch, -f, -d} means remove extensions, f and d, from the @@ -218,7 +218,7 @@ architecture string. Note that, @samp{.option arch, +c, -c} have the same behavior as @samp{.option rvc, norvc}. However, they are also undesirable sometimes. Besides, @samp{.option arch, -i} is illegal, since we cannot remove the base i extension anytime. If you want to reset the whole ISA -string, you can also use @samp{.option arch, =rv32imac} to overwrite the +string, you can also use @samp{.option arch, rv32imac} to overwrite the previous settings. @end table |