Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-readobj / mips-st-other.test
blobc164004c14128e2a941e1cf67d5e046be91b99be
1 RUN: llvm-readobj --symbols %p/Inputs/st-other.obj.elf-mips \
2 RUN:   | FileCheck -check-prefix=MREG %s
3 RUN: llvm-readobj --symbols %p/Inputs/st-other.obj.elf-mips16 \
4 RUN:   | FileCheck -check-prefix=M16 %s
6 MREG:      Name: foo
7 MREG-NEXT: Value: 0x0
8 MREG-NEXT: Size: 0
9 MREG-NEXT: Binding: Global
10 MREG-NEXT: Type: None
11 MREG-NEXT: Other [ (0x29)
12 MREG-NEXT:   STO_MIPS_PIC (0x20)
13 MREG-NEXT:   STO_MIPS_PLT (0x8)
14 MREG-NEXT:   STV_INTERNAL (0x1)
15 MREG-NEXT: ]
17 M16:      Name: foo
18 M16-NEXT: Value: 0x0
19 M16-NEXT: Size: 0
20 M16-NEXT: Binding: Global
21 M16-NEXT: Type: None
22 M16-NEXT: Other [ (0xF1)
23 M16-NEXT:   STO_MIPS_MIPS16 (0xF0)
24 M16-NEXT:   STV_INTERNAL (0x1)
25 M16-NEXT: ]