Home | History | Annotate | Download | only in yaml2obj
      1 # Just make sure this isn't an error even though it has no Symbol
      2 # RUN: yaml2obj %s
      3 
      4 !ELF
      5 FileHeader:
      6   Class:           ELFCLASS64
      7   Data:            ELFDATA2LSB
      8   Type:            ET_EXEC
      9   Machine:         EM_X86_64
     10 Sections:
     11   - Name:            .text
     12     Type:            SHT_PROGBITS
     13     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
     14     Content:         "00000000"
     15   - Name:            .rel.text
     16     Type:            SHT_REL
     17     Link:            .symtab
     18     Info:            .text
     19     Relocations:
     20       - Offset: 0x1000
     21         Type:   R_X86_64_RELATIVE
     22