[PATCH] RISC-V: Add support for RISC-V Profiles.
Jan Beulich
jbeulich@suse.com
Fri Aug 2 09:29:41 GMT 2024
On 02.08.2024 10:52, Jiawei wrote:
> Supports RISC-V profiles[1] in -march option.
>
> Default input set the profile before other formal extensions.
>
> [1]https://github.com/riscv/riscv-profiles/blob/main/profiles.adoc
>
> bfd/ChangeLog:
>
> * elfxx-riscv.c (struct riscv_profiles): New struct.
> (riscv_handle_profiles): New handle function.
> (riscv_parse_subset): Add Profiles parse.
> * elfxx-riscv.h (riscv_handle_profiles): New prototype.
>
> gas/ChangeLog:
>
> * NEWS:
> * testsuite/gas/riscv/attribute-15.d: New test.
> * testsuite/gas/riscv/attribute-16.d: New test.
Surely also wants a gas/doc/ change?
> --- a/gas/NEWS
> +++ b/gas/NEWS
> @@ -42,6 +42,8 @@ Changes in 2.43:
> * Remove support for RISC-V privileged spec 1.9.1, but linker can still
> recognize it in case of linking old objects.
>
> +* Add support for RISC-V Profiles RV20/22.
> +
> * Add support for RISC-V Zacas extension with version 1.0.
>
> * Add support for RISC-V Zcmp extension with version 1.0.
Is this really intended to still go onto the 2.43 branch? I think this needs
to move further up in the file, into the new section that's going to become
2.44's at some point.
Jan
More information about the Binutils
mailing list