llvm-project/llvm/test/tools/llvm-readobj/mips-st-other.test

26 lines
663 B
Plaintext

RUN: llvm-readobj -symbols %p/Inputs/st-other.obj.elf-mips \
RUN: | FileCheck -check-prefix=MREG %s
RUN: llvm-readobj -symbols %p/Inputs/st-other.obj.elf-mips16 \
RUN: | FileCheck -check-prefix=M16 %s
MREG: Name: foo
MREG-NEXT: Value: 0x0
MREG-NEXT: Size: 0
MREG-NEXT: Binding: Global
MREG-NEXT: Type: None
MREG-NEXT: Other [ (0x29)
MREG-NEXT: STO_MIPS_PIC (0x20)
MREG-NEXT: STO_MIPS_PLT (0x8)
MREG-NEXT: STV_INTERNAL (0x1)
MREG-NEXT: ]
M16: Name: foo
M16-NEXT: Value: 0x0
M16-NEXT: Size: 0
M16-NEXT: Binding: Global
M16-NEXT: Type: None
M16-NEXT: Other [ (0xF1)
M16-NEXT: STO_MIPS_MIPS16 (0xF0)
M16-NEXT: STV_INTERNAL (0x1)
M16-NEXT: ]