RISC-V: Update Zihintpause extension version
authorTsukasa OI <research_trasio@irq.a4lg.com>
Sun, 3 Jul 2022 10:31:23 +0000 (19:31 +0900)
committerNelson Chu <nelson.chu@sifive.com>
Mon, 4 Jul 2022 00:45:54 +0000 (08:45 +0800)
Because ratified Zihintpause extension has a version number of 2.0
(not 1.0), we should update the number.

bfd/ChangeLog:

* elfxx-riscv.c (riscv_supported_std_z_ext): Update version
number of Zihintpause extension.

bfd/elfxx-riscv.c

index bf7dc20e8928700df756003ca230caac3f122be7..c846d6baaa2f8498e8e18bc0cd34d3c870056ffd 100644 (file)
@@ -1185,7 +1185,7 @@ static struct riscv_supported_ext riscv_supported_std_z_ext[] =
   {"zicsr",            ISA_SPEC_CLASS_20190608,        2, 0,  0 },
   {"zifencei",         ISA_SPEC_CLASS_20191213,        2, 0,  0 },
   {"zifencei",         ISA_SPEC_CLASS_20190608,        2, 0,  0 },
-  {"zihintpause",      ISA_SPEC_CLASS_DRAFT,           1, 0,  0 },
+  {"zihintpause",      ISA_SPEC_CLASS_DRAFT,           2, 0,  0 },
   {"zfh",              ISA_SPEC_CLASS_DRAFT,           1, 0,  0 },
   {"zfinx",            ISA_SPEC_CLASS_DRAFT,           1, 0,  0 },
   {"zdinx",            ISA_SPEC_CLASS_DRAFT,           1, 0,  0 },