[Target/Mips] Add test associated with r305949.

llvm-svn: 305950
This commit is contained in:
Davide Italiano 2017-06-21 20:42:34 +00:00
parent 75ed943def
commit cae62546ac
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
# Check that .rdata sections have proper name, flags, and section types.
# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o - \
# RUN: | llvm-readobj -s | FileCheck %s
.rdata
.word 0
# CHECK: Name: .rodata
# CHECK-NEXT: Type: SHT_PROGBITS
# CHECK-NEXT: Flags [ (0x2)
# CHECK-NEXT: SHF_ALLOC
# CHECK-NEXT: ]