From ca2fd32c5508ff1b68781ba5b82e6cdbf9ca100a Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Fri, 16 Mar 2018 10:03:57 -0700 Subject: RISC-V: Emit better warning for unknown CSR. gas/ * config/tc-riscv.c (check_absolute_expr): Expand comment. New parameter maybe_csr. If maybe_csr and O_symbol, print CSR name. (riscv_ip): Add new argument to check_absolute_expr calls. * testsuite/gas/riscv/bad-csr.d: New. * testsuite/gas/riscv/bad-csr.l: New. * testsuite/gas/riscv/bad-csr.s: New. --- gas/ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gas/ChangeLog') diff --git a/gas/ChangeLog b/gas/ChangeLog index aeb927a..005cc3a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,12 @@ +2018-03-16 Jim Wilson + + * config/tc-riscv.c (check_absolute_expr): Expand comment. New + parameter maybe_csr. If maybe_csr and O_symbol, print CSR name. + (riscv_ip): Add new argument to check_absolute_expr calls. + * testsuite/gas/riscv/bad-csr.d: New. + * testsuite/gas/riscv/bad-csr.l: New. + * testsuite/gas/riscv/bad-csr.s: New. + 2018-03-14 Kito Cheng * config/tc-riscv.c (opcode_name_list): New. -- cgit v1.1