From c2db2b8a377bd6838cbd668ae12cce835a180093 Mon Sep 17 00:00:00 2001 From: Nelson Chu Date: Tue, 18 Jun 2024 16:15:45 +0800 Subject: RISC-V: Fixed typo from smscrind to smcsrind in riscv_implicit_subsets. bfd/ * elfxx-riscv.c (riscv_implicit_subsets): Fixed type from smscrind to smcsrind. gas/ * testsuite/gas/riscv/march-imply-smcsrind.d: New testcase. It fails without applying this patch. --- gas/testsuite/gas/riscv/march-imply-smcsrind.d | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 gas/testsuite/gas/riscv/march-imply-smcsrind.d (limited to 'gas') diff --git a/gas/testsuite/gas/riscv/march-imply-smcsrind.d b/gas/testsuite/gas/riscv/march-imply-smcsrind.d new file mode 100644 index 0000000..e028a06 --- /dev/null +++ b/gas/testsuite/gas/riscv/march-imply-smcsrind.d @@ -0,0 +1,6 @@ +#as: -march=rv32i_smcsrind -march-attr -misa-spec=20191213 +#readelf: -A +#source: empty.s +Attribute Section: riscv +File Attributes + Tag_RISCV_arch: "rv32i2p1_zicsr2p0_smcsrind1p0_sscsrind1p0" -- cgit v1.1