compress-debug-sections.yaml
1.69 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
--- !ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_REL
Machine: EM_X86_64
Sections:
- Name: .debug_foo
Type: SHT_PROGBITS
Content: 0000000000000000
- Name: .notdebug_foo
Type: SHT_PROGBITS
Content: 0000000000000000
- Name: .rela.debug_foo
Type: SHT_RELA
Info: .debug_foo
Relocations:
- Offset: 0x1
Symbol: 1
Type: R_X86_64_32
- Offset: 0x2
Symbol: 2
Type: R_X86_64_32
## This section should not be involved in relocations.
- Name: .debug_bar
Type: SHT_PROGBITS
Content: 0000000000000000
- Name: .group
Type: SHT_GROUP
Link: .symtab
AddressAlign: 4
EntSize: 0x0000000000000004
Info: groupname
Members:
- SectionOrType: GRP_COMDAT
- SectionOrType: .text.in.group
- SectionOrType: .debug_in_group
- Name: .text.in.group
Type: SHT_PROGBITS
Flags: [ SHF_ALLOC, SHF_EXECINSTR, SHF_GROUP ]
Content: '00'
- Name: .debug_in_group
Type: SHT_PROGBITS
Flags: [ SHF_GROUP ]
Content: '00'
Symbols:
- Type: STT_SECTION
Section: .debug_foo
Binding: STB_GLOBAL
- Type: STT_SECTION
Section: .notdebug_foo
Binding: STB_GLOBAL
- Name: .Linfo_string0
Section: .debug_bar
Binding: STB_GLOBAL
- Name: groupname
Section: .group
Binding: STB_GLOBAL
...