1 # Check that .sdata and .sbss sections have SHF_MIPS_GPREL flags
2 # and proper section types.
4 # RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o - \
5 # RUN: | llvm-readobj -S | FileCheck %s
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
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