1 # RUN: yaml2obj %s > %t
2 # RUN: llvm-readobj -A %t | FileCheck -check-prefix=OBJ %s
3 # RUN: obj2yaml %t | FileCheck -check-prefix=YAML %s
5 # OBJ: MIPS ABI Flags {
7 # OBJ-NEXT: ISA: MIPS64r5
8 # OBJ-NEXT: ISA Extension: Cavium Networks Octeon3 (0x13)
9 # OBJ-NEXT: ASEs [ (0x103)
11 # OBJ-NEXT: DSPR2 (0x2)
12 # OBJ-NEXT: VZ (0x100)
14 # OBJ-NEXT: FP ABI: Hard float (double precision) (0x1)
15 # OBJ-NEXT: GPR size: 64
16 # OBJ-NEXT: CPR1 size: 64
17 # OBJ-NEXT: CPR2 size: 0
18 # OBJ-NEXT: Flags 1 [ (0x1)
19 # OBJ-NEXT: ODDSPREG (0x1)
21 # OBJ-NEXT: Flags 2: 0x0
25 # YAML-NEXT: - Name: .MIPS.abiflags
26 # YAML-NEXT: Type: SHT_MIPS_ABIFLAGS
27 # YAML-NEXT: AddressAlign: 0x0000000000000008
28 # YAML-NEXT: EntSize: 0x0000000000000018
29 # YAML-NEXT: ISA: MIPS64
30 # YAML-NEXT: ISARevision: 0x05
31 # YAML-NEXT: ISAExtension: EXT_OCTEON3
32 # YAML-NEXT: ASEs: [ DSP, DSPR2, VIRT ]
33 # YAML-NEXT: FpABI: FP_DOUBLE
34 # YAML-NEXT: GPRSize: REG_64
35 # YAML-NEXT: CPR1Size: REG_64
36 # YAML-NEXT: Flags1: [ ODDSPREG ]
46 - Name: .MIPS.abiflags
47 Type: SHT_MIPS_ABIFLAGS
52 ISAExtension: EXT_OCTEON3
53 ASEs: [ DSP, DSPR2, VIRT ]
62 - Name: .MIPS.abiflags
64 Section: .MIPS.abiflags