Most RISC-V toolchains can generate code for all RISC-V targets, but are
currently named "riscv32-*" and "riscv64-*". Users have suggested that
these names are unintuiative and would like tuples to be "riscv-*".
This patch enables "riscv-*" tuples by adding a config.sub rule that
replaces "riscv-*" with "riscv32-*". The first ISA described by the
RISC-V specification is RV32I, a 32-bit ISA, so making "riscv-*" mean
32-bit seems like the sane way to go. There are also handful of tests
added, which all pass for me.
This has been discussed on various mailing lists a half dozen times, but
I never got around to submitting a patch