Files
clang-p2996/lld/test/ELF/section-align-0.test
George Rimar ff3397247f [LLD] - Update the test cases after yaml2obj change.
https://reviews.llvm.org/D60122 (r357595) changed the
symbols description format.

This change updates the LLD tests.

llvm-svn: 357596
2019-04-03 14:54:22 +00:00

21 lines
440 B
Plaintext

# RUN: yaml2obj %s -o %t
# RUN: ld.lld %t -o /dev/null
# Verify that lld can handle sections with an alignment of zero.
!ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_REL
Machine: EM_X86_64
Sections:
- Name: .text
Type: SHT_PROGBITS
AddressAlign: 0
Symbols:
- Name: _start
Section: .text
Binding: STB_GLOBAL