forked from OSchip/llvm-project
20 lines
432 B
Plaintext
20 lines
432 B
Plaintext
|
# RUN: yaml2obj -format elf %s -o %t
|
||
|
# RUN: ld.lld2 %t -o %tout
|
||
|
|
||
|
# Verify that lld can handle sections with an alignment of zero.
|
||
|
|
||
|
FileHeader:
|
||
|
Class: ELFCLASS64
|
||
|
Data: ELFDATA2LSB
|
||
|
Type: ET_REL
|
||
|
Machine: EM_X86_64
|
||
|
Sections:
|
||
|
- Name: .text
|
||
|
Type: SHT_PROGBITS
|
||
|
AddressAlign: 0
|
||
|
|
||
|
Symbols:
|
||
|
Global:
|
||
|
- Name: _start
|
||
|
Section: .text
|