libctf, ld: fix test results for upstream GCC
[deliverable/binutils-gdb.git] / ld / testsuite / ld-ctf / cross-tu-cyclic-conflicting.d
1 # Check that types with the same names in distinct TUs show up as
2 # conflicting.
3 #as:
4 #source: cross-tu-cyclic-1.c
5 #source: cross-tu-cyclic-2.c
6 #objdump: --ctf=.ctf
7 #ld: -shared
8 #name: cross-TU-cyclic-conflicting
9
10 .*: file format .*
11
12 Contents of CTF section \.ctf:
13
14 #...
15 Types:
16 #...
17 0x[0-9a-f]*: \(kind 6\) struct B .*
18 #...
19 0x[0-9a-f]*: \(kind 1\) int \(format 0x1\) \(size 0x[0-9a-f]*\) \(aligned at 0x[0-9a-f]*\)
20 #...
21 0x[0-9a-f]*: \(kind 1\) long int \(format 0x1\) \(size 0x[0-9a-f]*\) \(aligned at 0x[0-9a-f]*\)
22 #...
23 0x[0-9a-f]*: \(kind 9\) struct A
24 #...
25 0x[0-9a-f]*: \(kind 6\) struct C .*
26 #...
27
28 Strings:
29 #...
30
31 CTF archive member: .*/ld/testsuite/ld-ctf/cross-tu-cyclic-1\.c:
32 #...
33 Types:
34 0x80[0-9a-f]*: \(kind 6\) struct A .*
35 *\[0x0\] a: ID 0x[0-9a-f]*: \(kind 1\) long int .*
36 *\[0x[0-9a-f]*\] foo: ID 0x[0-9a-f]*\: \(kind 3\) struct B \* .*
37
38 Strings:
39 #...
40
41 CTF archive member: .*/ld/testsuite/ld-ctf/cross-tu-cyclic-2\.c:
42 #...
43 Types:
44 0x80[0-9a-f]*: \(kind 6\) struct A .*
45 *\[0x0\] a: ID 0x[0-9a-f]*: \(kind 1\) long int .*
46 *\[0x[0-9a-f]*\] foo: ID 0x[0-9a-f]*: \(kind 3\) struct B \* .*
47 *\[0x[0-9a-f]*\] bar: ID 0x[0-9a-f]*: \(kind 3\) struct C \* .*
48
49 Strings:
50 #...
This page took 0.03783 seconds and 4 git commands to generate.