summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ctf/conflicting-typedefs.d
blob: 4ae8de413640dd63ffbc490488cabd1da19ecc8b (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
#as:
#source: typedef-int.c
#source: typedef-long.c
#objdump: --ctf
#ld: -shared
#name: Conflicting Typedefs

.*: +file format .*

Contents of CTF section .ctf:

  Header:
    Magic number: 0xdff2
    Version: 4 \(CTF_VERSION_3\)
#...
  Types:
    0x1: .*int .*
    0x[0-9]:.*int .*
    0x[0-9]: \(kind 10\) word .* -> 0x[0-9]: \(kind 1\) .*int \(format 0x1\) \(size 0x[0-9a-f]*\) \(aligned at 0x[0-9a-f]*\)

  Strings:
#...
CTF archive member: .*typedef.*\.c:
#...
  Types:
    0x80000001: \(kind 10\) word .* -> 0x[0-9]: \(kind 1\) .*int \(format 0x1\) \(size 0x[0-9a-f]*\) \(aligned at 0x[0-9a-f]*\)

  Strings:
#...