2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3 # RUN: echo "SECTIONS { }" > %t.script
4 # RUN: ld.lld -T %t.script %t.o -o %t
5 # RUN: llvm-readobj -S -l %t | FileCheck %s
8 # CHECK-NEXT: Type: SHT_NOBITS
10 # CHECK-NEXT: SHF_ALLOC
12 # CHECK-NEXT: SHF_WRITE
14 # CHECK-NEXT: Address:
19 # CHECK-NEXT: AddressAlignment:
20 # CHECK-NEXT: EntrySize:
22 # CHECK-NEXT: Section {
24 # CHECK-NEXT: Name: foo
25 # CHECK-NEXT: Type: SHT_NOBITS
27 # CHECK-NEXT: SHF_ALLOC
29 # CHECK-NEXT: SHF_WRITE
31 # CHECK-NEXT: Address:
37 # CHECK-NEXT: VirtualAddress:
38 # CHECK-NEXT: PhysicalAddress:
39 # CHECK-NEXT: FileSize: 0
40 # CHECK-NEXT: MemSize: 9
42 .section .tbss,"awT",@nobits
44 .section foo,"awT",@nobits