brintos

brintos / llvm-project-archived public Read only

0
0
Text · 630 B · 51a513a Raw
28 lines · plain
1# Check that .sdata and .sbss sections have SHF_MIPS_GPREL flags2# and proper section types.3 4# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o - \5# RUN:   | llvm-readobj -S - | FileCheck %s6 7  .sdata8  .word 09 10  .sbss11  .zero 412 13# CHECK:      Name: .sdata14# CHECK-NEXT: Type: SHT_PROGBITS15# CHECK-NEXT: Flags [ (0x10000003)16# CHECK-NEXT:   SHF_ALLOC17# CHECK-NEXT:   SHF_MIPS_GPREL18# CHECK-NEXT:   SHF_WRITE19# CHECK-NEXT: ]20 21# CHECK:      Name: .sbss22# CHECK-NEXT: Type: SHT_NOBITS23# CHECK-NEXT: Flags [ (0x10000003)24# CHECK-NEXT:   SHF_ALLOC25# CHECK-NEXT:   SHF_MIPS_GPREL26# CHECK-NEXT:   SHF_WRITE27# CHECK-NEXT: ]28