mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-15 09:56:02 +00:00

.MIPS.options section specifies miscellaneous options to be applied to an object file. LLVM as well as modern versions of GNU tools emit the only type of the options - ODK_REGINFO. The patch teaches llvm-readobj to print details of the ODK_REGINFO and skip contents of other options. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268478 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
371 B
Plaintext
13 lines
371 B
Plaintext
RUN: llvm-readobj -mips-options %p/Inputs/options.obj.elf-mipsel | FileCheck %s
|
|
|
|
CHECK: MIPS Options {
|
|
CHECK-NEXT: ODK_REGINFO {
|
|
CHECK-NEXT: GP: 0x0
|
|
CHECK-NEXT: General Mask: 0xF2000017
|
|
CHECK-NEXT: Co-Proc Mask0: 0x0
|
|
CHECK-NEXT: Co-Proc Mask1: 0x0
|
|
CHECK-NEXT: Co-Proc Mask2: 0x0
|
|
CHECK-NEXT: Co-Proc Mask3: 0x0
|
|
CHECK-NEXT: }
|
|
CHECK-NEXT: }
|