mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-10 01:52:28 +08:00
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.
This commit is contained in:
@ -4083,7 +4083,7 @@ dump_ctf_errs (ctf_file_t *fp)
|
||||
/* Dump accumulated errors and warnings. */
|
||||
while ((errtext = ctf_errwarning_next (fp, &it, &is_warning, &err)) != NULL)
|
||||
{
|
||||
non_fatal (_("%s: `%s'"), is_warning ? _("warning"): _("error"),
|
||||
non_fatal (_("%s: %s"), is_warning ? _("warning"): _("error"),
|
||||
errtext);
|
||||
free (errtext);
|
||||
}
|
||||
|
Reference in New Issue
Block a user