diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2017-03-29 16:05:40 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-03-31 09:35:21 -0700 |
commit | fecb9c46659c576e9e2c790eff2a25df8203a97f (patch) | |
tree | d1ab3b5ff86cb481740472d2b4a43fe5d7d014d7 /gas/config/tc-moxie.c | |
parent | 858f82bf7e6531f4ad821285359c759c835f9dce (diff) | |
download | gdb-fecb9c46659c576e9e2c790eff2a25df8203a97f.zip gdb-fecb9c46659c576e9e2c790eff2a25df8203a97f.tar.gz gdb-fecb9c46659c576e9e2c790eff2a25df8203a97f.tar.bz2 |
RISC-V: Allow ISA subsets to be disabled
Without this patch, passing "-march=rv64ic -march=rv64i" results in
you getting a "RV64IC" toolchain, which isn't expected.
gas/ChangeLog:
2017-03-30 Palmer Dabbelt <palmer@dabbelt.com>
* config/tc-riscv.c (riscv_clear_subsets): New function.
(riscv_add_subset): Call riscv_clear_subsets and riscv_set_rvc to
clear RVC when it's been previously set.
Diffstat (limited to 'gas/config/tc-moxie.c')
0 files changed, 0 insertions, 0 deletions