repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[Coverage] MCDC: Move findIndependencePairs deferred into MCDCRecord (#121188)
[llvm-project.git]
/
llvm
/
test
/
Object
/
X86
/
yaml2obj-elf-x86-rel.yaml
blob
5d9f33ed9faaacf4748f6d160885dc51103f703c
1
# RUN: yaml2obj %s -o %t
2
# RUN: llvm-readobj -r %t | FileCheck %s
3
4
# CHECK: Relocations [
5
# CHECK-NEXT: Section (2) .rel.text {
6
# CHECK-NEXT: 0x0 R_386_32 main
7
# CHECK-NEXT: }
8
# CHECK-NEXT: ]
9
10
!ELF
11
FileHeader:
12
Class: ELFCLASS32
13
Data: ELFDATA2LSB
14
Type: ET_REL
15
Machine: EM_386
16
Sections:
17
- Type: SHT_PROGBITS
18
Name: .text
19
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
20
AddressAlign: 0x04
21
Content: 0000000000000000
22
- Type: SHT_REL
23
Name: .rel.text
24
Link: .symtab
25
Info: .text
26
AddressAlign: 0x04
27
Relocations:
28
- Symbol: main
29
Type: R_386_32
30
31
Symbols:
32
- Name: .text
33
Type: STT_SECTION
34
Section: .text
35
- Name: main
36
Type: STT_FUNC
37
Section: .text
38
Size: 0x08
39
Binding: STB_GLOBAL