]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/section-align-0.test
Vendor import of lld trunk r338150:
[FreeBSD/FreeBSD.git] / test / ELF / section-align-0.test
1 # RUN: yaml2obj %s -o %t
2 # RUN: ld.lld %t -o /dev/null
3
4 # Verify that lld can handle sections with an alignment of zero.
5
6 !ELF
7 FileHeader:
8   Class:           ELFCLASS64
9   Data:            ELFDATA2LSB
10   Type:            ET_REL
11   Machine:         EM_X86_64
12 Sections:
13   - Name:            .text
14     Type:            SHT_PROGBITS
15     AddressAlign:    0
16
17 Symbols:
18   Global:
19     - Name:            _start
20       Section:         .text