]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-ctf/array.d
ld: do not rely on the exact size of the CTF symtypetabs in test results
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-ctf / array.d
1 #as:
2 #source: array-char.c
3 #source: array-int.c
4 #objdump: --ctf=.ctf
5 #ld: -shared --ctf-variables --hash-style=sysv
6 #name: Arrays
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: .* \(0x5c bytes\)
18 String section: .*
19
20 Labels:
21
22 Data objects:
23 digits -> 0x[0-9a-f]*: \(kind 4\) int \[10\] .*
24 digits_names -> 0x[0-9a-f]*: \(kind 4\) char \*\[10\] .*
25
26 Function objects:
27
28 Variables:
29
30 Types:
31 #...
32 0x[0-9a-f]*: \(kind 4\) .*\[10\] \(size .*
33 #...
34 0x[0-9a-f]*: \(kind 4\) .*\[10\] \(size .*
35 #...