1 2 # RUN: llvm-mc -triple powerpc-unknown-unknown -filetype=obj %s | \ 3 # RUN: llvm-readobj -s -sd | FileCheck %s 4 # RUN: llvm-mc -triple powerpc64-unknown-unknown -filetype=obj %s | \ 5 # RUN: llvm-readobj -s -sd | FileCheck %s 6 7 .data 8 .word 0 9 10 # CHECK: Section { 11 # CHECK: Name: .data 12 # CHECK-NEXT: Type: SHT_PROGBITS 13 # CHECK-NEXT: Flags [ 14 # CHECK-NEXT: SHF_ALLOC 15 # CHECK-NEXT: SHF_WRITE 16 # CHECK-NEXT: ] 17 # CHECK-NEXT: Address: 0x0 18 # CHECK-NEXT: Offset: 19 # CHECK-NEXT: Size: 2 20 # CHECK-NEXT: Link: 0 21 # CHECK-NEXT: Info: 0 22 # CHECK-NEXT: AddressAlignment: 4 23 # CHECK-NEXT: EntrySize: 0 24 # CHECK-NEXT: SectionData ( 25 # CHECK-NEXT: 0000: 0000 26 # CHECK-NEXT: ) 27 # CHECK-NEXT: } 28 29