mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-22 20:05:38 +00:00
b2d3b0af04
We use both -long-option and --long-option in tests. Switch to --long-option for consistency. In the "llvm-readelf" mode, -long-option is discouraged as it conflicts with grouped short options and it is not accepted by GNU readelf. While updating the tests, change llvm-readobj -s to llvm-readobj -S to reduce confusion ("s" is --section-headers in llvm-readobj but --symbols in llvm-readelf). llvm-svn: 359649
26 lines
665 B
Plaintext
26 lines
665 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: ]
|