Skip to content

Commit cae6254

Browse files
committed
[Target/Mips] Add test associated with r305949.
llvm-svn: 305950
1 parent 75ed943 commit cae6254

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Check that .rdata sections have proper name, flags, and section types.
2+
3+
# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o - \
4+
# RUN: | llvm-readobj -s | FileCheck %s
5+
6+
.rdata
7+
.word 0
8+
9+
# CHECK: Name: .rodata
10+
# CHECK-NEXT: Type: SHT_PROGBITS
11+
# CHECK-NEXT: Flags [ (0x2)
12+
# CHECK-NEXT: SHF_ALLOC
13+
# CHECK-NEXT: ]

0 commit comments

Comments
 (0)