mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
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".
This commit is contained in:
@ -1341,7 +1341,7 @@ riscv_recognized_prefixed_ext (const char *ext)
|
||||
}
|
||||
|
||||
/* Canonical order for single letter extensions. */
|
||||
static const char riscv_ext_canonical_order[] = "eigmafdqlcbjktpvn";
|
||||
static const char riscv_ext_canonical_order[] = "eigmafdqlcbkjtpvn";
|
||||
|
||||
/* Array is used to compare the orders of standard extensions quickly. */
|
||||
static int riscv_ext_order[26] = {0};
|
||||
|
Reference in New Issue
Block a user