2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3 # RUN: echo "SECTIONS { abc : { *(foo) *(bar) *(zed) } }" > %t.script
4 # RUN: ld.lld -o %t --script %t.script %t.o -shared
5 # RUN: llvm-readobj -S --section-data %t | FileCheck %s
10 # CHECK-NEXT: Type: SHT_PROGBIT
12 # CHECK-NEXT: SHF_ALLOC
13 # CHECK-NEXT: SHF_MERGE
14 # CHECK-NEXT: SHF_STRINGS
16 # CHECK-NEXT: Address:
21 # CHECK-NEXT: AddressAlignment:
22 # CHECK-NEXT: EntrySize:
23 # CHECK-NEXT: SectionData (
24 # CHECK-NEXT: 0000: 01000000 00000000 61626331 32330002 |........abc123..|
25 # CHECK-NEXT: 0010: 00000000 000000 |.......|
32 .section bar,"aMS",@progbits,1