diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c index e03b312a381..8cbcbe43163 100644 --- a/bfd/elfxx-riscv.c +++ b/bfd/elfxx-riscv.c @@ -1845,13 +1845,6 @@ riscv_parse_check_conflicts (riscv_parse_subset_t *rps) rps->error_handler (_("rv%d does not support the `q' extension"), xlen); no_conflict = false; } - if (riscv_lookup_subset (rps->subset_list, "e", &subset) - && riscv_lookup_subset (rps->subset_list, "f", &subset)) - { - rps->error_handler - (_("rv32e does not support the `f' extension")); - no_conflict = false; - } if (riscv_lookup_subset (rps->subset_list, "zfinx", &subset) && riscv_lookup_subset (rps->subset_list, "f", &subset)) { diff --git a/gas/testsuite/gas/riscv/march-fail-rv32ef.d b/gas/testsuite/gas/riscv/march-fail-rv32ef.d deleted file mode 100644 index d7b51c3c17d..00000000000 --- a/gas/testsuite/gas/riscv/march-fail-rv32ef.d +++ /dev/null @@ -1,3 +0,0 @@ -#as: -march=rv32ef -#source: empty.s -#error_output: march-fail-rv32ef.l diff --git a/gas/testsuite/gas/riscv/march-fail-rv32ef.l b/gas/testsuite/gas/riscv/march-fail-rv32ef.l deleted file mode 100644 index e6d93f28fa5..00000000000 --- a/gas/testsuite/gas/riscv/march-fail-rv32ef.l +++ /dev/null @@ -1,2 +0,0 @@ -.*Assembler messages: -.*Error: .*rv32e does not support the `f' extension