RISC-V: Add "lp64e" ABI support
authorTsukasa OI <research_trasio@irq.a4lg.com>
Tue, 25 Jul 2023 00:53:47 +0000 (00:53 +0000)
committerTsukasa OI <research_trasio@irq.a4lg.com>
Mon, 16 Oct 2023 04:11:07 +0000 (04:11 +0000)
commit6674b23fe6409e08de9c36f640bd58127eff9dda
tree26a63e54eb6435a9853f3b2b8e7086f46756f239
parentf1a0961ee09281ba3ddce1abb0541b45c4185094
RISC-V: Add "lp64e" ABI support

Since RV32E and RV64E are now ratified, this commit prepares the ABI
support for LP64E (LP64 with reduced GPRs).

gas/ChangeLog:

* config/tc-riscv.c (riscv_set_abi_by_arch): Update the error
message.  (md_parse_option): Accept "lp64e".
* doc/c-riscv.texi: Update the documentation to allow "lp64e".
* testsuite/gas/riscv/mabi-fail-rv32e-lp64f.l:
Change error message.
* testsuite/gas/riscv/mabi-fail-rv32e-lp64d.l: Likewise.
* testsuite/gas/riscv/mabi-fail-rv32e-lp64q.l: Likewise.
gas/config/tc-riscv.c
gas/doc/c-riscv.texi
gas/testsuite/gas/riscv/mabi-fail-rv32e-lp64d.l
gas/testsuite/gas/riscv/mabi-fail-rv32e-lp64f.l
gas/testsuite/gas/riscv/mabi-fail-rv32e-lp64q.l