[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / Object / X86 / yaml2obj-elf-x86-rel.yaml
blobd0e69305081fb2466e6d2a21e0c930fd6656a372
1 # RUN: yaml2obj %s > %t
2 # RUN: llvm-readobj -r %t | FileCheck %s
4 # CHECK:      Relocations [
5 # CHECK-NEXT:   Section (2) .rel.text {
6 # CHECK-NEXT:     0x0 R_386_32 main 0x0
7 # CHECK-NEXT:   }
8 # CHECK-NEXT: ]
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       - Offset:          0
29         Symbol:          main
30         Type:            R_386_32
32 Symbols:
33   - Name:            .text
34     Type:            STT_SECTION
35     Section:         .text
36   - Name:            main
37     Type:            STT_FUNC
38     Section:         .text
39     Size:            0x08
40     Binding:         STB_GLOBAL