Use Align for TFL::TransientStackAlignment
[llvm-core.git] / test / CodeGen / Mips / mips-shf-gprel.s
blob0228a3fa24b5954dc549a45f6a7b5feb9a60916f
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
7 .sdata
8 .word 0
10 .sbss
11 .zero 4
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: ]
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: ]