[PATCH] RISC-V: Canonicalize --with-arch

Kito Cheng kito.cheng@gmail.com
Fri Dec 4 08:07:21 GMT 2020


Committed, thanks :)

On Thu, Dec 3, 2020 at 8:51 AM Jim Wilson <jimw@sifive.com> wrote:
>
> On Tue, Dec 1, 2020 at 12:13 AM Kito Cheng <kito.cheng@sifive.com> wrote:
>>
>>  - We would like to canonicalize the arch string for --with-arch for
>>    easier handling multilib, so split canonicalization part to a stand
>>    along script to shared the logic.
>>
>> gcc/ChangeLog:
>>
>>         * config/riscv/multilib-generator (arch_canonicalize): Move
>>         code to arch-canonicalize, and call that script to canonicalize arch
>>         string.
>>         (canonical_order): Move code to arch-canonicalize.
>>         (LONG_EXT_PREFIXES): Ditto.
>>         (IMPLIED_EXT): Ditto.
>>         * config/riscv/arch-canonicalize: New.
>>         * config.gcc (riscv*-*-*): Canonicalize --with-arch.
>
>
> Looks OK to me.
>
> Jim
>


More information about the Gcc-patches mailing list