aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorTsukasa OI <research_trasio@irq.a4lg.com>2022-06-02 23:05:58 +0900
committerNelson Chu <nelson.chu@sifive.com>2022-06-22 18:13:30 +0800
commit1176bc3876fdec6a700079ef216940f42a57f18a (patch)
tree26aabc0ad0515047a914895d58ea8896b2eda0a8 /bfd
parentdd8cc00cac3f49cde6c5a1ea0a4294575c7eceec (diff)
downloadfsf-binutils-gdb-1176bc3876fdec6a700079ef216940f42a57f18a.zip
fsf-binutils-gdb-1176bc3876fdec6a700079ef216940f42a57f18a.tar.gz
fsf-binutils-gdb-1176bc3876fdec6a700079ef216940f42a57f18a.tar.bz2
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.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/elfxx-riscv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c
index a4609b9..ede6968 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};