bolt/deps/llvm-18.1.8/lld/test/ELF/section-align-0.test
2025-02-14 19:21:04 +01:00

20 lines
440 B
Text

# 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