ld: Update function prototypes for compilers defaulting to -std=gnu23
[binutils-gdb.git] / ld / testsuite / ld-ctf / data-func-conflicted.d
blobb0db511a987c34b1c293308df67fb19cf42a6fca
1 #as:
2 #cc: -O2
3 #source: data-func-1.c
4 #source: data-func-2.c
5 #objdump: --ctf
6 #ld: -shared -s
7 #name: Conflicted data syms, partially indexed, stripped
9 .*: +file format .*
11 Contents of CTF section \.ctf:
13 Header:
14 Magic number: 0xdff2
15 Version: 4 \(CTF_VERSION_3\)
16 #...
17 Data object section: .* \(0x[1-9a-f][0-9a-f]* bytes\)
18 Function info section: .* \(0x[1-9a-f][0-9a-f]* bytes\)
19 Object index section: .* \(0xc bytes\)
20 Type section: .* \(0x118 bytes\)
21 String section: .*
22 #...
23 Data objects:
24 bar -> 0x[0-9a-f]*: \(kind 6\) struct var_3 \(size 0x[0-9a-f]*\) \(aligned at 0x[0-9a-f]*\)
25 var_1 -> 0x[0-9a-f]*: \(kind 10\) foo_t \(size 0x[0-9a-f]*\) \(aligned at 0x[0-9a-f]*\) -> .*
26 var_666 -> 0x[0-9a-f]*: \(kind 3\) foo_t \* \(size 0x[0-9a-f]*\) \(aligned at 0x[0-9a-f]*\) -> .*
28 Function objects:
29 func_[0-9]* -> 0x[0-9a-f]*: \(kind 5\) void \*\(\*\) \(const char \*restrict, int \(\*\)\(\*\) \(const char \*\)\) \(aligned at 0x[0-9a-f]*\)
30 #...
31 Types:
32 #...
33 .*: \(kind 6\) struct var_3 .*
34 #...
35 CTF archive member: .*/data-func-1\.c:
37 Header:
38 Magic number: 0xdff2
39 Version: 4 \(CTF_VERSION_3\)
40 #...
41 Parent name: \.ctf
42 Compilation unit name: .*/data-func-1\.c
43 Data object section: .* \(0x[1-9a-f][0-9a-f]* bytes\)
44 Type section: .* \(0xc bytes\)
45 String section: .*
47 Labels:
49 Data objects:
50 var_[0-9]* -> 0x80000001*: \(kind 10\) foo_t \(size 0x[0-9a-f]*\) \(aligned at 0x[0-9a-f]*\) -> .*
51 var_[0-9]* -> 0x80000001*: \(kind 10\) foo_t \(size 0x[0-9a-f]*\) \(aligned at 0x[0-9a-f]*\) -> .*
52 var_[0-9]* -> 0x80000001*: \(kind 10\) foo_t \(size 0x[0-9a-f]*\) \(aligned at 0x[0-9a-f]*\) -> .*
53 var_[0-9]* -> 0x80000001*: \(kind 10\) foo_t \(size 0x[0-9a-f]*\) \(aligned at 0x[0-9a-f]*\) -> .*
54 var_[0-9]* -> 0x80000001*: \(kind 10\) foo_t \(size 0x[0-9a-f]*\) \(aligned at 0x[0-9a-f]*\) -> .*
55 var_[0-9]* -> 0x80000001*: \(kind 10\) foo_t \(size 0x[0-9a-f]*\) \(aligned at 0x[0-9a-f]*\) -> .*
56 var_[0-9]* -> 0x80000001*: \(kind 10\) foo_t \(size 0x[0-9a-f]*\) \(aligned at 0x[0-9a-f]*\) -> .*
57 var_[0-9]* -> 0x80000001*: \(kind 10\) foo_t \(size 0x[0-9a-f]*\) \(aligned at 0x[0-9a-f]*\) -> .*
58 #...
59 Function objects:
61 Variables:
63 Types:
64 0x80000001: \(kind 10\) foo_t .* -> .* int .*
65 #...