2 # RUN: echo '.section .foo,"a"; .quad 0; .section .zed,"aM",@progbits,1; .byte 0' > %t.s
3 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %t.s -o %t.o
6 ram (rwx): org = 0x1, len = 96K
19 # RUN: ld.lld %t.o -o %t --script %s
20 # RUN: llvm-readobj --sections %t | FileCheck %s
23 # CHECK-NEXT: Type: SHT_PROGBITS
25 # CHECK-NEXT: SHF_ALLOC
27 # CHECK-NEXT: Address: 0x8
28 # CHECK-NEXT: Offset: 0x1008
32 # CHECK-NEXT: Type: SHT_PROGBITS
34 # CHECK-NEXT: SHF_ALLOC
35 # CHECK-NEXT: SHF_MERGE
37 # CHECK-NEXT: Address: 0x10
38 # CHECK-NEXT: Offset: 0x1010
42 # CHECK-NEXT: Type: SHT_PROGBITS
44 # CHECK-NEXT: SHF_ALLOC
45 # CHECK-NEXT: SHF_EXECINSTR
47 # CHECK-NEXT: Address: 0x14
48 # CHECK-NEXT: Offset: 0x1014
51 # CHECK: Name: .comment
52 # CHECK-NEXT: Type: SHT_PROGBITS
54 # CHECK-NEXT: SHF_MERGE
55 # CHECK-NEXT: SHF_STRINGS
57 # CHECK-NEXT: Address: 0x0
58 # CHECK-NEXT: Offset: 0x1014