RISC-V: Fix canonical extension order (K and J)
authorTsukasa OI <research_trasio@irq.a4lg.com>
Mon, 28 Mar 2022 13:12:01 +0000 (22:12 +0900)
committerNelson Chu <nelson.chu@sifive.com>
Thu, 19 May 2022 03:31:31 +0000 (11:31 +0800)
commitc4dd8eb523fae5c9d312f4b7b21377eec66e70c3
tree7e38c1a0c86faf6b8fca85a0fd3f9f24cdad544c
parent4f02f4d802c9bc4d6885891fd2231a8390627e7e
RISC-V: Fix canonical extension order (K and J)

This commit fixes canonical extension order to follow the RISC-V ISA
Manual draft-20210402-1271737 or later.

bfd/ChangeLog:

* elfxx-riscv.c (riscv_recognized_prefixed_ext): Fix "K" extension
prefix to be placed before "J".
bfd/elfxx-riscv.c