• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# REQUIRES: x86
2
3# RUN: yaml2obj %s -o %t.o
4
5# Test that we accept a zero sh_entsize for SHF_MERGE section.
6# RUN: ld.lld %t.o -o %t.exe
7
8!ELF
9FileHeader:
10  Class:           ELFCLASS64
11  Data:            ELFDATA2LSB
12  OSABI:           ELFOSABI_FREEBSD
13  Type:            ET_REL
14  Machine:         EM_X86_64
15Sections:
16  - Type:            SHT_PROGBITS
17    Name:            .strings
18    Flags:           [ SHF_ALLOC, SHF_MERGE, SHF_STRINGS ]
19    AddressAlign:    0x04
20    Content:         "FFFFFFFFFFFFFFFF"
21    EntSize:         0x0
22