diff options
author | Nelson Chu <nelson@rivosinc.com> | 2024-06-27 12:27:33 +0800 |
---|---|---|
committer | Nelson Chu <nelson@rivosinc.com> | 2024-06-28 13:37:08 +0800 |
commit | 685dcd295af6ed52154ce44fbe5d8cc58f2f1a51 (patch) | |
tree | ae1fecaa0826e1669220c8e8a465bf12915f4b13 /bfd/pei-i386.c | |
parent | 81c353cb9cbba572b73ea4a3949571c44282b0df (diff) | |
download | gdb-685dcd295af6ed52154ce44fbe5d8cc58f2f1a51.zip gdb-685dcd295af6ed52154ce44fbe5d8cc58f2f1a51.tar.gz gdb-685dcd295af6ed52154ce44fbe5d8cc58f2f1a51.tar.bz2 |
RISC-V: Shrink the riscv_implicit_subsets table.
Allow to add implicit extensions by using the syntax of `.option arch, +-', so
that the table is shrinked and more readable.
bfd/
* elfxx-riscv.c (check_implicit_always): Removed the unused IMPLICIT
parameter.
(check_implicit_for_i): Likewise.
(riscv_implicit_subsets): Shrink the table by allowing the syntax of
`.option arch, +-' for implicit extensions.
(riscv_update_subset1): New function, called from riscv_update_subset
or riscv_parse_add_implicit_subsets. It basically does the same thing
as riscv_update_subset function before.
(riscv_parse_add_implicit_subsets): Updated.
(riscv_update_subset): Updated.
Diffstat (limited to 'bfd/pei-i386.c')
0 files changed, 0 insertions, 0 deletions