forked from Imagelibrary/binutils-gdb
This is just allowing for changes in objdump itself -- the actual test results cannot be adjusted until either CTFv4 is emitted or back-compatibility upgrading is implemented (or, preferably, both, plus testing of a subset of them with -gbtf as well).
41 lines
844 B
Makefile
41 lines
844 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 type section .ctf:
|
|
|
|
Header:
|
|
Magic number: 0xdff2
|
|
Version: 5 \(CTF_VERSION_4\)
|
|
#...
|
|
Variable section: 0x0 -- 0x17 \(0x18 bytes\)
|
|
Type section: 0x18 -- 0x83 \(0x6c bytes\)
|
|
String section: .*
|
|
|
|
Labels:
|
|
|
|
Data objects:
|
|
|
|
Function objects:
|
|
|
|
Variables:
|
|
#...
|
|
b -> 0x[0-9a-f]*: struct B \(.*
|
|
#...
|
|
Types:
|
|
#...
|
|
0x[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:
|
|
0x0:
|
|
#...
|
|
0x[0-9a-f]*: B
|
|
#...
|