RISC-V: Add Svukte 1.0 extension support
Adds support for the RISC-V Svukte 1.0 extension to binutils.
This patch introduces support for the Svukte extension in binutils, which deals with address-independent fault latency. It registers version 1.0, implies the Zicsr extension, and rejects RV32 due to the extension’s requirement for Sv39. The changes include updates to BFD and GAS, along with new tests for RV64 architecture attributes, RV32 rejection, and -march help.
In Details
This patch enhances the RISC-V support in binutils by adding the 'Svukte' extension. This involves modifying BFD's ELF handling (bfd/elfxx-riscv.c) to recognize 'Svukte' as an implicit subset of '+zicsr' and to enforce constraints, specifically rejecting its use with RV32 as it requires Sv39. GAS is updated to include Svukte in its architecture attribute parsing and testing facilities.
- Svukte
- A RISC-V extension related to address-independent fault latency.
- Zicsr
- A RISC-V extension that provides access to Control and Status Registers (CSRs).
- RV32
- The 32-bit version of the RISC-V architecture.
- Sv39
- A RISC-V virtual memory specification, indicating a 39-bit virtual address space.
- GAS
- The GNU Assembler.
- BFD
- Binary File Descriptor library.
- ELF
- Executable and Linkable Format.