aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNelson Chu <nelson@rivosinc.com>2024-06-27 12:27:33 +0800
committerNelson Chu <nelson@rivosinc.com>2024-06-28 13:37:08 +0800
commit685dcd295af6ed52154ce44fbe5d8cc58f2f1a51 (patch)
treeae1fecaa0826e1669220c8e8a465bf12915f4b13 /gas
parent81c353cb9cbba572b73ea4a3949571c44282b0df (diff)
downloadfsf-binutils-gdb-685dcd295af6ed52154ce44fbe5d8cc58f2f1a51.zip
fsf-binutils-gdb-685dcd295af6ed52154ce44fbe5d8cc58f2f1a51.tar.gz
fsf-binutils-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 'gas')
0 files changed, 0 insertions, 0 deletions