[PATCH v2] RISC-V: Deprecate ".option arch, -ext" for users due to its controversial use
Nelson Chu
nelson@rivosinc.com
Thu Jul 10 11:44:20 GMT 2025
On Wed, Jul 9, 2025 at 3:37 PM Andreas Schwab <schwab@suse.de> wrote:
> 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 ...
>
Thanks ;)
On Wed, Jul 9, 2025 at 5:34 PM Jiawei <jiawei@iscas.ac.cn> wrote:
> LGTM, thanks.
>
Thanks a lot ;) Committed.
Nelson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/binutils/attachments/20250710/0fd4e4b1/attachment.htm>
More information about the Binutils
mailing list