[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / Mips / mips64r5 / abiflags.s
blob71253eeb4135c3ce7c2586ec5d5549db38901a60
1 # RUN: llvm-mc %s -arch=mips -mcpu=mips64r5 -target-abi n64 | \
2 # RUN: FileCheck %s -check-prefix=CHECK-ASM
4 # RUN: llvm-mc %s -arch=mips -mcpu=mips64r5 -target-abi n64 -filetype=obj -o - | \
5 # RUN: llvm-readobj --sections --section-data --section-relocations - | \
6 # RUN: FileCheck %s -check-prefix=CHECK-OBJ
8 # CHECK-ASM: .module fp=64
10 # Checking if the Mips.abiflags were correctly emitted.
11 # CHECK-OBJ: Section {
12 # CHECK-OBJ: Index: 5
13 # CHECK-OBJ-LABEL: Name: .MIPS.abiflags
14 # CHECK-OBJ: Type: SHT_MIPS_ABIFLAGS (0x7000002A)
15 # CHECK-OBJ: Flags [ (0x2)
16 # CHECK-OBJ: SHF_ALLOC (0x2)
17 # CHECK-OBJ: ]
18 # CHECK-OBJ: Address: 0x0
19 # CHECK-OBJ: Size: 24
20 # CHECK-OBJ: Link: 0
21 # CHECK-OBJ: Info: 0
22 # CHECK-OBJ: AddressAlignment: 8
23 # CHECK-OBJ: EntrySize: 24
24 # CHECK-OBJ: Relocations [
25 # CHECK-OBJ: ]
26 # CHECK-OBJ: SectionData (
27 # CHECK-OBJ: 0000: 00004005 02020001 00000000 00000000 |..@.............|
28 # CHECK-OBJ: 0010: 00000001 00000000 |........|
29 # CHECK-OBJ: )
30 # CHECK-OBJ-LABEL: }
32 .module fp=64
34 # FIXME: Test should include gnu_attributes directive when implemented.
35 # An explicit .gnu_attribute must be checked against the effective
36 # command line options and any inconsistencies reported via a warning.