]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gas/doc/riscv: Fixed syntax of `.option arch' when reseting whole architecture
authorNelson Chu <nelson@rivosinc.com>
Wed, 3 Jul 2024 01:40:53 +0000 (09:40 +0800)
committerNelson Chu <nelson@rivosinc.com>
Wed, 3 Jul 2024 01:52:34 +0000 (09:52 +0800)
gas/
* doc/c-riscv.texi: Fixed syntax of `.option arc'h when reseting whole
architecture.  Don't need the `=' before ISA.

gas/doc/c-riscv.texi

index ebff7a6acd45ae7c18e4440c2f159072b51227fe..24df83b65c555dbb171c54b0e1ad4a680c625810 100644 (file)
@@ -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