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
[llvm-nm] - Fix a bug and unbreak ASan BB.
[llvm-complete.git]
/
test
/
Object
/
X86
/
yaml-elf-x86-rel-broken.yaml
blob
05572675d1c2e750c0109f8b49f50824f28e2d23
1
# RUN: yaml2obj %s > %t
2
# RUN: obj2yaml %t | FileCheck %s
3
4
# CHECK: Relocations:
5
# CHECK-NEXT: - Offset:
6
# CHECK-NEXT: Symbol:
7
# CHECK-NEXT: Type: 0x000000FF
8
9
!ELF
10
FileHeader:
11
Class: ELFCLASS32
12
Data: ELFDATA2LSB
13
Type: ET_REL
14
Machine: EM_386
15
Sections:
16
- Type: SHT_PROGBITS
17
Name: .text
18
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
19
AddressAlign: 0x04
20
Content: 0000000000000000
21
- Type: SHT_REL
22
Name: .rel.text
23
Link: .symtab
24
Info: .text
25
AddressAlign: 0x04
26
Relocations:
27
- Offset: 0
28
Symbol: main
29
Type: 0xFF
30
Symbols:
31
- Name: main
32
Binding: STB_GLOBAL