From: Tsukasa OI Date: Thu, 2 Jun 2022 14:05:58 +0000 (+0900) Subject: RISC-V: Add 'H' to canonical extension ordering X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1176bc3876fdec6a700079ef216940f42a57f18a;p=binutils-gdb.git RISC-V: Add 'H' to canonical extension ordering This commit adds 'H' to canonical extension ordering based on current consensus (not officially ratified as a new ISA specification manual but discussion for software compatibility is made). bfd/ChangeLog * elfxx-riscv.c (riscv_ext_canonical_order): Add 'H' for canonical extension ordering based on current consensus. --- diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c index a4609b995b8..ede69682114 100644 --- a/bfd/elfxx-riscv.c +++ b/bfd/elfxx-riscv.c @@ -1345,7 +1345,7 @@ riscv_recognized_prefixed_ext (const char *ext) } /* Canonical order for single letter extensions. */ -static const char riscv_ext_canonical_order[] = "eigmafdqlcbkjtpvn"; +static const char riscv_ext_canonical_order[] = "eigmafdqlcbkjtpvnh"; /* Array is used to compare the orders of standard extensions quickly. */ static int riscv_ext_order[26] = {0};