aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ctf/array.d
blob: e07d63e22435437cf4966016caf5dffd782a5462 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#as:
#source: array-char.c
#source: array-int.c
#objdump: --ctf=.ctf
#ld: -shared --ctf-variables --hash-style=sysv
#name: Arrays

.*: +file format .*

Contents of CTF section .ctf:

  Header:
    Magic number: 0xdff2
    Version: 4 \(CTF_VERSION_3\)
#...
    Data object section:	.* \(0x8 bytes\)
    Type section:	.* \(0x5c bytes\)
    String section:	.*

  Labels:

  Data objects:
    digits -> int \[10\]
    digits_names -> char \*\[10\]

  Function objects:

  Variables:

  Types:
#...
     0x[0-9a-f]*: .*\[10\] .*
#...
     0x[0-9a-f]*: .*\[10\] .*
#...