2 # Check order of gp-relative sections, i.e. sections with SHF_MIPS_GPREL flag.
4 # RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t.o
5 # RUN: ld.lld %t.o -shared -o %t.so
6 # RUN: llvm-readobj -S %t.so | FileCheck %s
16 # CHECK-NEXT: Type: SHT_PROGBITS
18 # CHECK-NEXT: SHF_ALLOC
19 # CHECK-NEXT: SHF_MIPS_GPREL
20 # CHECK-NEXT: SHF_WRITE
22 # CHECK-NEXT: Address:
27 # CHECK-NEXT: Name: .sdata
28 # CHECK-NEXT: Type: SHT_PROGBITS
30 # CHECK-NEXT: SHF_ALLOC
31 # CHECK-NEXT: SHF_MIPS_GPREL
32 # CHECK-NEXT: SHF_WRITE
34 # CHECK-NEXT: Address: