1# Check that .sdata and .sbss sections have SHF_MIPS_GPREL flags 2# and proper section types. 3 4# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o - \ 5# RUN: | llvm-readobj -s | FileCheck %s 6 7 .sdata 8 .word 0 9 10 .sbss 11 .zero 4 12 13# CHECK: Name: .sdata 14# CHECK-NEXT: Type: SHT_PROGBITS 15# CHECK-NEXT: Flags [ (0x10000003) 16# CHECK-NEXT: SHF_ALLOC 17# CHECK-NEXT: SHF_MIPS_GPREL 18# CHECK-NEXT: SHF_WRITE 19# CHECK-NEXT: ] 20 21# CHECK: Name: .sbss 22# CHECK-NEXT: Type: SHT_NOBITS 23# CHECK-NEXT: Flags [ (0x10000003) 24# CHECK-NEXT: SHF_ALLOC 25# CHECK-NEXT: SHF_MIPS_GPREL 26# CHECK-NEXT: SHF_WRITE 27# CHECK-NEXT: ] 28