Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RISC-V: Add 'Smepmp' with 'Zicsr' dependency
Volume II: Privileged Architecture of the RISC-V ISA Manual states that the privileged architecture requires the 'Zicsr' extension. However, current GNU Binutils has no direct way whether the program has dependency to the privileged architecture itself. As a workaround, we should add implications from privileged extensions that either add new CSRs, extend existing CSRs or depends on using CSRs. This commit adds the 'Smepmp' extension (that extends CSRs defined in the privileged architecture and should have indirect dependency to 'Zicsr'). bfd/ChangeLog: * elfxx-riscv.c (riscv_implicit_subsets): Add 'Smepmp' -> 'Zicsr' implication. (riscv_supported_std_s_ext): Add 'Smepmp'.
- Loading branch information