PR28751 mbind2a / mbind2b regressions on powerpc*-linux
[binutils-gdb.git] / ld / testsuite / ld-ctf / diag-cuname.d
1 #as:
2 #source: diag-cuname.s
3 #objdump: --ctf
4 #ld: -shared --ctf-variables
5 #name: Diagnostics - Invalid CU name offset
6
7 .*: +file format .*
8
9 Contents of CTF section .ctf:
10
11 Header:
12 Magic number: 0xdff2
13 Version: 4 \(CTF_VERSION_3\)
14 #...
15 Compilation unit name: \(\?\)
16 #...
17 Data object section: .*
18 Type section: .*
19 String section: .*
20
21 Labels:
22
23 Data objects:
24 a -> 0x[0-9a-f]*: \(kind 6\) struct A \(size 0x[0-9a-f]*\) \(aligned at 0x[0-9a-f]*\)
25 #...
26 Function objects:
27
28 Variables:
29
30 Types:
31 #...
32 0x[0-9a-f]*: \(kind 6\) struct A \(.*
33 *\[0x0\] b: ID 0x[0-9a-f]*: \(kind 3\) struct B \* \(.*
34 #...
35 Strings:
36 0x0:
37 #...
38 0x[0-9a-f]*: \(\?\)
39 #...