diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2020-07-29 13:50:10 +0100 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2020-08-27 13:16:39 +0100 |
commit | 5e9b84f7a2e13af9ed00e262ad844e192b88ea8c (patch) | |
tree | 3d66a4b83d070f5be4c923871a9dda4fe3cebff6 /binutils/readelf.c | |
parent | 926c9e7665707d2f2eeb705b410e485f6930ab38 (diff) | |
download | gdb-5e9b84f7a2e13af9ed00e262ad844e192b88ea8c.zip gdb-5e9b84f7a2e13af9ed00e262ad844e192b88ea8c.tar.gz gdb-5e9b84f7a2e13af9ed00e262ad844e192b88ea8c.tar.bz2 |
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.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index c5796e8..d4dcab8 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -14249,7 +14249,7 @@ dump_ctf_errs (ctf_file_t *fp) /* Dump accumulated errors and warnings. */ while ((errtext = ctf_errwarning_next (fp, &it, &is_warning, &err)) != NULL) { - error (_("%s: `%s'"), is_warning ? _("warning"): _("error"), + error (_("%s: %s"), is_warning ? _("warning"): _("error"), errtext); free (errtext); } |