[binutils-gdb] gas/doc/riscv: Fixed syntax of `.option arch' when reseting whole architecture
Nelson Chu
nelsonc1225@sourceware.org
Wed Jul 3 01:53:35 GMT 2024
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0c43f0a1bc2bf44ddd6d93441330a56883de2ede
commit 0c43f0a1bc2bf44ddd6d93441330a56883de2ede
Author: Nelson Chu <nelson@rivosinc.com>
Date: Wed Jul 3 09:40:53 2024 +0800
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.
Diff:
---
gas/doc/c-riscv.texi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gas/doc/c-riscv.texi b/gas/doc/c-riscv.texi
index ebff7a6acd4..24df83b65c5 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
More information about the Binutils-cvs
mailing list