mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
5e9b84f7a2
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.
40 lines
823 B
Makefile
40 lines
823 B
Makefile
#as:
|
|
#source: diag-wrong-magic-number.s
|
|
#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
|
|
|
|
.*: +file format .*
|
|
|
|
Contents of CTF section .ctf:
|
|
|
|
Header:
|
|
Magic number: dff2
|
|
Version: 4 \(CTF_VERSION_3\)
|
|
Variable section: 0x0 -- 0x17 \(0x18 bytes\)
|
|
Type section: 0x18 -- 0x83 \(0x6c bytes\)
|
|
String section: .*
|
|
|
|
Labels:
|
|
|
|
Data objects:
|
|
|
|
Function objects:
|
|
|
|
Variables:
|
|
#...
|
|
b -> [0-9a-f]*: struct B \(.*
|
|
#...
|
|
Types:
|
|
#...
|
|
[0-9a-f]*: struct B \(.*
|
|
\[0x0\] \(ID 0x[0-9a-f]*\) \(kind 6\) struct B \(.*
|
|
\[0x0\] \(ID 0x[0-9a-f]*\) \(kind 3\) struct C \* c \(.*
|
|
#...
|
|
Strings:
|
|
0:
|
|
#...
|
|
[0-9a-f]*: B
|
|
#...
|