libctf: impose an ordering on conflicting types
[binutils-gdb.git] / ld / testsuite / ld-ctf / array-extern.d
1 #as:
2 #source: array-char.c
3 #source: array-extern.c
4 #objdump: --ctf
5 #ld: -shared --ctf-variables --hash-style=sysv
6 #name: Arrays (extern)
7
8 .*: +file format .*
9
10 Contents of CTF section .ctf:
11
12 Header:
13 Magic number: 0xdff2
14 Version: 4 \(CTF_VERSION_3\)
15 #...
16 Data object section: .* \(0x[1-9a-f][0-9a-f]* bytes\)
17 Type section: .* \(0x44 bytes\)
18 String section: .*
19
20 Labels:
21
22 Data objects:
23 digits_names -> 0x[0-9a-f]*: \(kind 4\) char \*\[10\] .*
24
25 Function objects:
26
27 Variables:
28
29 Types:
30 #...
31 0x[0-9a-f]*: \(kind 4\) .*\[10\] \(size .*
32 #...