RISC-V: Allow ISA subsets to be disabled
authorPalmer Dabbelt <palmer@dabbelt.com>
Wed, 29 Mar 2017 23:05:40 +0000 (16:05 -0700)
committerPalmer Dabbelt <palmer@dabbelt.com>
Fri, 31 Mar 2017 16:35:21 +0000 (09:35 -0700)
commitfecb9c46659c576e9e2c790eff2a25df8203a97f
treed1ab3b5ff86cb481740472d2b4a43fe5d7d014d7
parent858f82bf7e6531f4ad821285359c759c835f9dce
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.
gas/ChangeLog
gas/config/tc-riscv.c
This page took 0.026618 seconds and 4 git commands to generate.