RISC-V: Enable riscv attributes by default for all riscv targets.
commit3c70b3ca1ef58f302bf8c16d9e7c7bb8626408bf
authorJim Wilson <jimw@sifive.com>
Thu, 3 Jun 2021 20:50:34 +0000 (3 13:50 -0700)
committerJim Wilson <jimw@sifive.com>
Thu, 3 Jun 2021 20:54:12 +0000 (3 13:54 -0700)
tree24b67ce2d202aa8c8331b66e343c3e023f2a0d0d
parent5883e567564c5b3caecba0c13e8a360a14cdc846
RISC-V: Enable riscv attributes by default for all riscv targets.

These were only enabled for embedded elf originally because that was
the safe option, and linux had no obvious use for them.  But now that
we have new extensions coming like V that affect process state and ABIs,
the attributes are expected to be useful for linux, and may be required
by the psABI.  clang already emits them for all riscv targets.

gcc/
* config.gcc (riscv*-*-*): If --with-riscv-attribute not used,
turn it on for all riscv targets.
gcc/config.gcc