binutils, ld: dequote libctf error messages
authorNick Alcock <nick.alcock@oracle.com>
Wed, 29 Jul 2020 12:50:10 +0000 (13:50 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Thu, 27 Aug 2020 12:16:39 +0000 (13:16 +0100)
commit5e9b84f7a2e13af9ed00e262ad844e192b88ea8c
tree3d66a4b83d070f5be4c923871a9dda4fe3cebff6
parent926c9e7665707d2f2eeb705b410e485f6930ab38
binutils, ld: dequote libctf error messages

These are not identifiers and should not be quoted.  (Also, quoting them
just looks odd.)

Adjust diagnostics tests accordingly.

binutils/ChangeLog
2020-08-27  Nick Alcock  <nick.alcock@oracle.com>

* objdump.c (dump_ctf_errs): Unquote CTF error messages.
* readelf.c (dump_ctf_errs): Likewise.

ld/ChangeLog
2020-08-27  Nick Alcock  <nick.alcock@oracle.com>

* ldlang.c (dump_ctf_errs): Unquote CTF error messages.
(ldlang_open_ctf): Likewise.
(lang_merge_ctf): Likewise.
(lang_write_ctf): Likewise.
* testsuite/ld-ctf/diag-ctf-version-f.d: Adjust.
* testsuite/ld-ctf/diag-cttname-invalid.d: Adjust.
* testsuite/ld-ctf/diag-decompression-failure.d: Adjust.
* testsuite/ld-ctf/diag-parname.d: Adjust.
* testsuite/ld-ctf/diag-unsupported-flag.d: Adjust.
* testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Adjust.
* testsuite/ld-ctf/diag-wrong-magic-number.d: Adjust.
12 files changed:
binutils/ChangeLog
binutils/objdump.c
binutils/readelf.c
ld/ChangeLog
ld/ldlang.c
ld/testsuite/ld-ctf/diag-ctf-version-f.d
ld/testsuite/ld-ctf/diag-cttname-invalid.d
ld/testsuite/ld-ctf/diag-decompression-failure.d
ld/testsuite/ld-ctf/diag-parname.d
ld/testsuite/ld-ctf/diag-unsupported-flag.d
ld/testsuite/ld-ctf/diag-wrong-magic-number-mixed.d
ld/testsuite/ld-ctf/diag-wrong-magic-number.d