forked from Imagelibrary/binutils-gdb
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:
@@ -2,4 +2,4 @@
|
||||
#source: diag-ctf-version-f.s
|
||||
#ld: -shared
|
||||
#name: Diagnostics - Unsupported CTF version
|
||||
#warning: CTF section .* not loaded; its types will be discarded: .CTF dict version is too new for libctf.
|
||||
#warning: CTF section .* not loaded; its types will be discarded: CTF dict version is too new for libctf
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
#source: diag-cttname-invalid.s
|
||||
#ld: -shared
|
||||
#name: Diagnostics - Invalid type name.
|
||||
#warning: CTF section in .*not loaded; its types will be discarded: .String name offset is corrupt.
|
||||
#warning: CTF section in .*not loaded; its types will be discarded: String name offset is corrupt
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
#source: diag-decompression-failure.s
|
||||
#ld: -shared
|
||||
#name: Diagnostics - Decompression failure
|
||||
#warning: CTF section.* not loaded; its types will be discarded: .Failed to decompress CTF data.
|
||||
#warning: CTF section.* not loaded; its types will be discarded: Failed to decompress CTF data
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
#source: diag-parname.s
|
||||
#ld: -shared --ctf-variables
|
||||
#name: Diagnostics - No parent dictionary
|
||||
#warning: CTF linking failed; output will have no CTF section: .The parent CTF dictionary is unavailable.
|
||||
#warning: CTF linking failed; output will have no CTF section: The parent CTF dictionary is unavailable
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
#source: diag-unsupported-flag.s
|
||||
#ld: -shared
|
||||
#name: Diagnostics - Unsupported flag
|
||||
#warning: CTF section.* not loaded; its types will be discarded: .CTF header contains flags unknown to libctf.
|
||||
#warning: CTF section.* not loaded; its types will be discarded: CTF header contains flags unknown to libctf
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#source: B.c
|
||||
#ld: -shared --ctf-variables
|
||||
#name: Diagnostics - Wrong magic number mixed with valid CTF sections
|
||||
#warning: CTF section in .* not loaded; its types will be discarded: .Buffer does not contain CTF data.
|
||||
#warning: CTF section in .* not loaded; its types will be discarded: Buffer does not contain CTF data
|
||||
|
||||
.*: +file format .*
|
||||
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
#source: diag-wrong-magic-number.s
|
||||
#ld: -shared
|
||||
#name: Diagnostics - Wrong magic number
|
||||
#warning: CTF section in .* not loaded; its types will be discarded: .Buffer does not contain CTF data.
|
||||
#warning: CTF section in .* not loaded; its types will be discarded: Buffer does not contain CTF data
|
||||
|
||||
Reference in New Issue
Block a user