[binutils-gdb] RISC-V: Fix typo in the testsuite

Tsukasa OI a4lg@sourceware.org
Tue Sep 5 04:01:40 GMT 2023


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2a546455f456ad190e8c4785fd2b170659bf2236

commit 2a546455f456ad190e8c4785fd2b170659bf2236
Author: Tsukasa OI <research_trasio@irq.a4lg.com>
Date:   Tue Sep 5 03:59:02 2023 +0000

    RISC-V: Fix typo in the testsuite
    
    gas/ChangeLog:
    
            * testsuite/gas/riscv/csr.s: Fix typo. mhcounteren is superseded
            by minstretcfg, not mcyclecfg.

Diff:
---
 gas/testsuite/gas/riscv/csr.s | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gas/testsuite/gas/riscv/csr.s b/gas/testsuite/gas/riscv/csr.s
index 6457436af26..3d8da5488a0 100644
--- a/gas/testsuite/gas/riscv/csr.s
+++ b/gas/testsuite/gas/riscv/csr.s
@@ -447,7 +447,7 @@
 	csr mbadaddr		# 0x343 in 1.9.1, but the value is mtval since 1.10
 	csr mucounteren		# 0x320 in 1.9.1, dropped in 1.10, but the value is mcountinhibit since 1.11
 	csr mscounteren		# 0x321 in 1.9.1, dropped in 1.10, but the value is mcyclecfg for Smcntrpmf extension
-	csr mhcounteren		# 0x322 in 1.9.1, dropped in 1.10, but the value is mcyclecfg for Smcntrpmf extension
+	csr mhcounteren		# 0x322 in 1.9.1, dropped in 1.10, but the value is minstretcfg for Smcntrpmf extension
 	csr mbase		# 0x380 in 1.9.1, dropped in 1.10
 	csr mbound		# 0x381 in 1.9.1, dropped in 1.10
 	csr mibase		# 0x382 in 1.9.1, dropped in 1.10


More information about the Binutils-cvs mailing list