From 0c43f0a1bc2bf44ddd6d93441330a56883de2ede Mon Sep 17 00:00:00 2001 From: Nelson Chu Date: Wed, 3 Jul 2024 09:40:53 +0800 Subject: [PATCH] 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. --- 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 -- 2.39.5