RISC-V: Error and warning messages tidy.
authorNelson Chu <nelson.chu@sifive.com>
Wed, 13 Jan 2021 08:52:14 +0000 (16:52 +0800)
committerNelson Chu <nelson.chu@sifive.com>
Fri, 15 Jan 2021 09:33:59 +0000 (17:33 +0800)
commitb800637e7631482d1bece2463b7c89e2d873d9d0
tree05591e95c8750d698d4fdc9cb55eb5b01f89a1e8
parentdcd709e056c6f4b7ffff759b9b6ecab1177083ed
RISC-V: Error and warning messages tidy.

Error and warning messages usually starting with lower case letter,
and without the period at the end.  Besides, add the prefixed "internel:"
at the beginning of the messages when they are caused internally.
Also fix indents and typos.

bfd/
    * elfnn-riscv.c (riscv_merge_attributes): Fix typos of messages.
gas/
    * config/tc-riscv.c: Error and warning messages tidy.
    * testsuite/gas/riscv/priv-reg-fail-fext.l: Updated.
    * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
    * testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise.
    * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
    * testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
    * testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
    * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
ld/
    * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
    * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
    * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
    * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
    * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
    * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
opcodes/
    * riscv-dis.c (parse_riscv_dis_option): Fix typos of message.
20 files changed:
bfd/ChangeLog
bfd/elfnn-riscv.c
gas/ChangeLog
gas/config/tc-riscv.c
gas/testsuite/gas/riscv/priv-reg-fail-fext.l
gas/testsuite/gas/riscv/priv-reg-fail-read-only-01.l
gas/testsuite/gas/riscv/priv-reg-fail-read-only-02.l
gas/testsuite/gas/riscv/priv-reg-fail-rv32-only.l
gas/testsuite/gas/riscv/priv-reg-fail-version-1p10.l
gas/testsuite/gas/riscv/priv-reg-fail-version-1p11.l
gas/testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l
ld/ChangeLog
ld/testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d
ld/testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d
ld/testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d
ld/testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d
ld/testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d
ld/testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d
opcodes/ChangeLog
opcodes/riscv-dis.c