repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git]
/
test
/
tools
/
yaml2obj
/
reloc-sec-info.yaml
blob
9e7901833cf864b7d958dba41f77ccaa52fdde0d
1
# RUN: yaml2obj %s -o %t
2
# RUN: llvm-readobj --sections %t | FileCheck %s
3
4
# CHECK: Name: .rela.text
5
# CHECK-NEXT: Type: SHT_RELA
6
# CHECK-NEXT: Flags [
7
# CHECK-NEXT: ]
8
# CHECK-NEXT: Address:
9
# CHECK-NEXT: Offset:
10
# CHECK-NEXT: Size:
11
# CHECK-NEXT: Link:
12
# CHECK-NEXT: Info: 12345
13
14
--- !ELF
15
FileHeader:
16
Class: ELFCLASS64
17
Data: ELFDATA2LSB
18
Type: ET_REL
19
Machine: EM_X86_64
20
Sections:
21
- Name: .rela.text
22
Type: SHT_RELA
23
Link: .symtab
24
Info: 12345
25
Relocations: