]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ld-ctf/array.d
libctf, ld: fix test results for upstream GCC
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-ctf / array.d
CommitLineData
b1b33524
EB
1#as:
2#source: array-char.c
3#source: array-int.c
4#objdump: --ctf=.ctf
0ad70c53 5#ld: -shared --ctf-variables --hash-style=sysv
b1b33524
EB
6#name: Arrays
7
8.*: +file format .*
9
10Contents of CTF section .ctf:
11
12 Header:
57f97d0e 13 Magic number: 0xdff2
b1b33524 14 Version: 4 \(CTF_VERSION_3\)
0ad70c53 15#...
8592be8c 16 Data object section: .* \(0x[1-9a-f][0-9a-f]* bytes\)
ae064303 17 Type section: .* \(0x6c bytes\)
b1b33524
EB
18 String section: .*
19
20 Labels:
21
22 Data objects:
37002871
NA
23 digits -> 0x[0-9a-f]*: \(kind 4\) int \[10\] .*
24 digits_names -> 0x[0-9a-f]*: \(kind 4\) char \*\[10\] .*
b1b33524
EB
25
26 Function objects:
27
28 Variables:
b1b33524
EB
29
30 Types:
31#...
37002871 32 0x[0-9a-f]*: \(kind 4\) .*\[10\] \(size .*
b1b33524 33#...
37002871 34 0x[0-9a-f]*: \(kind 4\) .*\[10\] \(size .*
b1b33524 35#...