diff options
author | Nelson Chu <nelson.chu@sifive.com> | 2020-11-20 23:42:28 +0800 |
---|---|---|
committer | Nelson Chu <nelson.chu@sifive.com> | 2020-12-01 15:24:10 +0800 |
commit | 6729e2c2af2bd94408430734316597843718a484 (patch) | |
tree | 6d90a85ca4307af4915111cd30cae2efc6b20b1a /gdbsupport | |
parent | 00d4d1b0a3a4d26c9d741b14e601ed2b86fe39ee (diff) | |
download | gdb-6729e2c2af2bd94408430734316597843718a484.zip gdb-6729e2c2af2bd94408430734316597843718a484.tar.gz gdb-6729e2c2af2bd94408430734316597843718a484.tar.bz2 |
RISC-V: Fix the order checking for Z* extension.
We have to check the first char of the Z* extensions, to make sure that
they follow the order of the standard extensions. But we can not have
the testcases for this patch, since we only support the zicsr and zifencei
so far, both of them are the sub extensions of i.
bfd/
* elfxx-riscv.c (riscv_parse_prefixed_ext): Use riscv_compare_subsets
to check the Z* extensions' order.
Diffstat (limited to 'gdbsupport')
0 files changed, 0 insertions, 0 deletions