[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / Mips / mips-rdata.s
blob0ed9301d549e0a79b140d545d0f75db09c495763
1 # Check that .rdata sections have proper name, flags, and section types.
3 # RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o - \
4 # RUN: | llvm-readobj -S - | FileCheck %s
6 .rdata
7 .word 0
9 # CHECK: Name: .rodata
10 # CHECK-NEXT: Type: SHT_PROGBITS
11 # CHECK-NEXT: Flags [ (0x2)
12 # CHECK-NEXT: SHF_ALLOC
13 # CHECK-NEXT: ]