Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / bolt / test / RISCV / Inputs / tls-le-gnu-ld.yaml
blobfeec407ffdfdaf35ffa7f69602aa1dd48b185cec
1 --- !ELF
2 FileHeader:
3   Class:           ELFCLASS64
4   Data:            ELFDATA2LSB
5   Type:            ET_EXEC
6   Machine:         EM_RISCV
7   Entry:           0x100B0
8 ProgramHeaders:
9   - Type:            PT_LOAD
10     Flags:           [ PF_X, PF_R ]
11     FirstSec:        .text
12     LastSec:         .text
13     VAddr:           0x10000
14     Align:           0x1000
15     Offset:          0x0
16   - Type:            PT_TLS
17     Flags:           [ PF_R ]
18     FirstSec:        .tbss
19     LastSec:         .tbss
20     VAddr:           0x110C0
21     Align:           0x8
22     Offset:          0xc0
23 Sections:
24   - Name:            .text
25     Type:            SHT_PROGBITS
26     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
27     Address:         0x100B0
28     AddressAlign:    0x4
29     Content:         '13000000832202002320520067800000'
30   - Name:            .tbss
31     Type:            SHT_NOBITS
32     Flags:           [ SHF_WRITE, SHF_ALLOC, SHF_TLS ]
33     Address:         0x110C0
34     AddressAlign:    0x8
35     Size:            0x8
36   - Name:            .rela.text
37     Type:            SHT_RELA
38     Flags:           [ SHF_INFO_LINK ]
39     Link:            .symtab
40     AddressAlign:    0x8
41     Info:            .text
42     Relocations:
43       - Offset:          0x100B4
44         Type:            R_RISCV_NONE
45       - Offset:          0x100B4
46         Type:            R_RISCV_RELAX
47       - Offset:          0x100B4
48         Type:            R_RISCV_NONE
49       - Offset:          0x100B4
50         Type:            R_RISCV_RELAX
51       - Offset:          0x100B4
52         Symbol:          i
53         Type:            0x31
54       - Offset:          0x100B4
55         Type:            R_RISCV_RELAX
56       - Offset:          0x100B8
57         Symbol:          i
58         Type:            0x32
59       - Offset:          0x100B8
60         Type:            R_RISCV_RELAX
61   - Type:            SectionHeaderTable
62     Sections:
63       - Name:            .text
64       - Name:            .rela.text
65       - Name:            .tbss
66       - Name:            .symtab
67       - Name:            .strtab
68       - Name:            .shstrtab
69 Symbols:
70   - Name:            .text
71     Type:            STT_SECTION
72     Section:         .text
73     Value:           0x100B0
74   - Name:            .tbss
75     Type:            STT_SECTION
76     Section:         .tbss
77     Value:           0x110C0
78   - Name:            '__global_pointer$'
79     Index:           SHN_ABS
80     Binding:         STB_GLOBAL
81     Value:           0x118C0
82   - Name:            i
83     Type:            STT_TLS
84     Section:         .tbss
85     Binding:         STB_GLOBAL
86     Size:            0x8
87   - Name:            _start
88     Section:         .text
89     Binding:         STB_GLOBAL
90     Value:           0x100B0
91     Size:            0x10
92 ...