aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-open-bfd.c
diff options
context:
space:
mode:
authorKito Cheng <kito.cheng@sifive.com>2022-02-21 23:14:31 +0800
committerNelson Chu <nelson.chu@sifive.com>2022-02-22 09:54:09 +0800
commit3a3e333f65483b864bf2624392f8aa4a88c7a498 (patch)
treee97bc91ea93a4662daed9d1e7ff72cd9a16e2b67 /libctf/ctf-open-bfd.c
parentfadefdc51882bcf1cf04138facb29f390be9a04e (diff)
downloadgdb-3a3e333f65483b864bf2624392f8aa4a88c7a498.zip
gdb-3a3e333f65483b864bf2624392f8aa4a88c7a498.tar.gz
gdb-3a3e333f65483b864bf2624392f8aa4a88c7a498.tar.bz2
RISC-V: Maintain a string to hold the canonical order
Using dummy entry in riscv_supported_std_ext cause confusing and wrongly support `b` and `k` extensions. bfd/ * elfxx-riscv.c (riscv_supported_std_ext): Drop unsupported extensions. (riscv_ext_canonical_order): New. (riscv_init_ext_order): Use riscv_ext_canonical_order rather than riscv_supported_std_ext to compute canonical order. V2 Changes: - Use `*ext` rather than `*ext != NULL` for checking is reach end of string.
Diffstat (limited to 'libctf/ctf-open-bfd.c')
0 files changed, 0 insertions, 0 deletions