[PATCH v2] RISC-V: Deprecate ".option arch, -ext" for users due to its controversial use
Andreas Schwab
schwab@suse.de
Wed Jul 9 07:37:42 GMT 2025
On Jul 09 2025, Nelson Chu wrote:
> @@ -217,17 +219,11 @@ desirable.
> 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}
> -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
> -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
> -previous settings.
> +Enables or reset the extensions for specific code region. For example,
Enable or reset ...
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Binutils
mailing list