mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-13 23:18:51 +00:00
ef7c2568fa
This change adds new flag -mips-abi-flags to the llvm-readobj. This flag forces printing of .MIPS.abiflags section content. https://dmz-portal.mips.com/wiki/MIPS_O32_ABI_-_FR0_and_FR1_Interlinking#10.2.1._.MIPS.abiflags git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236737 91177308-0d34-0410-b5e6-96231b3b80d8
43 lines
1.2 KiB
Plaintext
43 lines
1.2 KiB
Plaintext
RUN: llvm-readobj -mips-abi-flags %p/Inputs/abiflags.obj.elf-mipsel | \
|
|
RUN: FileCheck -check-prefix=EL64 %s
|
|
RUN: llvm-readobj -mips-abi-flags %p/Inputs/abiflags.obj.elf-mips | \
|
|
RUN: FileCheck -check-prefix=BE32 %s
|
|
|
|
EL64: MIPS ABI Flags {
|
|
EL64-NEXT: Version: 0
|
|
EL64-NEXT: ISA: MIPS64r5
|
|
EL64-NEXT: ISA Extension: Cavium Networks Octeon3 (0x13)
|
|
EL64-NEXT: ASEs [ (0x103)
|
|
EL64-NEXT: DSP (0x1)
|
|
EL64-NEXT: DSPR2 (0x2)
|
|
EL64-NEXT: VZ (0x100)
|
|
EL64-NEXT: ]
|
|
EL64-NEXT: FP ABI: Hard float (double precision) (0x1)
|
|
EL64-NEXT: GPR size: 64
|
|
EL64-NEXT: CPR1 size: 64
|
|
EL64-NEXT: CPR2 size: 0
|
|
EL64-NEXT: Flags 1 [ (0x1)
|
|
EL64-NEXT: ODDSPREG (0x1)
|
|
EL64-NEXT: ]
|
|
EL64-NEXT: Flags 2: 0x0
|
|
EL64-NEXT: }
|
|
|
|
BE32: MIPS ABI Flags {
|
|
BE32-NEXT: Version: 0
|
|
BE32-NEXT: ISA: MIPS32r2
|
|
BE32-NEXT: ISA Extension: None (0x0)
|
|
BE32-NEXT: ASEs [ (0x803)
|
|
BE32-NEXT: DSP (0x1)
|
|
BE32-NEXT: DSPR2 (0x2)
|
|
BE32-NEXT: microMIPS (0x800)
|
|
BE32-NEXT: ]
|
|
BE32-NEXT: FP ABI: Soft float (0x3)
|
|
BE32-NEXT: GPR size: 32
|
|
BE32-NEXT: CPR1 size: 0
|
|
BE32-NEXT: CPR2 size: 0
|
|
BE32-NEXT: Flags 1 [ (0x1)
|
|
BE32-NEXT: ODDSPREG (0x1)
|
|
BE32-NEXT: ]
|
|
BE32-NEXT: Flags 2: 0x0
|
|
BE32-NEXT: }
|