We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75ed943 commit cae6254Copy full SHA for cae6254
llvm/test/CodeGen/Mips/mips-rdata.s
@@ -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